|
tfel
|
This namespace contains material used to build the MTest tool. More...
Classes | |
| struct | AbaqusExplicitBehaviour |
| struct | AbaqusFiniteStrainBehaviour |
| struct | AbaqusSmallStrainBehaviour |
| struct | AbaqusStandardBehaviour |
| struct | AccelerationAlgorithm |
| abstract class for acceleration algorithm. More... | |
| struct | AccelerationAlgorithmFactory |
| struct | Alternate2DeltaAccelerationAlgorithm |
| This class implements the secant acceleration algorithm. More... | |
| struct | AlternateDelta2AccelerationAlgorithm |
| This class implements the secant acceleration algorithm. More... | |
| struct | AlternateSecantAccelerationAlgorithm |
| This class implements the secant acceleration algorithm. More... | |
| struct | AnalyticalTest |
| struct | AnsysFiniteStrainBehaviour |
| struct | AnsysNormaliseTangentOperator |
| normalise the tangent operator returned by: ANSYS usermat behaviours More... | |
| struct | AnsysSmallStrainBehaviour |
| struct | AnsysStandardBehaviour |
| a class to handle mechanical beheaviours written using the ansys interface More... | |
| struct | AsterCohesiveZoneModel |
| struct | AsterFiniteStrainBehaviour |
| struct | AsterLogarithmicStrainBehaviourWrapper |
| behaviour wrapper used to handle behaviours using the logarithmic strain framework. The wrapped behaviour appears as a standard finite strain behaviour to MTest. More... | |
| struct | AsterSmallStrainBehaviour |
| struct | AsterStandardBehaviour |
| struct | Behaviour |
| a simple wrapper around mechanical behaviours More... | |
| struct | BehaviourWorkSpace |
| struct | BehaviourWrapperBase |
| a simple helper class to build wrapper around mechanical behaviours. More... | |
| struct | CalculiXFiniteStrainBehaviour |
| struct | CalculiXSmallStrainBehaviour |
| struct | CalculiXStandardBehaviour |
| struct | CastemAccelerationAlgorithm |
| This class implements the Cast3M acceleration algorithm. More... | |
| struct | CastemCohesiveZoneModel |
| a class to handle cohesive zone models written using the umat interface of the Cast3M finite element solver. More... | |
| struct | CastemEvolution |
| An evolution defined by a castem fonction. More... | |
| struct | CastemFiniteStrainBehaviour |
| A class to handle mechanical beheaviours written using the umat interface of the Cast3M finite element solver. This class is based on the legacy version of the Cast3M interface. More... | |
| struct | Castem21FiniteStrainBehaviour |
| a class to handle mechanical beheaviours written using the umat interface of the Cast3M finite element solver for Cast3M versions greater than 2021 More... | |
| struct | CastemFiniteStrainBehaviour2 |
| a class to handle finite strain mechanical beheaviours written using the castem interface based on the ETO/PK1 kinematic. This class is based on the legacy version of the Cast3M interface. More... | |
| struct | Castem21FiniteStrainBehaviour2 |
| a class to handle mechanical beheaviours written using the umat interface of the Cast3M finite element solver based on the ETO/PK1 kinematic for Cast3M versions greater than 2021. More... | |
| struct | CastemMaterialProperty |
| material property based on the Cast3M interface More... | |
| struct | CastemModel |
| a class to handle cohesive zone models written using the umat interface of the Cast3M finite element solver. More... | |
| struct | CastemSmallStrainBehaviour |
| A class to handle mechanical beheaviours written using the umat interface of the Cast3M finite element solver. This class is based on the legacy version of the Cast3M interface. More... | |
| struct | Castem21SmallStrainBehaviour |
| a class to handle mechanical beheaviours written using the umat interface of the Cast3M finite element solver for Cast3M versions greater than 2021. More... | |
| struct | CastemStandardBehaviour |
| a class to handle mechanical beheaviours written using the umat interface of the Cast3M finite element solver. More... | |
| struct | CastemUmatFiniteStrainBehaviour |
| struct | CastemUmatSmallStrainBehaviour |
| struct | CastemUmatStandardBehaviour |
| struct | ConstraintOptions |
| a structure containing constraint' options More... | |
| struct | Constraint |
| Abstract class for all the constraints imposed to a single mechanical point. More... | |
| struct | ConstraintBase |
| Base class for the constraints imposed to a single mechanical point which handles all the details about the active state and associated events. More... | |
| struct | Crossed2DeltaAccelerationAlgorithm |
| This class implements the secant acceleration algorithm. More... | |
| struct | Crossed2DeltabisAccelerationAlgorithm |
| This class implements the secant acceleration algorithm. More... | |
| struct | CrossedDelta2AccelerationAlgorithm |
| This class implements the secant acceleration algorithm. More... | |
| struct | CrossedSecantAccelerationAlgorithm |
| This class implements the secant acceleration algorithm. More... | |
| struct | CurrentState |
| structure containing the state of the material. More... | |
| struct | CyranoBehaviour |
| struct | CyranoEvolution |
| an evolution defined by a cyrano material property More... | |
| struct | CyranoMaterialProperty |
| material property based on the Cyrano interface More... | |
| struct | DianaFEASmallStrainBehaviour |
| a class to handle mechanical beheaviours written using the DianaFEA interface More... | |
| struct | Evolution |
| base class for evolutions of external variables More... | |
| struct | ConstantEvolution |
| struct | LPIEvolution |
| a linear per interval evolution More... | |
| struct | FAndersonAccelerationAlgorithm |
| This class implements the Cast3M acceleration algorithm. More... | |
| struct | FunctionEvolution |
| struct | GasEquationOfState |
| struct | GenericBehaviour |
| A class to handle mechanical beheaviours written using the generic behaviour interface. More... | |
| struct | GenericEvolution |
| an evolution defined by a cyrano material property More... | |
| struct | GenericMaterialProperty |
| material property based on the generic interface More... | |
| struct | GenericSolver |
| struct | ImposedGradient |
| struct | ImposedThermodynamicForce |
| Impose the value of a thermodynamic force component. More... | |
| struct | IronsTuckAccelerationAlgorithm |
| This class implements the Irons-Tuck acceleration algorithm. More... | |
| struct | LogarithmicStrain1DBehaviourWrapper |
| a simple wrapper around a small strain behaviour which turns a small strain behaviour into a finite strain behaviour in the logarithmic strain framework using the ETO-PK1 kinematic assumption under the axisymmetrical generalised plane strain modelling hypothesis. More... | |
| struct | MaterialProperty |
| base class for material properties More... | |
| struct | MaterialPropertyBase |
| a base class for material properties. More... | |
| struct | MistralBehaviour |
| struct | MTest |
| MTest is a simple class to test mfront behaviours. More... | |
| struct | TestDescription |
| structure describing an MTest file to be exported More... | |
| struct | MTestParser |
| class used to parse MTest file. More... | |
| struct | NonLinearConstraint |
| Impose a contraint on the driving variables. More... | |
| struct | OxidationStatusEvolution |
| structure in charge of representing the evolution of the oxidation status. More... | |
| struct | PipeCubicElement |
| structure describing a cubic element for pipes More... | |
| struct | PipeFailureCriteriaFactory |
| factory associated with failure criteria More... | |
| struct | PipeFailureCriterion |
| abstract class for all failure criteria More... | |
| struct | PipeLinearElement |
| structure describing a linear element for pipes More... | |
| struct | PipeMesh |
| structure describing the pipe mesh More... | |
| struct | PipeProfile |
| struct | PipeStressProfile |
| struct | PipeStrainProfile |
| struct | PipeInternalStateVariableProfile |
| struct | PipeProfileHandler |
| struct | PipeQuadraticElement |
| structure describing a quadratic element for pipes More... | |
| struct | PipeTest |
| a study describing mechanical tests on pipes More... | |
| struct | PipeTestParser |
| struct | ReferenceFileComparisonTest |
| Test based on the comparison of the solution to a reference file. More... | |
| struct | Scheme |
| a scheme describe a specific kind of computation. More... | |
| struct | SchemeBase |
| struct | SchemeParserBase |
| struct | SecantAccelerationAlgorithm |
| This class implements the secant acceleration algorithm. More... | |
| struct | SingleStructureScheme |
| base class for schemes describing a single structure More... | |
| struct | SingleStructureSchemeParser |
| struct | SmallStrainTridimensionalBehaviourWrapper |
| a wrapper around a small strain tridimensional behaviour to restrict it to a given modelling hypothesis. More... | |
| struct | Solver |
| struct | SolverOptions |
| struct | SolverWorkSpace |
| struct | StandardBehaviourDescription |
| a class gathering all the relevant information about an Umat behaviour. More... | |
| struct | StandardBehaviourBase |
| A class to handle standard mechanical behaviours. More... | |
| struct | SteffensenAccelerationAlgorithm |
| This class implements the Steffensen acceleration algorithm. More... | |
| struct | StructureCurrentState |
| data structure containing the state of a mechanical structure. More... | |
| struct | Study |
| abstract class describing a physical system More... | |
| struct | StudyCurrentState |
| structure describing the current state of a study More... | |
| struct | UAndersonAccelerationAlgorithm |
| This class implements the Cast3M acceleration algorithm. More... | |
| struct | UmatNormaliseTangentOperator |
| normalise the tangent operator returned by: More... | |
| struct | UserDefinedPostProcessing |
| class handling a user defined postprocessing More... | |
Typedefs | |
| using | PackagingInfo |
| an helper structure used to store information for the packaging step | |
| using | StudyParameter = tfel::utilities::GenType<bool, real, std::string> |
| using | real = double |
| a simple alias | |
| using | EvolutionPtr = std::shared_ptr<Evolution> |
| a simple alias | |
| using | EvolutionManager = std::map<std::string, EvolutionPtr> |
| a simple alias | |
Enumerations | |
| enum struct | CastemInterfaceVersion { LEGACY_CASTEM_INTERFACE_VERSION , CASTEM_INTERFACE_VERSION_2021 } |
| describe the version of the interface used More... | |
| enum struct | StiffnessMatrixType { NOSTIFFNESS , ELASTIC , SECANTOPERATOR , TANGENTOPERATOR , CONSISTENTTANGENTOPERATOR , ELASTICSTIFNESSFROMMATERIALPROPERTIES , UNSPECIFIEDSTIFFNESSMATRIXTYPE } |
| possible type of stiffness matrix More... | |
| enum struct | StiffnessUpdatingPolicy { CONSTANTSTIFFNESS , CONSTANTSTIFFNESSBYPERIOD , UPDATEDSTIFFNESSMATRIX , UNSPECIFIEDSTIFFNESSUPDATINGPOLICY } |
| possible algorithms used for global convergence to update the stiffness matrix More... | |
| enum struct | PredictionPolicy { NOPREDICTION , LINEARPREDICTION , ELASTICPREDICTION , ELASTICPREDICTIONFROMMATERIALPROPERTIES , SECANTOPERATORPREDICTION , TANGENTOPERATORPREDICTION , UNSPECIFIEDPREDICTIONPOLICY } |
| possible prediction policies | |
Functions | |
| MTEST_VISIBILITY_EXPORT bool | isBehaviourVariable (const Behaviour &, const std::string &) |
| MTEST_VISIBILITY_EXPORT std::function< real(const CurrentState &)> | buildValueExtractor (const Behaviour &, const std::string &) |
| MTEST_VISIBILITY_EXPORT bool | isScalarVariableType (const int) |
| MTEST_VISIBILITY_EXPORT size_t | getVariableSize (const int, const Behaviour::Hypothesis) |
| MTEST_VISIBILITY_EXPORT size_t | getVariablesSize (const std::vector< int > &, const Behaviour::Hypothesis) |
| MTEST_VISIBILITY_EXPORT std::vector< std::string > | getVariableComponents (const Behaviour &, const std::string &, const int) |
| return the components of a variable | |
| MTEST_VISIBILITY_EXPORT void | applyConstraintOptions (Constraint &, const ConstraintOptions &) |
| apply options to the given constraint | |
| MTEST_VISIBILITY_EXPORT void | computeMaterialProperties (CurrentState &, const EvolutionManager &, const EvolutionManager &, const std::vector< std::string > &, const real, const real) |
| compute the external state variables for the current time step | |
| MTEST_VISIBILITY_EXPORT void | computeExternalStateVariables (CurrentState &, const EvolutionManager &, const std::vector< std::string > &, const real, const real) |
| compute the external state variables for the current time step | |
| MTEST_VISIBILITY_EXPORT void | computeThermalExpansion (CurrentState &, const EvolutionManager &, const real, const real) |
| compute the thermal expansion (orthotropic case) | |
| MTEST_VISIBILITY_EXPORT void | computeThermalExpansion (CurrentState &, const EvolutionManager &, const real, const real, const unsigned short) |
| compute the thermal expansion (orthotropic case) | |
| MTEST_VISIBILITY_EXPORT void | computeThermalExpansion (CurrentState &, const EvolutionManager &, const real, const real, const tfel::material::ModellingHypothesis::Hypothesis) |
| compute the thermal expansion (orthotropic case) | |
| MTEST_VISIBILITY_EXPORT void | update (CurrentState &) |
| update the state for the next time step | |
| MTEST_VISIBILITY_EXPORT void | revert (CurrentState &) |
| revert the state to the beginning of the time step | |
| MTEST_VISIBILITY_EXPORT void | setInternalStateVariableValue (CurrentState &, const std::string &, const real) |
| set the value of a scalar internal state variable | |
| MTEST_VISIBILITY_EXPORT void | setInternalStateVariableValue (CurrentState &, const std::string &, const std::vector< real > &) |
| set the value of an internal state variable | |
| MTEST_VISIBILITY_EXPORT void | setInternalStateVariableValue (CurrentState &, const std::string &, const real, const int) |
| set the value of a scalar internal state variable | |
| MTEST_VISIBILITY_EXPORT void | setInternalStateVariableValue (CurrentState &, const std::string &, const std::vector< real > &, const int) |
| set the value of an internal state variable | |
| MTEST_VISIBILITY_EXPORT std::shared_ptr< Evolution > | make_evolution (const real) |
| build a constant evolution from a real value | |
| MTEST_VISIBILITY_EXPORT std::shared_ptr< Evolution > | make_evolution (const std::map< real, real > &) |
| build a linear per interval evolution from a map associating a time and a value. | |
| MTEST_VISIBILITY_EXPORT std::shared_ptr< tfel::math::parser::ExternalFunctionManager > | buildExternalFunctionManagerFromConstantEvolutions (const EvolutionManager &) |
| MTEST_VISIBILITY_EXPORT void | checkIfDeclared (const std::vector< std::string > &, const EvolutionManager &, const std::string &) |
| check if evolutions with given names have been declared | |
| MTEST_VISIBILITY_EXPORT void | checkIfDeclared (const std::vector< std::string > &, const EvolutionManager &, const EvolutionManager &, const std::string &) |
| check if evolutions with given names have been declared | |
| MTEST_VISIBILITY_EXPORT real | getValue (MaterialProperty &, const std::map< std::string, real > &, const bool=false) |
| MTEST_VISIBILITY_EXPORT real | getValue (MaterialProperty &, const std::vector< real > &) |
| MTEST_VISIBILITY_EXPORT real | getValue (MaterialProperty &, const real) |
| MTEST_VISIBILITY_EXPORT real | getValue (MaterialProperty &) |
| MTEST_VISIBILITY_EXPORT void | loadMTestFileContent (TestDescription &, const std::string &) |
| load the content of an MTest file. | |
| MTEST_VISIBILITY_EXPORT void | write (const TestDescription &, const std::string &) |
| write an MTest test to a file. | |
| MTEST_VISIBILITY_EXPORT void | setRoundingMode (const std::string &) |
| set the rounding mode to the specified mode | |
| MTEST_VISIBILITY_EXPORT void | setRoundingMode () |
| set the rounding mode according to currently selected rounding mode. | |
| MTEST_VISIBILITY_EXPORT void | initialize (SolverWorkSpace &, const SolverWorkSpace::size_type) |
| MTEST_VISIBILITY_EXPORT void | update (StructureCurrentState &) |
| update the state: values at the end of the time step becomes the values at the beginning of the next time step | |
| MTEST_VISIBILITY_EXPORT void | revert (StructureCurrentState &) |
| revert the state: values at the end of the time step are set equal to the values at the beginning of the next time step | |
| MTEST_VISIBILITY_EXPORT std::vector< double > | eval (const tfel::utilities::TextData &, const EvolutionManager &, const std::string &) |
| extract the values of the a TextData object using a specified formulae | |
This namespace contains material used to build the MTest tool.
| using mtest::PackagingInfo |
an helper structure used to store information for the packaging step
|
strong |
|
strong |
|
strong |
possible algorithms used for global convergence to update the stiffness matrix
| MTEST_VISIBILITY_EXPORT void mtest::applyConstraintOptions | ( | Constraint & | , |
| const ConstraintOptions & | ) |
apply options to the given constraint
| [in] | c | constraints |
| [in] | o | options |
| MTEST_VISIBILITY_EXPORT std::shared_ptr< tfel::math::parser::ExternalFunctionManager > mtest::buildExternalFunctionManagerFromConstantEvolutions | ( | const EvolutionManager & | ) |
| [in] | evm | evolution manager |
| MTEST_VISIBILITY_EXPORT std::function< real(const CurrentState &)> mtest::buildValueExtractor | ( | const Behaviour & | , |
| const std::string & | ) |
| [in] | b | behaviour |
| [in] | n | variable name |
| MTEST_VISIBILITY_EXPORT void mtest::computeExternalStateVariables | ( | CurrentState & | , |
| const EvolutionManager & | , | ||
| const std::vector< std::string > & | , | ||
| const real | , | ||
| const real | ) |
compute the external state variables for the current time step
| [out] | s | : state |
| [in] | evm | : evolution manager |
| [in] | esvnames | : external state variables names |
| [in] | t | : time at the beginning of the time step |
| [in] | dt | : time increment |
| MTEST_VISIBILITY_EXPORT void mtest::computeMaterialProperties | ( | CurrentState & | , |
| const EvolutionManager & | , | ||
| const EvolutionManager & | , | ||
| const std::vector< std::string > & | , | ||
| const real | , | ||
| const real | ) |
compute the external state variables for the current time step
| [out] | s | : state |
| [in] | evm | : evolution manager |
| [in] | dvm | : default material properties value |
| [in] | mpnames | : material properties names |
| [in] | t | : time at the beginning of the time step |
| [in] | dt | : time increment |
| MTEST_VISIBILITY_EXPORT void mtest::computeThermalExpansion | ( | CurrentState & | , |
| const EvolutionManager & | , | ||
| const real | , | ||
| const real | , | ||
| const tfel::material::ModellingHypothesis::Hypothesis | ) |
compute the thermal expansion (orthotropic case)
In plane stress, the third thermal expansion coefficient is optional: if it is not defined, the out-of-plane thermal strain is null.
| MTEST_VISIBILITY_EXPORT std::vector< double > mtest::eval | ( | const tfel::utilities::TextData & | , |
| const EvolutionManager & | , | ||
| const std::string & | ) |
extract the values of the a TextData object using a specified formulae
| [in] | d | data |
| [in] | m | evolution manager |
| [in] | f | formulae |
| MTEST_VISIBILITY_EXPORT real mtest::getValue | ( | MaterialProperty & | ) |
| [in] | mp | material property |
| MTEST_VISIBILITY_EXPORT real mtest::getValue | ( | MaterialProperty & | , |
| const real | ) |
| [in] | mp | material property |
| [in] | v | argument value |
| MTEST_VISIBILITY_EXPORT real mtest::getValue | ( | MaterialProperty & | , |
| const std::map< std::string, real > & | , | ||
| const bool | = false ) |
| [in] | mp | material property |
| [in] | args | mapping between values and arguments |
| [in] | b | allow missing arguments |
| MTEST_VISIBILITY_EXPORT real mtest::getValue | ( | MaterialProperty & | , |
| const std::vector< real > & | ) |
| [in] | mp | material property |
| [in] | values | argument values |
| MTEST_VISIBILITY_EXPORT std::vector< std::string > mtest::getVariableComponents | ( | const Behaviour & | , |
| const std::string & | , | ||
| const int | ) |
return the components of a variable
| [in] | b | behaviour |
| [in] | n | name of the variable |
| [in] | t | type of the variable |
| MTEST_VISIBILITY_EXPORT size_t mtest::getVariableSize | ( | const int | , |
| const Behaviour::Hypothesis | ) |
| [in] | t | variable type |
| [in] | h | hypothesis |
| MTEST_VISIBILITY_EXPORT size_t mtest::getVariablesSize | ( | const std::vector< int > & | , |
| const Behaviour::Hypothesis | ) |
| [in] | types | variable types |
| [in] | h | hypothesis |
| MTEST_VISIBILITY_EXPORT void mtest::initialize | ( | SolverWorkSpace & | , |
| const SolverWorkSpace::size_type | ) |
| [out] | wk | : workspace |
| [in] | s | : problem size |
| MTEST_VISIBILITY_EXPORT bool mtest::isBehaviourVariable | ( | const Behaviour & | , |
| const std::string & | ) |
| [in] | b | behaviour |
| [in] | n | variable name |
| MTEST_VISIBILITY_EXPORT bool mtest::isScalarVariableType | ( | const int | ) |
| [in] | t | variable type |
| MTEST_VISIBILITY_EXPORT void mtest::loadMTestFileContent | ( | TestDescription & | , |
| const std::string & | ) |
build a constant evolution from a real value
| [in] | v | value |
| MTEST_VISIBILITY_EXPORT std::shared_ptr< Evolution > mtest::make_evolution | ( | const std::map< real, real > & | ) |
build a linear per interval evolution from a map associating a time and a value.
| [in] | v | values |
| MTEST_VISIBILITY_EXPORT void mtest::revert | ( | CurrentState & | ) |
revert the state to the beginning of the time step
| [out] | s | state |
| MTEST_VISIBILITY_EXPORT void mtest::revert | ( | StructureCurrentState & | ) |
revert the state: values at the end of the time step are set equal to the values at the beginning of the next time step
| [out] | s | state |
| MTEST_VISIBILITY_EXPORT void mtest::setInternalStateVariableValue | ( | CurrentState & | , |
| const std::string & | , | ||
| const real | ) |
set the value of a scalar internal state variable
| [out] | s | state |
| [in] | n | variable name |
| [in] | v | value This overwrites the values of the internal state variables:
|
| MTEST_VISIBILITY_EXPORT void mtest::setInternalStateVariableValue | ( | CurrentState & | , |
| const std::string & | , | ||
| const real | , | ||
| const int | ) |
set the value of a scalar internal state variable
| [out] | s | state |
| [in] | n | variable name |
| [in] | v | value |
| [in] | d | depth The depth value has the following meaning:
|
| MTEST_VISIBILITY_EXPORT void mtest::setInternalStateVariableValue | ( | CurrentState & | , |
| const std::string & | , | ||
| const std::vector< real > & | ) |
set the value of an internal state variable
| [out] | s | state |
| [in] | n | variable name |
| [in] | v | values This overwrites the values of the internal state variables:
|
| MTEST_VISIBILITY_EXPORT void mtest::setInternalStateVariableValue | ( | CurrentState & | , |
| const std::string & | , | ||
| const std::vector< real > & | , | ||
| const int | ) |
set the value of an internal state variable
| [out] | s | state |
| [in] | n | variable name |
| [in] | v | values |
| [in] | d | depth The depth value has the following meaning:
|
| MTEST_VISIBILITY_EXPORT void mtest::setRoundingMode | ( | ) |
set the rounding mode according to currently selected rounding mode.
This can be used the reset the rounding mode after calling an external function that may change the rounding, or to select a random rounding mode.
| [in] | m | rounding mode |
| MTEST_VISIBILITY_EXPORT void mtest::setRoundingMode | ( | const std::string & | ) |
set the rounding mode to the specified mode
| [in] | m | rounding mode |
| MTEST_VISIBILITY_EXPORT void mtest::update | ( | CurrentState & | ) |
update the state for the next time step
| [out] | s | state |
| MTEST_VISIBILITY_EXPORT void mtest::update | ( | StructureCurrentState & | ) |
update the state: values at the end of the time step becomes the values at the beginning of the next time step
| [out] | s | state |
| MTEST_VISIBILITY_EXPORT void mtest::write | ( | const TestDescription & | , |
| const std::string & | ) |
write an MTest test to a file.
The file format is deduced from the extension of the file.
Currently, only extensions associated with the madnex file format (https://github.com/thelfer/madnex) are supported if TFEL is compiled with support of this file format. Those extensions are: mdnx, madnex (deprecated) or edf (experimental data file, deprecated). Note that the behaviour member of the metadata must be specified for export in the madnex file format.
| [in] | d | MTest file description |
| [in] | f | output file path |