To tell Bil to account for a new model, you just need to create a new file, e.g. my_model.c, in the folder ModelFiles and add the basename of this file, namely my_model, to the list of the available models found in ListOfModels.inc. This model will be taken into account automatically the next time binary files will be created.
To help you in creating this new file, it is recommended to learn from already existing files. This file should contain at least the 11 methods of the Model class-like structure. These methods are listed in the table below.
method | description |
SetModelProp | Set the model properties |
ReadMatProp | Read the material properties |
PrintModelProp | Print the model properties |
DefineElementProp | Define some properties of the element. |
ComputeInitialState | Compute the initial state |
ComputeExplicitTerms | Compute the explicit terms |
ComputeMatrix | Compute the matrix |
ComputeResidu | Compute the residu |
ComputeLoads | Compute the loads |
ComputeImplicitTerms | Compute the implicit terms |
ComputeOutputs | Compute the outputs |