tfel
Loading...
Searching...
No Matches
mfront::bbrick::DDIF2StressPotential Struct Reference

class describing the computation of the stress through the standard DDIF2 law. More...

#include </home/runner/work/tfel/tfel/mfront/include/MFront/BehaviourBrick/DDIF2StressPotential.hxx>

Inheritance diagram for mfront::bbrick::DDIF2StressPotential:
mfront::bbrick::HookeStressPotential mfront::bbrick::HookeStressPotentialBase mfront::bbrick::StressPotential

Public Member Functions

 DDIF2StressPotential ()
 constructor
std::string getName () const override
std::vector< OptionDescription > getOptions (const BehaviourDescription &, const bool) const override
void initialize (BehaviourDescription &, AbstractBehaviourDSL &, const DataMap &) override
void completeVariableDeclaration (BehaviourDescription &, const AbstractBehaviourDSL &) const override
 complete the variable description
void endTreatment (BehaviourDescription &, const AbstractBehaviourDSL &) const override
 method called at the end of the input file processing
 ~DDIF2StressPotential () override
 destructor
Public Member Functions inherited from mfront::bbrick::HookeStressPotential
 HookeStressPotential ()
 default constructor
std::vector< std::tuple< std::string, std::string, mfront::SupportedTypes::TypeFlag > > getStressDerivatives (const BehaviourDescription &) const override
std::string generateImplicitEquationDerivatives (const BehaviourDescription &, const std::string &, const std::string &, const std::string &, const bool) const override
 write the jacobian blocks corresponding the derivative of implicit equation associated with a variable \(v\) knowing the derivative of \(\frac{d\,v}{d\underline{s}}\) where \(\underline{s}\) is the effective stress.
 ~HookeStressPotential () override
 destructor
Public Member Functions inherited from mfront::bbrick::HookeStressPotentialBase
 HookeStressPotentialBase ()
 constructor
void initialize (BehaviourDescription &, AbstractBehaviourDSL &, const DataMap &) override
void completeVariableDeclaration (BehaviourDescription &, const AbstractBehaviourDSL &) const override
 complete the variable description
void endTreatment (BehaviourDescription &, const AbstractBehaviourDSL &) const override
 method called at the end of the input file processing
void computeElasticPrediction (BehaviourDescription &) const override
 add the lines that defines sigel, the elastic prediction of the stress. This definition is added to the BehaviourData::BeforeInitializeLocalVariables code block.
std::string getName () const override
std::vector< OptionDescription > getOptions (const BehaviourDescription &, const bool) const override
std::vector< Hypothesis > getSupportedModellingHypotheses (const BehaviourDescription &, const AbstractBehaviourDSL &) const override
 This method returns the list of supported modelling hypotheses that are supported by the stress potential.
std::string getStressNormalisationFactor (const BehaviourDescription &) const override
 return an expression that can be used to normalise implicit equations of the order of the stress
std::string getEquivalentStressLowerBound (const BehaviourDescription &) const override
 return an expression that can be used as a lower bound for the equivalent stress,
 ~HookeStressPotentialBase () override
 destructor
Public Member Functions inherited from mfront::bbrick::StressPotential
virtual ~StressPotential ()
 destructor

Protected Types

enum  { STATUS , UPDATE_IMPLICIT_EQUATIONS_DURING_ITERATIONS }
 supported algorithms More...

Protected Attributes

enum mfront::bbrick::DDIF2StressPotential:: { ... }  algorithm = STATUS
 supported algorithms
std::array< MaterialProperty, 3u > sr
 fracture stress
std::array< MaterialProperty, 3u > rp
 softening slopes
std::array< MaterialProperty, 3u > gc
 fracture energy
bool firstConvergeOnDamage = true
 if true, the implicit resolution is first performed with a null time step.
bool pr = false
 handle pressure on crack surface
Protected Attributes inherited from mfront::bbrick::HookeStressPotentialBase
bool pss = true
 plane stress support;
bool gto = true
 generic tangent operator support
bool gpo = true
 generic prediction operator support

Additional Inherited Members

Public Types inherited from mfront::bbrick::StressPotential
using DataMap = tfel::utilities::DataMap
 a simple alias
using ModellingHypothesis = tfel::material::ModellingHypothesis
 a simple alias
using Hypothesis = ModellingHypothesis::Hypothesis
 a simple alias
using BehaviourSymmetry = mfront::BehaviourSymmetryType
 a simple alias
using MaterialProperty = BehaviourDescription::MaterialProperty
 a simple alias
Static Public Member Functions inherited from mfront::bbrick::HookeStressPotentialBase
static std::vector< OptionDescription > getIsotropicBehaviourOptions ()
static std::vector< OptionDescription > getOrthotropicBehaviourElasticMaterialPropertiesOptions ()
static std::vector< OptionDescription > getOrthotropicBehaviourOptions ()
static std::vector< OptionDescription > getGeneralOptions ()
 get options only valid for all behaviours
Static Public Attributes inherited from mfront::bbrick::HookeStressPotentialBase
static const char *const residualStiffnessFactor
 name of the parameter holding the factor used to determine the residual stiffness
Protected Member Functions inherited from mfront::bbrick::HookeStressPotential
void declareComputeElasticPredictionMethod (BehaviourDescription &) const override
 declare the compute elastic prediction method
void declareComputeStressWhenStiffnessTensorIsDefined (BehaviourDescription &) const override
 declared the BehaviourData::ComputeStress and BehaviourData::ComputeFinalStress code blocks when either the BehaviourDescription::requiresStiffnessTensor attribute or the BehaviourDescription::computesStiffnessTensor attribute has been set.
void declareComputeStressForIsotropicBehaviour (BehaviourDescription &, LocalDataStructure &) const override
 complete the variable description in the case of isotropic behaviours when the stiffness tensor is not defined. This method is meant to define the BehaviourData::ComputeStress and BehaviourData::ComputeFinalStress code blocks.
void addGenericTangentOperatorSupport (BehaviourDescription &, const AbstractBehaviourDSL &) const override
 add the generic tangent operator computation
void addGenericPredictionOperatorSupport (BehaviourDescription &) const override
 add the generic prediction operator computation.
Protected Member Functions inherited from mfront::bbrick::HookeStressPotentialBase
virtual void declareComputeStressForOrthotropicBehaviour (BehaviourDescription &) const
 treat the case of orthotropic behaviours when the stiffness tensor is not defined. This case is generally not supported and lead to an error.
virtual void addAxisymmetricalGeneralisedPlaneStressSupport (BehaviourDescription &, const AbstractBehaviourDSL &) const
 add support for the AXISYMMETRICALGENERALISEDPLANESTRESS modelling hypothesis
virtual void addPlaneStressSupport (BehaviourDescription &, const AbstractBehaviourDSL &) const
 add support for the PLANESTRESS modelling hypothesis
virtual void addBrokenOperatorSupport (BehaviourDescription &, const std::string &) const
 when a variable with the glossary name broken is declared, this method adds the computation of a residual stiffness matrix at the beginning of the given code block.
virtual void addBrokenPredictionOperatorSupport (BehaviourDescription &) const
 when a variable with the glossary name broken is declared, this method adds the computation of a residual stiffness matrix.
virtual void addBrokenTangentOperatorSupport (BehaviourDescription &) const
 when a variable with the glossary name broken is declared, this method adds the computation of a residual stiffness matrix.

Detailed Description

class describing the computation of the stress through the standard DDIF2 law.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected

supported algorithms

Enumerator
STATUS 

An algorithm based on statuses. The statuses allows solving the implicit equations based on an assumptions on the damage state (see tfel::material::DDIF2State). Those assumptions are check after convergence. If not satisfied, the assumtions are modified and the implicit resolution is restarted.

UPDATE_IMPLICIT_EQUATIONS_DURING_ITERATIONS 

algorithm used in version prior to 3.3. A priori less robust than the algorithm based on status

Member Function Documentation

◆ completeVariableDeclaration()

void mfront::bbrick::DDIF2StressPotential::completeVariableDeclaration ( BehaviourDescription & ,
const AbstractBehaviourDSL &  ) const
overridevirtual

complete the variable description

Parameters
[in]dslabstract behaviour dsl

Implements mfront::bbrick::StressPotential.

◆ endTreatment()

void mfront::bbrick::DDIF2StressPotential::endTreatment ( BehaviourDescription & ,
const AbstractBehaviourDSL &  ) const
overridevirtual

method called at the end of the input file processing

Parameters
[in/out]bd: behaviour description
[in]dslabstract behaviour dsl

Implements mfront::bbrick::StressPotential.

◆ getName()

std::string mfront::bbrick::DDIF2StressPotential::getName ( ) const
nodiscardoverridevirtual
Returns
the name of the stress potential

Implements mfront::bbrick::StressPotential.

◆ getOptions()

std::vector< OptionDescription > mfront::bbrick::DDIF2StressPotential::getOptions ( const BehaviourDescription & ,
const bool  ) const
nodiscardoverridevirtual
Parameters
[in]bdbehavour description
[in]bif true, all options are returned. Otherwise, only the most adapted options for the behaviour are returned.
Returns
the stress potential option description

Implements mfront::bbrick::StressPotential.

◆ initialize()

void mfront::bbrick::DDIF2StressPotential::initialize ( BehaviourDescription & ,
AbstractBehaviourDSL & ,
const DataMap &  )
overridevirtual
Parameters
[in,out]bdbehaviour description
[in,out]dslabstract behaviour dsl
[in]doptions

Implements mfront::bbrick::StressPotential.


The documentation for this struct was generated from the following file: