tfel
Loading...
Searching...
No Matches
mfront::StandardElastoViscoPlasticityBrick Struct Reference

The StandardElastoViscoPlasticityBrick is meant to describe a behaviour based on: More...

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

Inheritance diagram for mfront::StandardElastoViscoPlasticityBrick:
mfront::BehaviourBrickBase mfront::AbstractBehaviourBrick

Public Member Functions

 StandardElastoViscoPlasticityBrick (AbstractBehaviourDSL &, BehaviourDescription &)
 constructor
std::string getName () const override
 return the name of the brick
BehaviourBrickDescription getDescription () const override
std::vector< bbrick::OptionDescription > getOptions (const bool) const override
void initialize (const Parameters &, const DataMap &) override
 intialize the brick
std::vector< Hypothesis > getSupportedModellingHypotheses () const override
 This method returns the list of supported modelling hypotheses that are supported by the brick.
void completeVariableDeclaration () const override
 complete the variable description
void endTreatment () const override
 method called at the end of the input file processing
 ~StandardElastoViscoPlasticityBrick () override
 destructor
Public Member Functions inherited from mfront::BehaviourBrickBase
 BehaviourBrickBase (AbstractBehaviourDSL &, BehaviourDescription &)
std::pair< bool, tokens_iterator > treatKeyword (const std::string &, tokens_iterator &, const tokens_iterator) override
 treat a keyword
 ~BehaviourBrickBase () override
 destructor
Public Member Functions inherited from mfront::AbstractBehaviourBrick
virtual ~AbstractBehaviourBrick ()
 descructor

Static Public Attributes

static const char *const computeStandardSystemOfImplicitEquations
 if the staggered algorithm is used to treat the porosity evolution, this variable gives the name of a boolean variable which can is false during the iteration of the staggered algorithm and set to true once the staggered algorithm has converged.
static const char *const brokenVariable
 if the staggered approach is used, this is the name of an auxiliary state variable which states if the material point is totally damaged. If this variable is equal to 0, then the material is still able to sustain stress. If this variable is equal to 1, the material is totally damaged.
static const char *const fixedPointConverged
 if the staggered approach is used, this is the name of a local variable which states if the staggered approach succeeded.
static const char *const currentEstimateOfThePorosityIncrement
 if the staggered approach is used, this is the name of a local variable which holds the current estimate of the porosity increment.
static const char *const nextEstimateOfThePorosityIncrement
 if the staggered approach is used, this is the name of a variable which holds a next estimate of the porosity increment.
static const char *const nextEstimateOfThePorosityAtTheEndOfTheTimeStep
 if the staggered approach is used, this is the name of a variable which holds a next estimate of the porosity at the end of the time step.
static const char *const porosityUpperBound
 this is the name of a variable which holds the upper bound of the porosity.
static const char *const porosityUpperBoundSafetyFactor
 this is the name of a parameter which holds a safety factor for the porosity upper bound, because most of the stress criteria becomes singular when the associated upper bound is reached.
static const char *const porosityUpperBoundSafetyFactorForFractureDetection
 this is the name of a parameter which holds a safety factor for the porosity upper bound when trying to detect the fracture of the material.
static const char *const differenceBetweenSuccessiveEstimatesOfThePorosityIncrement
 if the staggered approach is used, this is the name of a variable which holds the difference between the new and the current estimates of the porosity increment.
static const char *const staggeredSchemeConvergenceCriterion
 if the staggered approach is used, this is the name of a parameter which holds the value of criterion on the difference between the new and the current estimates of the porosity increment used to stop the staggered scheme.
static const char *const staggeredSchemeIterationCounter
 if the staggered approach is used, this is the name of a local variable which holds the number of iterations of the staggered scheme already performed.
static const char *const maximumNumberOfIterationsOfTheStaggeredScheme
 if the staggered approach is used, this is the name of a parameter which holds the maximum number of iterations of the staggered scheme.
static const char *const staggeredSchemeBissectionAlgorithm
 if the staggered approach is used, this is the name of a instance of the tfel::math::BissectionAlgorithmBase class.
static const char *const staggeredSchemeAitkenAccelerationAlgorithm
 if the staggered approach is used and that the acceleration algorithm used is the Aitken one, this is the name of a instance of the tfel::math::AitkenAccelerationAlgorithm class.

Additional Inherited Members

Public Types inherited from mfront::AbstractBehaviourBrick
using ModellingHypothesis = tfel::material::ModellingHypothesis
 a simple alias
using Hypothesis = ModellingHypothesis::Hypothesis
 a simple alias
using CxxTokenizer = tfel::utilities::CxxTokenizer
 a simple alias
using tokens_iterator = CxxTokenizer::const_iterator
 a simple alias
using Parameters = std::map<std::string, std::string>
using Parameter = Parameters::value_type
 a simple alias
using Data = tfel::utilities::Data
 a simple alias
using DataMap = tfel::utilities::DataMap
 a simple alias
Protected Types inherited from mfront::BehaviourBrickBase
using GlossaryEntry = tfel::glossary::GlossaryEntry
 a simple alias
Protected Member Functions inherited from mfront::BehaviourBrickBase
virtual void checkOptionsNames (const DataMap &)
 check that the options names are in a given set of keys.
virtual void checkThatParameterHasNoValue (const Parameter &) const
 throw an exception if the given parameter has a value
