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

class describing an inelastic flow. More...

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

Inheritance diagram for mfront::bbrick::PorosityNucleationModelBase:
mfront::bbrick::PorosityNucleationModel mfront::bbrick::StrainBasedPorosityNucleationModelBase mfront::bbrick::StressBasedPorosityNucleationModelBase mfront::bbrick::ChuNeedleman1980StrainBasedPorosityNucleationModel mfront::bbrick::PowerLawStrainBasedPorosityNucleationModel mfront::bbrick::ChuNeedleman1980StressBasedPorosityNucleationModel mfront::bbrick::PowerLawStressBasedPorosityNucleationModel

Classes

struct  MaterialCoefficientDescription
 material coefficients associated with a nucleation model More...

Public Member Functions

std::vector< OptionDescription > getOptions () const override
void initialize (BehaviourDescription &, AbstractBehaviourDSL &, const std::string &, const DataMap &) override
void completeVariableDeclaration (BehaviourDescription &, const AbstractBehaviourDSL &, const std::map< std::string, std::shared_ptr< bbrick::InelasticFlow > > &, const std::string &) const override
 complete the variable description
void endTreatment (BehaviourDescription &, const AbstractBehaviourDSL &, const StressPotential &, const std::map< std::string, std::shared_ptr< bbrick::InelasticFlow > > &, const std::string &) const override
 method called at the end of the input file processing
 ~PorosityNucleationModelBase () override
 destructor
Public Member Functions inherited from mfront::bbrick::PorosityNucleationModel
virtual std::string updateNextEstimateOfThePorosityIncrement (const BehaviourDescription &, const std::map< std::string, std::shared_ptr< bbrick::InelasticFlow > > &, const std::string &) const =0
virtual ~PorosityNucleationModel ()
 destructor

Protected Member Functions

virtual std::vector< MaterialCoefficientDescription > getMaterialCoefficientDescriptions () const
virtual bool requiresSavingNucleatedPorosity () const =0

Protected Attributes

std::map< std::string, BehaviourDescription::MaterialProperty > material_coefficients
 list of material coefficients.
bool save_porosity_increase = false
 flag stating if the contribution to the porosity nucleation associated with this model must be saved in a dedicated auxiliary state variable.
PorosityEvolutionAlgorithm porosity_evolution_algorithm
 algorithm used to handle the porosity evolution

Additional Inherited Members

Public Types inherited from mfront::bbrick::PorosityNucleationModel
using Data = tfel::utilities::Data
 a simple alias
using DataMap = tfel::utilities::DataMap
 a simple alias
using ModellingHypothesis = tfel::material::ModellingHypothesis
 a simple alias
Static Public Member Functions inherited from mfront::bbrick::PorosityNucleationModel
static std::string getVariableId (const std::string &, const std::string &)

Detailed Description

class describing an inelastic flow.

Member Function Documentation

◆ completeVariableDeclaration()

void mfront::bbrick::PorosityNucleationModelBase::completeVariableDeclaration ( BehaviourDescription & ,
const AbstractBehaviourDSL & ,
const std::map< std::string, std::shared_ptr< bbrick::InelasticFlow > > & ,
const std::string &  ) const
overridevirtual

complete the variable description

Parameters
[in/out]bd: behaviour description
[in]dslabstract behaviour dsl
[in]iflowslist of inelastic flows and their associated ids
[in]idporosity nucleation model id

Implements mfront::bbrick::PorosityNucleationModel.

◆ endTreatment()

void mfront::bbrick::PorosityNucleationModelBase::endTreatment ( BehaviourDescription & ,
const AbstractBehaviourDSL & ,
const StressPotential & ,
const std::map< std::string, std::shared_ptr< bbrick::InelasticFlow > > & ,
const std::string &  ) const
overridevirtual

method called at the end of the input file processing

Parameters
[in]dslabstract behaviour dsl
[in]bdbehaviour description
[in]spstress potential
[in]iflowslist of inelastic flows and their associated ids
[in]idporosity nucleation model id

Implements mfront::bbrick::PorosityNucleationModel.

Reimplemented in mfront::bbrick::StrainBasedPorosityNucleationModelBase, and mfront::bbrick::StressBasedPorosityNucleationModelBase.

◆ getMaterialCoefficientDescriptions()

virtual std::vector< MaterialCoefficientDescription > mfront::bbrick::PorosityNucleationModelBase::getMaterialCoefficientDescriptions ( ) const
nodiscardprotectedvirtual
Returns
a list of material coefficients Those material coefficients are:
  • automatically declared as options to the nucleation model
  • initialized in the @InitLocalVariables code block

Reimplemented in mfront::bbrick::ChuNeedleman1980StrainBasedPorosityNucleationModel, mfront::bbrick::ChuNeedleman1980StressBasedPorosityNucleationModel, mfront::bbrick::PowerLawStrainBasedPorosityNucleationModel, and mfront::bbrick::PowerLawStressBasedPorosityNucleationModel.

◆ getOptions()

std::vector< OptionDescription > mfront::bbrick::PorosityNucleationModelBase::getOptions ( ) const
nodiscardoverridevirtual

◆ initialize()

void mfront::bbrick::PorosityNucleationModelBase::initialize ( BehaviourDescription & ,
AbstractBehaviourDSL & ,
const std::string & ,
const DataMap &  )
overridevirtual
Parameters
[in,out]bdbehaviour description
[in,out]dslabstract behaviour dsl
[in]idporosity nucleation model id
[in]doptions

Implements mfront::bbrick::PorosityNucleationModel.

Reimplemented in mfront::bbrick::StrainBasedPorosityNucleationModelBase, and mfront::bbrick::StressBasedPorosityNucleationModelBase.

◆ requiresSavingNucleatedPorosity()

virtual bool mfront::bbrick::PorosityNucleationModelBase::requiresSavingNucleatedPorosity ( ) const
nodiscardprotectedpure virtual
Returns
a boolean stating if the nucleated porosity must be saved

Implemented in mfront::bbrick::StrainBasedPorosityNucleationModelBase, and mfront::bbrick::StressBasedPorosityNucleationModelBase.

Member Data Documentation

◆ material_coefficients

std::map<std::string, BehaviourDescription::MaterialProperty> mfront::bbrick::PorosityNucleationModelBase::material_coefficients
protected

list of material coefficients.

Those list of material coefficients are initialized in the initialize method using the information retrieved from the getMaterialCoefficients method

◆ porosity_evolution_algorithm

PorosityEvolutionAlgorithm mfront::bbrick::PorosityNucleationModelBase::porosity_evolution_algorithm
protected
Initial value:
=
@ STAGGERED_SCHEME
staggered approach
Definition PorosityEvolutionAlgorithm.hxx:24

algorithm used to handle the porosity evolution


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