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

A base class for nucleation models of the form: More...

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

Inheritance diagram for mfront::bbrick::StrainBasedPorosityNucleationModelBase:
mfront::bbrick::PorosityNucleationModelBase mfront::bbrick::PorosityNucleationModel mfront::bbrick::ChuNeedleman1980StrainBasedPorosityNucleationModel mfront::bbrick::PowerLawStrainBasedPorosityNucleationModel

Public Member Functions

std::vector< OptionDescription > getOptions () const override
void initialize (BehaviourDescription &, AbstractBehaviourDSL &, const std::string &, const DataMap &) override
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
std::string updateNextEstimateOfThePorosityIncrement (const BehaviourDescription &, const std::map< std::string, std::shared_ptr< bbrick::InelasticFlow > > &, const std::string &) const override
bool requiresSavingNucleatedPorosity () const final
 ~StrainBasedPorosityNucleationModelBase () override
 destructor
Public Member Functions inherited from mfront::bbrick::PorosityNucleationModelBase
void completeVariableDeclaration (BehaviourDescription &, const AbstractBehaviourDSL &, const std::map< std::string, std::shared_ptr< bbrick::InelasticFlow > > &, const std::string &) const override
 complete the variable description
 ~PorosityNucleationModelBase () override
 destructor
Public Member Functions inherited from mfront::bbrick::PorosityNucleationModel
virtual ~PorosityNucleationModel ()
 destructor

Protected Member Functions

virtual std::string getModelName () const =0
virtual bool requiresLimitOnNucleationPorosity () const =0
Protected Member Functions inherited from mfront::bbrick::PorosityNucleationModelBase
virtual std::vector< MaterialCoefficientDescription > getMaterialCoefficientDescriptions () const

Protected Attributes

BehaviourDescription::MaterialProperty fmax
Protected Attributes inherited from mfront::bbrick::PorosityNucleationModelBase
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

A base class for nucleation models of the form:

\[\dfrac{\mathrm{d}f}{\mathrm{d}t}=An(p)\,\dfrac{\mathrm{d}p}{\mathrm{d}t} \]

where:

  • \(f\) is the nucleated porosity.
  • \(p\) is the total equivalent plastic strain.

Member Function Documentation

◆ endTreatment()

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

Reimplemented from mfront::bbrick::PorosityNucleationModelBase.

◆ getModelName()

virtual std::string mfront::bbrick::StrainBasedPorosityNucleationModelBase::getModelName ( ) const
nodiscardprotectedpure virtual

◆ getOptions()

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

Reimplemented from mfront::bbrick::PorosityNucleationModelBase.

◆ initialize()

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

Reimplemented from mfront::bbrick::PorosityNucleationModelBase.

◆ requiresLimitOnNucleationPorosity()

virtual bool mfront::bbrick::StrainBasedPorosityNucleationModelBase::requiresLimitOnNucleationPorosity ( ) const
nodiscardprotectedpure virtual
Returns
a boolean stating if the nucleated porosity of the underlying nucleation model must be limited.

Implemented in mfront::bbrick::ChuNeedleman1980StrainBasedPorosityNucleationModel, and mfront::bbrick::PowerLawStrainBasedPorosityNucleationModel.

◆ requiresSavingNucleatedPorosity()

bool mfront::bbrick::StrainBasedPorosityNucleationModelBase::requiresSavingNucleatedPorosity ( ) const
nodiscardfinalvirtual
Returns
a boolean stating if the nucleated porosity must be saved

Implements mfront::bbrick::PorosityNucleationModelBase.

◆ updateNextEstimateOfThePorosityIncrement()

std::string mfront::bbrick::StrainBasedPorosityNucleationModelBase::updateNextEstimateOfThePorosityIncrement ( const BehaviourDescription & ,
const std::map< std::string, std::shared_ptr< bbrick::InelasticFlow > > & ,
const std::string &  ) const
nodiscardoverridevirtual
Returns
the code updating the next estimate of the porosity increment with the contribution of this nucleation model.
Parameters
[in]bdbehaviour description
[in]iflowslist of inelastic flows and their associated ids
[in]idporosity nucleation model id

Implements mfront::bbrick::PorosityNucleationModel.


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