The TFELSystem library provide several functionalities
to retrieve metada about material properties and behaviours generated by
MFront. This functionalities are also available in
python thanks to the tfel.system module.
Such functionalities are helpful for creating tools interacting with
shared libraries generated by MFront. Examples of such
tools are:
MTest, which is build on top
of the TFELMTest library. For python, the mtest module is also
available.mfmtfel-plot.tfel-editor.Those functionalities are already used by several solvers to easily
integrate material properties and behaviours generated by
MFront, such as:
Notes for propriary software
The
TFELSystemlibrary is released under theGPLlicence. TheMGISproject provides similar features under theLGPLlicence but is focused on thegenericinterface.
TFEL/System
libraryThis page mostly discusses four classes:
ExternalLibraryManager class provides a low level
API to retrieve individual data.ExternalMaterialKnowledgeDescription, which is
built on top of the ExternalLibraryManager class, gathers
generic metadata about a material property or a behaviour.ExternalMaterialPropertyDescription, which is built
on top of the ExternalLibraryManager class and inherits
from the ExternalMaterialKnowledgeDescription class,
gathers generic metadata about a material property.ExternalBehaviourDescription, which is also built
on top of the ExternalLibraryManager class and also
inherits from the ExternalMaterialKnowledgeDescription
class, gathers generic metadata about a behaviour.About the
mtest::BehaviourclassThe
ExternalBehaviourDescriptionreads general information about the behaviours but don’t take into account specificities related to interfaces or modelling hypothesis.The
mtest::Behaviourclass, which takes the interface and the modelling hypothesis into account, do provide a much more reliable way retrieving information about a mechanical behaviour
ExternalMaterialKnowledgeDescription classExternalMaterialKnowledgeDescription classThe ExternalMaterialKnowledgeDescription gathers
information exported by MFront about an entry point
(material property or behaviour). This class has been introduced as a
base class for the ExternalMaterialPropertyDescription and
ExternalBehaviourDescription classes.
This class exposes the following data members:
library: the name of the libraryentry_point: the name of the entry pointtfel_version: the version of TFEL used to generate the
entry pointbuild_id: the build identifier (if any)source: the MFront source filemfront_interface: the name of the interface used to
generate the entry point.material: the name of the material, as introduced by
the @Material keyword in MFront.author: the author of the implementation, as introduced
by the @Author keyword in MFront.date: the date of the implementation, as introduced by
the @Date keyword in MFront.description: the description of the entry point, as
introduced by the @Description keyword in
MFront.ExternalMaterialPropertyDescription classExternalMaterialPropertyDescription classThe ExternalMaterialPropertyDescription gathers the
information about a material property generated by MFront.
It inherits from the ExternalMaterialKnowledgeDescription
class.
ExternalBehaviourDescription classExternalBehaviourDescription classExternalLibraryManager classExternalLibraryManager class