tfel
Loading...
Searching...
No Matches
mfront::bbrick::GeneralisedGursonTvergaardNeedlemanStressCriterion Struct Referencefinal

implementation of the GeneralisedGursonTvergaardNeedleman stress criterion, which is the GursonTvergaardNeedleman1982 stress criterion in which the von Mises stress is replaced by an equivalent stress chosen by the user. More...

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

Inheritance diagram for mfront::bbrick::GeneralisedGursonTvergaardNeedlemanStressCriterion:
mfront::bbrick::GursonTvergaardNeedleman1982StressCriterion mfront::bbrick::StandardPorousStressCriterionBase mfront::bbrick::StressCriterionBase mfront::bbrick::StressCriterion

Public Member Functions

 GeneralisedGursonTvergaardNeedlemanStressCriterion ()
 constructor
std::vector< OptionDescription > getOptions () const override
void initialize (BehaviourDescription &, AbstractBehaviourDSL &, const std::string &, const DataMap &, const Role) override
void endTreatment (BehaviourDescription &, const AbstractBehaviourDSL &, const std::string &, const Role) override
std::string computeElasticPrediction (const std::string &, const BehaviourDescription &, const StressPotential &) const override
std::string computeCriterion (const std::string &, const BehaviourDescription &, const StressPotential &) const override
std::string computeNormal (const std::string &, const BehaviourDescription &, const StressPotential &, const Role) const override
std::string computeNormalDerivative (const std::string &, const BehaviourDescription &, const StressPotential &, const Role) const override
 return the code computing the criterion, its derivative, and its second derivative.
 ~GeneralisedGursonTvergaardNeedlemanStressCriterion () override
 destructor
Public Member Functions inherited from mfront::bbrick::GursonTvergaardNeedleman1982StressCriterion
 GursonTvergaardNeedleman1982StressCriterion ()
 constructor
 GursonTvergaardNeedleman1982StressCriterion (const std::string &)
 constructor
std::vector< BehaviourSymmetry > getSupportedBehaviourSymmetries () const override
std::vector< OptionDescription > getOptions () const override
PorosityEffectOnFlowRule getPorosityEffectOnEquivalentPlasticStrain () const override
std::string updatePorosityUpperBound (const BehaviourDescription &, const std::string &, const Role) const override
 ~GursonTvergaardNeedleman1982StressCriterion () override
 destructor
Public Member Functions inherited from mfront::bbrick::StandardPorousStressCriterionBase
 StandardPorousStressCriterionBase (const std::string &n)
 constructor
void initialize (BehaviourDescription &, AbstractBehaviourDSL &, const std::string &, const DataMap &, const Role) override
void endTreatment (BehaviourDescription &, const AbstractBehaviourDSL &, const std::string &, const Role) override
std::string computeElasticPrediction (const std::string &, const BehaviourDescription &, const StressPotential &) const override
std::string computeCriterion (const std::string &, const BehaviourDescription &, const StressPotential &) const override
std::string computeNormal (const std::string &, const BehaviourDescription &, const StressPotential &, const Role) const override
std::string computeNormalDerivative (const std::string &, const BehaviourDescription &, const StressPotential &, const Role) const override
 return the code computing the criterion, its derivative, and its second derivative.
bool isCoupledWithPorosityEvolution () const final
bool isNormalDeviatoric () const final
 ~StandardPorousStressCriterionBase () override
 destructor
Public Member Functions inherited from mfront::bbrick::StressCriterionBase
void initialize (BehaviourDescription &, AbstractBehaviourDSL &, const std::string &, const DataMap &, const Role) override
void endTreatment (BehaviourDescription &, const AbstractBehaviourDSL &, const std::string &, const Role) override
std::vector< OptionDescription > getOptions () const override
std::string updatePorosityUpperBound (const BehaviourDescription &, const std::string &, const Role) const override
 ~StressCriterionBase () override
 destructor
Public Member Functions inherited from mfront::bbrick::StressCriterion
virtual ~StressCriterion ()
 destructor

Additional Inherited Members

Public Types inherited from mfront::bbrick::StressCriterion
enum  PorosityEffectOnFlowRule { NO_POROSITY_EFFECT_ON_EQUIVALENT_PLASTIC_STRAIN , STANDARD_POROSITY_CORRECTION_ON_EQUIVALENT_PLASTIC_STRAIN }
 policy on how the porosity affects the flow rule More...
enum  Role { STRESSCRITERION , FLOWCRITERION , STRESSANDFLOWCRITERION }
 describe the purpose of the criterion More...
using Data = tfel::utilities::Data
 a simple alias
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::StressCriterion
static std::string getVariableId (const std::string &, const std::string &, const Role)
Protected Member Functions inherited from mfront::bbrick::GursonTvergaardNeedleman1982StressCriterion
void initializeMissingMaterialProperty (const std::string &) override
 initialize a material property not defined by the user
std::string generateMissingMaterialPropertyInitializationCode (BehaviourDescription &, const AbstractBehaviourDSL &, const std::string &, const Role, const std::string &) override
 generate the initialization code for a a material property not defined by the user.

Detailed Description

implementation of the GeneralisedGursonTvergaardNeedleman stress criterion, which is the GursonTvergaardNeedleman1982 stress criterion in which the von Mises stress is replaced by an equivalent stress chosen by the user.

Member Function Documentation

◆ computeCriterion()

std::string mfront::bbrick::GeneralisedGursonTvergaardNeedlemanStressCriterion::computeCriterion ( const std::string & ,
const BehaviourDescription & ,
const StressPotential &  ) const
nodiscardoverridevirtual
Returns
the code computing the criterion. The code defines a variable named "seq"+id.
Note
this is only meaningful if the criterion' role is STRESSCRITERION or STRESSANDFLOWCRITERION.
Parameters
[in]idflow id
[in]bdbehaviour description
[in]spstress potential

Implements mfront::bbrick::StressCriterion.

◆ computeElasticPrediction()

std::string mfront::bbrick::GeneralisedGursonTvergaardNeedlemanStressCriterion::computeElasticPrediction ( const std::string & ,
const BehaviourDescription & ,
const StressPotential &  ) const
nodiscardoverridevirtual
Returns
the code that defines seqel+id, the elastic prediction of the criterion.
Note
this is only meaningful if the criterion' role is STRESSCRITERION or STRESSANDFLOWCRITERION.
Parameters
[in]idflow id
[in]bdbehaviour description
[in]spstress potential

Implements mfront::bbrick::StressCriterion.

◆ computeNormal()

std::string mfront::bbrick::GeneralisedGursonTvergaardNeedlemanStressCriterion::computeNormal ( const std::string & ,
const BehaviourDescription & ,
const StressPotential & ,
const Role  ) const
nodiscardoverridevirtual
Returns
the code computing the criterion and its normal.

If the criterion' role is STRESSCRITERION, the code defines two variables named "seq"+id and "dseq"+id+"_ds"+id. The code may also define a variable named "iseq"+id meant for internal use.

If the criterion' role is FLOWCRITERION, the code defines a variable "n"+id. The code may also define two variables respectively named "seqf"+id and "iseqf"+id meant for internal use.

If the criterion' role is STRESSANDFLOWCRITERION, the code defines two variables named "seq"+id and "dseq"+id+"ds"+id. A reference named "n"+id to "dseq"+id+"_ds"+id is also defined. For internal use, the code may also define a variable named "iseq"+id.

Parameters
[in]idflow id
[in]bdbehaviour description
[in]spstress potential
[in]rcriterion' role

Implements mfront::bbrick::StressCriterion.

◆ computeNormalDerivative()

std::string mfront::bbrick::GeneralisedGursonTvergaardNeedlemanStressCriterion::computeNormalDerivative ( const std::string & ,
const BehaviourDescription & ,
const StressPotential & ,
const Role  ) const
nodiscardoverridevirtual

return the code computing the criterion, its derivative, and its second derivative.

If the criterion' role is STRESSCRITERION, the code defines three variables named "seq"+id, "dseq"+id+"ds"+id and "d2seq"+id+"_ds"+id+"_ds"+id. The code may also define a variable named "iseq"+id meant for internal use.

If the criterion' role is FLOWCRITERION, the code defines two variables named "n"+id and "dn"+id+"_ds"+id. The code may also define two variables respectively named "seqf"+id and "iseqf"+id meant for internal use.

If the criterion' role is STRESSANDFLOWCRITERION the code defines:

  • three variables named "seq"+id, "dseq"+id+"ds"+id and "d2seq"+id+"_ds"+id+"_ds"+id.
  • a reference named "n"+id to "dseq"+id+"ds"+id.
  • a reference named "dn"+id+"ds"+id to "d2seq"+id+"_ds"+id+"_ds"+id. The code may also define a variable named "iseq"+id meant for internal use.
    Parameters
    [in]idflow id
    [in]bdbehaviour description
    [in]spstress potential
    [in]rcriterion' role

Implements mfront::bbrick::StressCriterion.

◆ endTreatment()

void mfront::bbrick::GeneralisedGursonTvergaardNeedlemanStressCriterion::endTreatment ( BehaviourDescription & ,
const AbstractBehaviourDSL & ,
const std::string & ,
const Role  )
overridevirtual
Parameters
[in,out]bdbehaviour description
[in,out]dslabstract behaviour dsl
[in]idflow id
[in]rcriterion' role

Implements mfront::bbrick::StressCriterion.

◆ getOptions()

std::vector< OptionDescription > mfront::bbrick::GeneralisedGursonTvergaardNeedlemanStressCriterion::getOptions ( ) const
nodiscardoverridevirtual
Returns
the flow options

Implements mfront::bbrick::StressCriterion.

◆ initialize()

void mfront::bbrick::GeneralisedGursonTvergaardNeedlemanStressCriterion::initialize ( BehaviourDescription & ,
AbstractBehaviourDSL & ,
const std::string & ,
const DataMap & ,
const Role  )
overridevirtual
Parameters
[in,out]bdbehaviour description
[in,out]dslabstract behaviour dsl
[in]idflow id
[in]doptions
[in]rcriterion' role

Implements mfront::bbrick::StressCriterion.


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