A user-defined material created with MFront can be used if MGIS is installed
(https://github.com/thelfer/MFrontGenericInterfaceSupport) and linked to OOFEM with cmake before the
compilation. Run cmake with following flags and specify the location of the MGIS cmake files: -DUSE_MFRONT=ON -DMFrontGenericInterface_DIR=/path/to/mgis/cmake/
Once OOFEM is compiled with this setting, the file /tests/smmfront/mfront01.in will be included in the tests. It
requires the file
/tests/smmfront/plasticityIsotropicLinearHardeningPlasticity.mfront to be processed by MFront before the tests are
run.
See /tests/smmfront/readme_install.txt for more detailed instructions.
| Description | MFrontUserMaterial allows use of user-defined material models based on MFront |
| Record Format | MFrontUserMaterial d(rn) # modelname(s) # libpath(s) # properties(dc) # |
| Parameters | - num material model number |
| - d specific weight | |
| - modelname name of the material model from the shared library to be used |
|
| - libpath path to the shared library of the material created with MFront |
|
| - properties are not used now, which yields in ”properties 0” on input for now |
|
| Supported modes | 3dMat |