virtual void addMaterialPropertyIfNotDefined (const std::string &, const std::string &, const GlossaryEntry &, const unsigned short=1u) const
 add a new material property
virtual void addMaterialPropertyIfNotDefined (const std::string &, const std::string &, const std::string &, const unsigned short=1u) const
 add a new material property
virtual void addExternalStateVariable (const std::string &, const std::string &, const unsigned short=1u) const
 add a new external state variable
virtual void addExternalStateVariable (const std::string &, const std::string &, const GlossaryEntry &, const unsigned short=1u) const
 add a new external state variable
virtual void addExternalStateVariable (const std::string &, const std::string &, const std::string &, const unsigned short=1u) const
 add a new external state variable
virtual void addLocalVariable (const std::string &, const std::string &, const unsigned short=1u) const
 add a new local variable
virtual void addParameter (const std::string &, const GlossaryEntry &e, const double) const
 add a new material property
virtual void addParameter (const std::string &, const GlossaryEntry &, const unsigned short, const double) const
 add a new material property
virtual void addParameter (const std::string &, const GlossaryEntry &, const unsigned short, const std::vector< double > &) const
 add a new material property
virtual void addParameter (const std::string &, const std::string &, const double) const
 add a new material property
virtual void addParameter (const std::string &, const std::string &, const unsigned short, const double) const
 add a new material property
virtual void addParameter (const std::string &, const std::string &, const unsigned short, const std::vector< double > &) const
 add a new material property
Protected Attributes inherited from mfront::BehaviourBrickBase
AbstractBehaviourDSL & dsl
 calling domain specific language
BehaviourDescription & bd
 mechanical behaviour description of which the BehaviourBrick acts

Detailed Description

The StandardElastoViscoPlasticityBrick is meant to describe a behaviour based on:

  • a stress potential describing how the stress is computed. The most used one will probably be the Hooke stress potential.
  • a list of inelastic flows which describe how inelastic strains evolve.

Constructor & Destructor Documentation

◆ StandardElastoViscoPlasticityBrick()

mfront::StandardElastoViscoPlasticityBrick::StandardElastoViscoPlasticityBrick ( AbstractBehaviourDSL & ,
BehaviourDescription &  )

constructor

Parameters
[in]dsl_: calling domain specific language
[in]bd_: behaviour description

Member Function Documentation

◆ completeVariableDeclaration()

void mfront::StandardElastoViscoPlasticityBrick::completeVariableDeclaration ( ) const
overridevirtual

complete the variable description

Implements mfront::AbstractBehaviourBrick.

◆ endTreatment()

void mfront::StandardElastoViscoPlasticityBrick::endTreatment ( ) const
overridevirtual

method called at the end of the input file processing

Implements mfront::AbstractBehaviourBrick.

◆ getDescription()

BehaviourBrickDescription mfront::StandardElastoViscoPlasticityBrick::getDescription ( ) const
nodiscardoverridevirtual
Returns
a description of the brick

Implements mfront::AbstractBehaviourBrick.

◆ getName()

std::string mfront::StandardElastoViscoPlasticityBrick::getName ( ) const
nodiscardoverridevirtual

return the name of the brick

Implements mfront::AbstractBehaviourBrick.

◆ getOptions()

std::vector< bbrick::OptionDescription > mfront::StandardElastoViscoPlasticityBrick::getOptions ( const bool ) const
nodiscardoverridevirtual
Parameters
[in]bif true, all options are returned. Otherwise, only the most adapted options for the behaviour are returned.
Returns
the description of the brick options

Implements mfront::AbstractBehaviourBrick.

◆ getSupportedModellingHypotheses()

std::vector< Hypothesis > mfront::StandardElastoViscoPlasticityBrick::getSupportedModellingHypotheses ( ) const
nodiscardoverridevirtual

This method returns the list of supported modelling hypotheses that are supported by the brick.

This method is called after the input file processing. Two cases may arise:

  • if the user has specified a list of supported modelling hypotheses, this list is used to check if the user's request can be fulfilled. If the brick returns an empty list, it means that the brick does not have any restriction.
  • if the user has not specified the list of supported modelling hypotheses, this method is used to select a list of supported modelling hypotheses. If the brick returns an empty list, it means that the brick does not participate to the modelling hypotheses selection. If all the bricks returns an empty list, a set of default modelling hypotheses is selected.

Implements mfront::AbstractBehaviourBrick.

◆ initialize()

void mfront::StandardElastoViscoPlasticityBrick::initialize ( const Parameters & ,
const DataMap &  )
overridevirtual

intialize the brick

Parameters
[in]pparameters
[in]ddata

Implements mfront::AbstractBehaviourBrick.

Member Data Documentation

◆ computeStandardSystemOfImplicitEquations

const char* const mfront::StandardElastoViscoPlasticityBrick::computeStandardSystemOfImplicitEquations
static

if the staggered algorithm is used to treat the porosity evolution, this variable gives the name of a boolean variable which can is false during the iteration of the staggered algorithm and set to true once the staggered algorithm has converged.

The rationale behing this is that the exact jacobian of the full system of implicit equations is required to compute the consistent tangent operator. Thus, once the staggered algorithm has converged, this jacobian must be built. This flag allows to switch from a reduced system of equations to the full system of equations.


The documentation for this struct was generated from the following file:
  • StandardElastoViscoPlasticityBrick.hxx