TFEL, MFront and MTestMFront
mtest
mfront-query
--generated-headers query--generated-headers is inconsistent with the
--generated-sources queryGursonTvergaardNeedleman model in the
StandardElastoViscoPlasticity brickOverridableImplementation does not take into account
overriden parameterscstddef header in
MFront/GenericBehaviour/Types.hmadnex file on the command
line--all-material-properties,
--all-behaviours, --all-models to the
parsePathSpecifierArguments function for consistency with
mfront--list-material-properties, --list-behaviours
and --list-models queries--list-materials query.mdnx file extension for madnex
files--dsl-target option--has-model-query option enhancement--quiet-failure optionThe page describes the new functionalities of Version 3.4.4 of the
TFEL project.
Version 3.4.4 has been released on October, 24th 2022. It inherits from all the issues fixes in:
MFrontDeclaration of variables in the MaterialLaw DSL is more
restrictive: they they must now be defined before the
@Function keyword.
The same restriction apply to the declaration of external names (glossary or entry names).
MFrontmadnex filemfront, mfront-query and
mfront-doc now allow to select a specific material
knowledge inside a madnex file using the following
syntax:
madnex:<file>:<type>:<material>:<name>where:
<file> is the path to the madnex
file.<type> is the type of the material knowledge
(material_property, behaviour or
model).<material> is the name of the material
considered. This name can be empty or <none> if the
considered material knowledge is not associated to a material.<name> is the name of theconsidered material
knowledge.$ mfront --obuild --interface=generic madnex:Plasticity.mdnx:behaviour::Plasticityor, equivalently:
$ mfront --obuild --interface=generic madnex:Plasticity.mdnx:behaviour:"<none>":PlasticitymtestPTest now supports imposing the evolution of the inner
radius of the pipe.
The following code shows how to impose the evolution of the inner radius of the pipe:
@RadialLoading 'ImposedInnerRadius';
@InnerRadiusEvolution{0 : 4.2e-3, 1 : 4.3e-3};mfront-query--list-implementation-paths queryThe --list-implementation-paths query returns explicit
paths to material knowledge in a madnex file. This query
has two options:
sorted-by-files (default): the implementations paths
are preceded by the madnex file name.unsorted: the implementations paths are not preceded by
the madnex file name.$ mfront-query --list-implementation-paths=unsorted --all-behaviours Plasticity.mdnx
madnex:Plasticity.mdnx:behaviour::PlasticitySee also Section 2.1.
--list-materials queryThe --list-materials returns the list of materials for
which material knowledge is defined inside a madnex file.
If a material knowledge is not associated to a material, the special
identifier <none> is returned.
--list-material-properties queryThe --list-material-properties query can now have an
option:
sorted-by-materials (default): which returns the
material properties sorted by materialsunsorted: which returns all the material properties to
be generated--list-behaviours queryThe --list-behaviours query can now have an option:
sorted-by-materials (default): which returns the
behaviours sorted by materialsunsorted: which returns all the behaviours to be
generated--list-models queryThe --list-models query can now have an option:
sorted-by-materials (default): which returns the models
sorted by materialsunsorted: which returns all the models to be
generated--generated-sources queryThe --generated-sources query can now have an
option:
sorted-by-libraries (default): which returns the
sources to be generated associated with each libraryunsorted: which returns all the sources to be
generatedThis option may be used in conjunction with the --nomelt
option.
mfront-query now have two new queries:
--specific-target-generated-sources which allows to
retrieve the sources generated by a specific target--all-specific-targets-generated-source, which displays
all the sources associated with specific targetsBy default, all sources associated with libraries dependencies of the
specific targets are also displayed, unless the --nomelt
command line argument is used.
--generated-headers queryFor more details, see : https://github.com/thelfer/tfel/issues/311
--generated-headers is inconsistent with the
--generated-sources queryFor more details, see : https://github.com/thelfer/tfel/issues/310
GursonTvergaardNeedleman model in the
StandardElastoViscoPlasticity brickIn the code (and the documentation), the ultimate value of the effective porosity (corresponding to the value of porosity for which the stress is equal to zero according to the yield criterion) is defined as: \[ f_{u} = \Frac{1}{q_1}, \], which is true only for \(q_3 = q_1^2\). In the current implementation, taking \(q_3\) different from \(q_1^2\) may lead to divergence. In the general case, the ultimate porosity is the root of: \[ 2 * q_1 * f -1 -q_3 * f^{2}. \]
For more details, see : https://github.com/thelfer/tfel/issues/277
For more details, see : https://github.com/thelfer/tfel/issues/228
For more details, see : https://github.com/thelfer/tfel/issues/227
OverridableImplementation does not take into account
overriden parametersFor more details, see : https://github.com/thelfer/tfel/issues/212
cstddef header in
MFront/GenericBehaviour/Types.hFor more details, see : https://github.com/thelfer/tfel/issues/185
For more details, see : https://github.com/thelfer/tfel/issues/131
This feature is described in Section 4.1
For more details, see : https://github.com/thelfer/tfel/issues/98
madnex file on the command lineThis feature is described in Section 2.1.
For more details, see : https://github.com/thelfer/tfel/issues/97
--all-material-properties,
--all-behaviours, --all-models to the
parsePathSpecifierArguments function for consistency with
mfrontFor more details, see : https://github.com/thelfer/tfel/issues/96
--list-material-properties, --list-behaviours
and --list-models queriesTheses features are described in Sections 4.3, 4.4 and 4.5.
For more details, see : https://github.com/thelfer/tfel/issues/87
--list-materials queryThis feature is described in Section 4.2.
For more details, see : https://github.com/thelfer/tfel/issues/86
.mdnx file extension for madnex
filesFor more details, see : https://github.com/thelfer/tfel/issues/85
--dsl-target optionmfront-query now have --dsl-target option
which returns the kind of material knowledge described by a file
(material property, behaviour, or model).
For more details, see https://github.com/thelfer/tfel/issues/68.
--has-model-query option enhancementmfront-query now have --has-model-query
option that can be used as follows:
$ mfront-query --has-model-query=class-nameFor more details, see https://github.com/thelfer/tfel/issues/67.
  ## Issue #66: [mfront-query] Add a
--has-material-property-query option enhancement
mfront-query now have
--has-material-property-query option that can be used as
follows:
$ mfront-query --has-material-property-query=class-name For more details, see https://github.com/thelfer/tfel/issues/66.
 ## Issue #65: [mfront-query] Add a
--has-behaviour-query option enhancement
mfront-query now have --has-behaviour-query
option that can be used as follows:
$ mfront-query --has-behaviour-query=class-nameFor more details, see https://github.com/thelfer/tfel/issues/65.
mfront-query now has a --class-name query
which works for material properties, behaviours and models.
For more details, see https://github.com/thelfer/tfel/issues/64.
mfront-query now has:
--law-name query for material properties.--behaviour-name query for behaviours.--model-name query for models.For more details, see https://github.com/thelfer/tfel/issues/63.
--quiet-failure optionIn case of errors, tfel-config with the the
--quiet-failure option just fails without displaying all
the available options nor error message.
For more details, see https://github.com/thelfer/tfel/issues/62.
By default, the generated markdown uses a section to describe a
behaviour. Using the --standalone option,
mfront-doc generates a standalone document.
For more details, see https://github.com/thelfer/tfel/issues/59.
See Section 4.7 for a description of the
--specific-target-generated-sources and
--all-specific-targets-generated-source queries.
For more details, see https://github.com/thelfer/tfel/issues/49.
See Section 4.6 for a description of the new features of the
--generated-sources query.
For more details, see https://github.com/thelfer/tfel/issues/40.
When specifying -DBUILD_SHARED_LIBS=OFF (for CMake-based
builds only) all libraries except of modules are build as static
libraries. This allows for easier deployment of downstream applications
which use TFEL / MFront.
Also added the CMake-option enable-testing (defaults to
ON) to disable all tests to speed-up compilation times.
For more details, see https://github.com/thelfer/tfel/pull/217.