This class declares an interface for mechanical behaviours.
More...
#include </home/runner/work/tfel/tfel/include/TFEL/Material/MechanicalBehaviour.hxx>
|
|
using | SMFlag = typename TangentOperatorTraits<btype>::SMFlag |
| | available tangent operator
|
|
using | TFELTypes = tfel::config::Types<N, NumType, use_qt> |
| | a simple alias
|
| enum | SMFlag { STANDARDTANGENTOPERATOR
} |
| enum | BehaviourType { GENERALBEHAVIOUR = 0
, STANDARDSTRAINBASEDBEHAVIOUR = 1
, STANDARDFINITESTRAINBEHAVIOUR = 2
, COHESIVEZONEMODEL = 3
} |
| enum | Kinematic {
UNDEFINEDKINEMATIC = 0
, SMALLSTRAINKINEMATIC = 1
, COHESIVEZONEKINEMATIC = 2
, FINITESTRAINKINEMATIC_F_CAUCHY = 3
,
FINITESTRAINKINEMATIC_ETO_PK1 = 4
} |
| enum | ExitStatus { FAILURE = 0
, SUCCESS = 1
, UNRELIABLE_RESULTS
} |
| | return values of the integrate method
|
| enum | SMType {
ELASTIC
, SECANTOPERATOR
, TANGENTOPERATOR
, CONSISTENTTANGENTOPERATOR
,
NOSTIFFNESSREQUESTED
} |
| | list of possible tangent operator type
|
|
| static constexpr unsigned short | N |
| | dimension of the space for the the given modelling hypothesis
|
This class declares an interface for mechanical behaviours.
- Parameters
-
| H,modelling | hypothesis |
| NumType,numerical | type. |
| bool | use_qt, says if one shall use quantities. |
- Author
- Thomas Helfer
- Date
- 28/07/2006
◆ computeAPosterioriTimeStepScalingFactor()
| virtual TFEL_HOST_DEVICE std::pair< bool, typename TFELTypes::real > tfel::material::MechanicalBehaviour< btype, H, NumType, use_qt >::computeAPosterioriTimeStepScalingFactor |
( |
const typename TFELTypes::real | | ) |
const |
|
pure virtual |
- Parameters
-
| [in] | dt | current time step scaling factor |
- Returns
- a pair containing:
- a boolean syaing if the behaviour integration shall be considered a success or a failure
- a scaling factor that can be used to:
- increase the time step if the integration was successfull
- decrease the time step if the integration failed or if the results were not reliable (time step too large).
Behaviours which are not able to give such a time step scaling factor may return the NumType(1) value.
◆ computeAPrioriTimeStepScalingFactor()
| virtual TFEL_HOST_DEVICE std::pair< bool, typename TFELTypes::real > tfel::material::MechanicalBehaviour< btype, H, NumType, use_qt >::computeAPrioriTimeStepScalingFactor |
( |
const typename TFELTypes::real | | ) |
const |
|
pure virtual |
- Parameters
-
| [in] | dt | time step scaling factor proposed by the calling code |
- Returns
- a pair containing:
- a boolean syaing if the behaviour integration shall be performed
- a scaling factor that can be used to:
- increase the time step if the integration was successfull
- decrease the time step if the integration failed or if the results were not reliable (time step too large).
Interfaces to behaviour law shall use the hasAPrioriTimeStepScalingFactor member of the specialisation of the traits class MechanicalBehaviourTraits generated by MFront to know if the behaviour is able to give such a time step scaling factor. If not, behaviours may return the NumType(1) value.
◆ computePredictionOperator()
only compute a prediction stiffness matrix. The result shall be retrieved through the "getTangeOperator" method
- Parameters
-
| [in] | smflag | : expected tangent operator |
| [in] | smt | : expected tangent operator |
- Returns
- SUCCESS if the integration is successfull.
◆ getMinimalTimeStepScalingFactor()
- Returns
- the minimal scaling factor to be used. This scaling factor is used to decrease the time step if the integration failed.
◆ integrate()
determine the value of the internal state variables at the end of the time step
- Parameters
-
| [in] | smflag | : expected tangent operator |
| [in] | smt | : expected tangent operator |
- Returns
- SUCCESS if the integration is successfull.
Initial value:=
Definition ModellingHypothesis.hxx:82
dimension of the space for the the given modelling hypothesis
The documentation for this class was generated from the following file: