tfel
Loading...
Searching...
No Matches
mfront::bbrick::StressCriterion Struct Referenceabstract

class describing a stress criterion More...

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

Inheritance diagram for mfront::bbrick::StressCriterion:
mfront::bbrick::StressCriterionBase mfront::bbrick::Barlat2004StressCriterion mfront::bbrick::Cazacu2001StressCriterion mfront::bbrick::Cazacu2004IsotropicStressCriterion mfront::bbrick::Cazacu2004OrthotropicStressCriterion mfront::bbrick::Drucker1949StressCriterion mfront::bbrick::Hill1948StressCriterion mfront::bbrick::Hosford1972StressCriterion mfront::bbrick::MisesStressCriterion mfront::bbrick::MohrCoulombStressCriterion mfront::bbrick::StandardPorousStressCriterionBase mfront::bbrick::StandardStressCriterionBase

Public Types

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

Public Member Functions

virtual std::vector< OptionDescription > getOptions () const =0
virtual std::vector< BehaviourSymmetry > getSupportedBehaviourSymmetries () const =0
virtual void initialize (BehaviourDescription &, AbstractBehaviourDSL &, const std::string &, const DataMap &, const Role)=0
virtual void endTreatment (BehaviourDescription &, const AbstractBehaviourDSL &, const std::string &, const Role)=0
virtual std::string computeElasticPrediction (const std::string &, const BehaviourDescription &, const StressPotential &) const =0
virtual std::string computeCriterion (const std::string &, const BehaviourDescription &, const StressPotential &) const =0
virtual std::string computeNormal (const std::string &, const BehaviourDescription &, const StressPotential &, const Role) const =0
virtual std::string computeNormalDerivative (const std::string &, const BehaviourDescription &, const StressPotential &, const Role) const =0
 return the code computing the criterion, its derivative, and its second derivative.
virtual bool isCoupledWithPorosityEvolution () const =0
virtual bool isNormalDeviatoric () const =0
virtual PorosityEffectOnFlowRule getPorosityEffectOnEquivalentPlasticStrain () const =0
virtual std::string updatePorosityUpperBound (const BehaviourDescription &, const std::string &, const Role) const =0
virtual ~StressCriterion ()
 destructor

Static Public Member Functions

static std::string getVariableId (const std::string &, const std::string &, const Role)

Detailed Description

class describing a stress criterion

Member Enumeration Documentation

◆ PorosityEffectOnFlowRule

policy on how the porosity affects the flow rule

Enumerator
NO_POROSITY_EFFECT_ON_EQUIVALENT_PLASTIC_STRAIN 

This value indicate that the flow rule is not affected by the porosity evolution.

STANDARD_POROSITY_CORRECTION_ON_EQUIVALENT_PLASTIC_STRAIN 

This value indicate that the flow rule must be corrected by the standard \((1-f)\) factor where \(f\) is the porosity.

◆ Role

describe the purpose of the criterion

Enumerator
FLOWCRITERION 

the criterion is only used to predict the flow intensity

STRESSANDFLOWCRITERION 

the criterion is only used to predict the flow direction

the criterion is used to predict the flow intensity and the flow direction

Member Function Documentation

◆ computeCriterion()

◆ computeElasticPrediction()

◆ computeNormal()

virtual std::string mfront::bbrick::StressCriterion::computeNormal ( const std::string & ,
const BehaviourDescription & ,
const StressPotential & ,
const Role  ) const
nodiscardpure virtual
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

Implemented in mfront::bbrick::Barlat2004StressCriterion, mfront::bbrick::Cazacu2001StressCriterion, mfront::bbrick::Cazacu2004IsotropicStressCriterion, mfront::bbrick::Cazacu2004OrthotropicStressCriterion, mfront::bbrick::Drucker1949StressCriterion, mfront::bbrick::GeneralisedGursonTvergaardNeedlemanStressCriterion, mfront::bbrick::GeneralisedRousselierTanguyBessonStressCriterion, mfront::bbrick::Hill1948StressCriterion, mfront::bbrick::Hosford1972StressCriterion, mfront::bbrick::MisesStressCriterion, mfront::bbrick::MohrCoulombStressCriterion, mfront::bbrick::StandardPorousStressCriterionBase, and mfront::bbrick::StandardStressCriterionBase.

◆ computeNormalDerivative()

virtual std::string mfront::bbrick::StressCriterion::computeNormalDerivative ( const std::string & ,
const BehaviourDescription & ,
const StressPotential & ,
const Role  ) const
nodiscardpure virtual

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

Implemented in mfront::bbrick::Barlat2004StressCriterion, mfront::bbrick::Cazacu2001StressCriterion, mfront::bbrick::Cazacu2004IsotropicStressCriterion, mfront::bbrick::Cazacu2004OrthotropicStressCriterion, mfront::bbrick::Drucker1949StressCriterion, mfront::bbrick::GeneralisedGursonTvergaardNeedlemanStressCriterion, mfront::bbrick::GeneralisedRousselierTanguyBessonStressCriterion, mfront::bbrick::Hill1948StressCriterion, mfront::bbrick::Hosford1972StressCriterion, mfront::bbrick::MisesStressCriterion, mfront::bbrick::MohrCoulombStressCriterion, mfront::bbrick::StandardPorousStressCriterionBase, and mfront::bbrick::StandardStressCriterionBase.

◆ endTreatment()

◆ getOptions()

◆ getPorosityEffectOnEquivalentPlasticStrain()

◆ getSupportedBehaviourSymmetries()

◆ getVariableId()

std::string mfront::bbrick::StressCriterion::getVariableId ( const std::string & ,
const std::string & ,
const Role  )
staticnodiscard
Returns
the name of a variable from a base name and the flow id.
Parameters
[in]nbase name
[in]fidflow id
[in]rcriterion' role

◆ initialize()

◆ isCoupledWithPorosityEvolution()

◆ isNormalDeviatoric()

◆ updatePorosityUpperBound()

virtual std::string mfront::bbrick::StressCriterion::updatePorosityUpperBound ( const BehaviourDescription & ,
const std::string & ,
const Role  ) const
nodiscardpure virtual
Returns
the code updating the upper bound of the porosity. If this stress criterion is not coupled with porosity, the returned value may be empty.
Parameters
[in]bdbehaviour description
[in]idflow id
[in]rcriterion' role

Implemented in mfront::bbrick::GursonTvergaardNeedleman1982StressCriterion, mfront::bbrick::RousselierTanguyBesson2002StressCriterion, and mfront::bbrick::StressCriterionBase.


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