3.3. User Defined Materials¶
See Also
Overview¶
Matmodlab calls user defined materials at each deformation increment through all analysis steps. User defined materials are
- written in fortran or python
- called from python
Material Model API¶
Two API’s are provided for interfacing user developed materials with Matmodlab:
- Python API. Material models are implemented as subclasses of MaterialModel,
- Fortran API. Similar to commercial finite element codes, material models are implemented in Fortran subroutines that are compiled, linked, and called by Matmodlab.
Auxiliary Subroutines¶
Fortran subroutines can set initial conditions and interact with Matmodlab as described in the following sections: