This project aims at providing tools (functions, classes, bindings,
etc…) to handle behaviours written using MFront generic
interface. For information about MFront, see http://thelfer.github.io/tfel/web/index.html.
Those tools are meant to be used by (FEM,
FFT, etc.) solver developers. Permissive licences have been
chosen to allow integration in open-source and proprietary codes:
MGIS is distributed under either the LGPL v3
licence or the CeCILL-C licence.
By default, MGIS looks for the TFEL
libraries and, if they are found, is linked to the TFELMath
and TFELMFrontDatabase libraries, which provide the
TFEL/Math objects of MGIS/Function and the
MFront database (mgis::getDatabase and
mgis::behaviour::loadFromDatabase). Those libraries are
distributed under either the GPL licence with a linking
exception or the CeCILL-A licence. Passing
-Ddisable-tfel=ON to cmake builds a library
independent of TFEL.
MFrontGenericInterface C++ libraryThe project is build around the MFrontGenericInterface
library. This library provides two main functions:
mgis::behaviour::load functions loads
MFront behaviours from external shared libraries and
retrieve all relevant meta data function. Those relevant information are
stored in the mgis::behaviour::Behaviour class.mgis::behaviour::integrate integrates the behaviour
over one time step. The data associated with an integration point are
handled by the mgis::behaviour::BehaviourData class which
contains the state of the integration point at the beginning and at the
end of the time step.The library also supports handling a group of integration points
though the mgis::behaviour::MaterialStateManager class.
An introduction to the C++ library may be found here
MGIS or in which MGIS can be
coupledcode-asterOpenGeoSys.
See this talk
for details.FEniCS.
Coupling with FEniCS can be made using the
python bindings (See this talk
and this tutorial
for details). However, we recommend using the higher level mgis.fenics module.MFEM through the MFEM-MGIS.
See this
talk for details.MoFEM.
See this
talk for details.EuroplexusXPer. See this talk
for details.MBDyn. See this demo.MANTA developed at CEA
(Jamond et al.
2022).JuliaFEM through
the MFrontInterface.jl
package.Kratos Multiphysics
through the experimental MGISApplicationMGIS and the DUNE platform is
available here.The following bindings are available:
c bindingpython binding: this binding also provide an interface
to FEniCS which is discussed here along with a collection of commented
demosfortran bindingThe following bindings are under consideration:
octave bindingmaster branch follows the evolution of the
master branch of the TFEL projectrliv-1.1 follows the evolution of the 3.3.x series
of the TFEL project.rliv-1.0 follows the evolution of the 3.2.x series
of the TFEL project. Note that this branch is
not compatible with TFEL-3.2.0.This project uses code extracted from the following projects: