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

base class for stress potential describing the computation of the stress through the Hooke law coupled with an isotropic damage. More...

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

Inheritance diagram for mfront::bbrick::ScalarDamageHookeStressPotentialBase:
mfront::bbrick::HookeStressPotentialBase mfront::bbrick::StressPotential mfront::bbrick::ScalarDamageHookeStressPotential

Public Member Functions

 ScalarDamageHookeStressPotentialBase ()
 constructor
void initialize (BehaviourDescription &, AbstractBehaviourDSL &, const DataMap &) override
void endTreatment (BehaviourDescription &, const AbstractBehaviourDSL &) const override
 method called at the end of the input file processing
std::vector< OptionDescription > getOptions (const BehaviourDescription &, const bool) const override
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.
 ~ScalarDamageHookeStressPotentialBase () override
 destructor
Public Member Functions inherited from mfront::bbrick::HookeStressPotentialBase
 HookeStressPotentialBase ()
 constructor
void completeVariableDeclaration (BehaviourDescription &, const AbstractBehaviourDSL &) const override
 complete the variable description
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< 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 Member Functions

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 addAxisymmetricalGeneralisedPlaneStressSupport (BehaviourDescription &, const AbstractBehaviourDSL &) const override
 add support for the AXISYMMETRICALGENERALISEDPLANESTRESS modelling hypothesis
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 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.

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 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

Detailed Description

base class for stress potential describing the computation of the stress through the Hooke law coupled with an isotropic damage.

Member Function Documentation

◆ addAxisymmetricalGeneralisedPlaneStressSupport()

void mfront::bbrick::ScalarDamageHookeStressPotentialBase::addAxisymmetricalGeneralisedPlaneStressSupport ( BehaviourDescription & ,
const AbstractBehaviourDSL &  ) const
overrideprotectedvirtual

add support for the AXISYMMETRICALGENERALISEDPLANESTRESS modelling hypothesis

Parameters
[in]bdbehaviour description
[in]dslbehaviour domain language

Reimplemented from mfront::bbrick::HookeStressPotentialBase.

◆ addGenericPredictionOperatorSupport()

void mfront::bbrick::ScalarDamageHookeStressPotentialBase::addGenericPredictionOperatorSupport ( BehaviourDescription & ) const
overrideprotectedvirtual

add the generic prediction operator computation.

Parameters
[in]bdbehaviour description
Note
this method is called after addBrokenPredictionOperatorSupport

Implements mfront::bbrick::HookeStressPotentialBase.

◆ addGenericTangentOperatorSupport()

void mfront::bbrick::ScalarDamageHookeStressPotentialBase::addGenericTangentOperatorSupport ( BehaviourDescription & ,
const AbstractBehaviourDSL &  ) const
overrideprotectedvirtual

add the generic tangent operator computation

Parameters
[in]bdbehaviour description
[in]dslbehaviour domain language
Note
this method is called after addBrokenTangentOperatorSupport

Implements mfront::bbrick::HookeStressPotentialBase.

◆ declareComputeElasticPredictionMethod()

void mfront::bbrick::ScalarDamageHookeStressPotentialBase::declareComputeElasticPredictionMethod ( BehaviourDescription & ) const
overrideprotectedvirtual

declare the compute elastic prediction method

Parameters
[in]bdbehaviour description

Implements mfront::bbrick::HookeStressPotentialBase.

◆ declareComputeStressForIsotropicBehaviour()

void mfront::bbrick::ScalarDamageHookeStressPotentialBase::declareComputeStressForIsotropicBehaviour ( BehaviourDescription & ,
LocalDataStructure &  ) const
overrideprotectedvirtual

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.

Parameters
[in]bdbehaviour description
[in]dlocal data structure

Implements mfront::bbrick::HookeStressPotentialBase.

◆ declareComputeStressWhenStiffnessTensorIsDefined()

void mfront::bbrick::ScalarDamageHookeStressPotentialBase::declareComputeStressWhenStiffnessTensorIsDefined ( BehaviourDescription & ) const
overrideprotectedvirtual

declared the BehaviourData::ComputeStress and BehaviourData::ComputeFinalStress code blocks when either the BehaviourDescription::requiresStiffnessTensor attribute or the BehaviourDescription::computesStiffnessTensor attribute has been set.

Parameters
[in]bdbehaviour description

Implements mfront::bbrick::HookeStressPotentialBase.

◆ endTreatment()

void mfront::bbrick::ScalarDamageHookeStressPotentialBase::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

Reimplemented from mfront::bbrick::HookeStressPotentialBase.

◆ generateImplicitEquationDerivatives()

std::string mfront::bbrick::ScalarDamageHookeStressPotentialBase::generateImplicitEquationDerivatives ( const BehaviourDescription & ,
const std::string & ,
const std::string & ,
const std::string & ,
const bool  ) const
nodiscardoverridevirtual

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.

Parameters
[in,out]bdbehaviour description
[in]tvariable type
[in]vvariable name
[in]dfv_dsderivative of the implicit equation associated to v with respect to the effective stress
[in]bboolean static that the flow criterion is deviatoric

Implements mfront::bbrick::StressPotential.

◆ getOptions()

std::vector< OptionDescription > mfront::bbrick::ScalarDamageHookeStressPotentialBase::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

Reimplemented from mfront::bbrick::HookeStressPotentialBase.

◆ getStressDerivatives()

std::vector< std::tuple< std::string, std::string, mfront::SupportedTypes::TypeFlag > > mfront::bbrick::ScalarDamageHookeStressPotentialBase::getStressDerivatives ( const BehaviourDescription & bd) const
nodiscardoverridevirtual
Returns
a vector of tuples giving information about the stress derivatives. Each tuple contains:
  • the expression of the stress derivative.
  • the name of the variable with respect to which, the stress has been derived.
  • the type of the variable with respect to which, the stress has been derived.
Parameters
[in]bdbehaviour description

Implements mfront::bbrick::StressPotential.

◆ initialize()

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

Reimplemented from mfront::bbrick::HookeStressPotentialBase.


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