OOFEM 3.0
Loading...
Searching...
No Matches
oofem::LatticePlasticityDamageStatus Class Reference

#include <latticeplasticitydamage.h>

Inheritance diagram for oofem::LatticePlasticityDamageStatus:
Collaboration diagram for oofem::LatticePlasticityDamageStatus:

Public Member Functions

 LatticePlasticityDamageStatus (int n, Domain *d, GaussPoint *g)
 Constructor.
double giveKappaP () const
double giveTempKappaP () const
double giveKappaDOne () const
double giveKappaDTwo () const
double giveTempKappaDOne () const
double giveTempKappaDTwo () const
void setTempKappaP (double newKappa)
void setTempKappaDOne (double newKappa)
void setTempKappaDTwo (double newKappa)
double giveDamage () const
double giveTempDamage () const
void setTempDamage (double newDamage)
int giveCompressionFlag () const
void setCompressionFlag (int flag)
void printOutputAt (FILE *file, TimeStep *tStep) const override
 Print receiver's output to given stream.
const char * giveClassName () const override
void initTempStatus () override
void updateYourself (TimeStep *) override
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
Public Member Functions inherited from oofem::LatticeMaterialStatus
 LatticeMaterialStatus (GaussPoint *g)
const FloatArrayF< 6 > & giveLatticeStrain () const
 Returns lattice strain.
const FloatArrayF< 6 > & giveTempLatticeStrain () const
 Returns lattice strain.
const FloatArrayF< 6 > & giveReducedLatticeStrain () const
 Returns reduced lattice strain.
const FloatArrayF< 6 > & giveTempReducedLatticeStrain () const
 Returns temp reduced lattice strain.
const FloatArrayF< 6 > & givePlasticLatticeStrain () const
 Returns plastic lattice strain.
const FloatArrayF< 6 > & giveTempPlasticLatticeStrain () const
 Returns temp plastic lattice strain.
const FloatArrayF< 6 > & giveOldPlasticLatticeStrain () const
 Returns plastic lattice strain.
const FloatArrayF< 6 > & giveLatticeStress () const
 Returns lattice stress.
const FloatArrayF< 6 > & giveTempLatticeStress () const
 Returns temp lattice stress.
const FloatArrayF< 6 > & giveTempDamageLatticeStrain () const
 Returns temp damage lattice strain.
void letTempLatticeStrainBe (const FloatArrayF< 6 > &v)
 Assigns the temp value of lattice strain.
void letTempReducedLatticeStrainBe (const FloatArrayF< 6 > &v)
 Assigns the temp value of lattice strain.
void letTempPlasticLatticeStrainBe (const FloatArrayF< 6 > &v)
 Assigns the temp value of lattice strain.
void letTempLatticeStressBe (const FloatArrayF< 6 > &v)
 Assigns the temp value of lattice stress.
void letTempDamageLatticeStrainBe (const FloatArrayF< 6 > &v)
 Assigns the temp value of damage lattice strain.
void setTempNormalLatticeStress (double val)
 Sets the temp normalStress.
double giveNormalLatticeStress () const
 Gives the last equilibrated normal stress.
double giveTempNormalLatticeStress () const
 Gives the last equilibrated normal stress.
void setTempCrackFlag (int val)
 Sets the temp_crack_flag.
void setTempCrackWidth (double val)
 Sets the temp_crack_width.
virtual int giveCrackFlag () const
virtual double giveCrackWidth () const
double giveLe () const
 Returns characteristic length stored in receiver.
void setLe (double ls)
 Sets characteristic length to given value.
virtual int hasBeenUpdated () const
virtual double giveDissipation () const
double giveTempDissipation () const
void setTempDissipation (double newDiss)
virtual double giveDeltaDissipation () const
double giveTempDeltaDissipation () const
void setTempDeltaDissipation (double newDiss)
InterfacegiveInterface (InterfaceType) override
Public Member Functions inherited from oofem::MaterialStatus
 MaterialStatus (GaussPoint *g)
void printOutputAt (FILE *file, TimeStep *tStep) const override
 Print receiver's output to given stream.
void updateYourself (TimeStep *) override
virtual bool giveMaterialProperty (int propID, double &value)
virtual void setMaterialProperty (int propID, double value)
Public Member Functions inherited from oofem::IntegrationPointStatus
 IntegrationPointStatus (GaussPoint *g)
virtual ~IntegrationPointStatus ()=default
 Destructor.
virtual void setStatusVariable (int varID, double value)
Public Member Functions inherited from oofem::RandomMaterialStatusExtensionInterface
 RandomMaterialStatusExtensionInterface ()
virtual ~RandomMaterialStatusExtensionInterface ()
 Destructor.
bool _giveProperty (int key, double &value)
void _setProperty (int key, double value)
Public Member Functions inherited from oofem::Interface
 Interface ()
 Constructor.
virtual ~Interface ()

Protected Attributes

double kappaP = 0.
double tempKappaP = 0.
double kappaDOne = 0.
double kappaDTwo = 0.
double tempKappaDOne = 0.
double tempKappaDTwo = 0.
double damage = 0.
double tempDamage = 0.
int compressionFlag = 0
Protected Attributes inherited from oofem::LatticeMaterialStatus
FloatArrayF< 6 > latticeStrain
 Equilibriated lattice strain.
FloatArrayF< 6 > tempLatticeStrain
 Non-equilibriated lattice strain.
FloatArrayF< 6 > latticeStress
 Equilibriated lattice stress.
FloatArrayF< 6 > tempLatticeStress
 Non-equilibriated lattice stress.
FloatArrayF< 6 > reducedLatticeStrain
 Equilibriated reduced lattice strain, which is free of thermal strain.
FloatArrayF< 6 > tempReducedLatticeStrain
 Non-equilibrated reduced lattice strain, which is free of thermal strain.
FloatArrayF< 6 > plasticLatticeStrain
 Equilibriated plastic lattice strain.
FloatArrayF< 6 > tempPlasticLatticeStrain
 Non-equilibrated plastic lattice strain.
FloatArrayF< 6 > oldPlasticLatticeStrain
 Non-equilibrated plastic lattice strain.
FloatArrayF< 6 > damageLatticeStrain
 Equilibriated damage lattice strain.
FloatArrayF< 6 > tempDamageLatticeStrain
 Non-equilibriated damage lattice strain.
double normalLatticeStress = 0.
 Equilibrated normal stress.
double tempNormalLatticeStress = 0.
 Non-equilibrated normal stress.
double dissipation = 0.
 dissipation
double tempDissipation = 0.
 Non-equilibrated increment of dissipation.
double deltaDissipation = 0.
 Increment of dissipation.
double tempDeltaDissipation = 0.
 Non-equilibrated increment of dissipation.
double le = 0.
 Characteristic length.
int crackFlag = 0
int tempCrackFlag = 0
 Non-equilibrated temp flag.
double tempCrackWidth = 0.
 Non-equilibrated crack width.
double crackWidth = 0.
 Crack width.
int updateFlag = 0
Protected Attributes inherited from oofem::IntegrationPointStatus
GaussPointgp
 Associated integration point.
Protected Attributes inherited from oofem::RandomMaterialStatusExtensionInterface
Dictionary randProperties
 Dictionary containing material model values.

Detailed Description

This class implements associated Material Status to LatticePlasticityDamage.

Author
: Peter Grassl

Definition at line 65 of file latticeplasticitydamage.h.

Constructor & Destructor Documentation

◆ LatticePlasticityDamageStatus()

oofem::LatticePlasticityDamageStatus::LatticePlasticityDamageStatus ( int n,
Domain * d,
GaussPoint * g )

Member Function Documentation

◆ giveClassName()

const char * oofem::LatticePlasticityDamageStatus::giveClassName ( ) const
inlineoverridevirtual

Reimplemented from oofem::LatticeMaterialStatus.

Reimplemented in oofem::LatticePlasticityDamageViscoelasticStatus.

Definition at line 119 of file latticeplasticitydamage.h.

◆ giveCompressionFlag()

int oofem::LatticePlasticityDamageStatus::giveCompressionFlag ( ) const
inline

Definition at line 113 of file latticeplasticitydamage.h.

References compressionFlag.

◆ giveDamage()

double oofem::LatticePlasticityDamageStatus::giveDamage ( ) const
inline

Definition at line 107 of file latticeplasticitydamage.h.

References damage.

◆ giveKappaDOne()

double oofem::LatticePlasticityDamageStatus::giveKappaDOne ( ) const
inline

Definition at line 95 of file latticeplasticitydamage.h.

References kappaDOne.

◆ giveKappaDTwo()

double oofem::LatticePlasticityDamageStatus::giveKappaDTwo ( ) const
inline

Definition at line 96 of file latticeplasticitydamage.h.

References kappaDTwo.

◆ giveKappaP()

double oofem::LatticePlasticityDamageStatus::giveKappaP ( ) const
inline

Definition at line 91 of file latticeplasticitydamage.h.

References kappaP.

Referenced by oofem::LatticePlasticityDamage::performPlasticityReturn().

◆ giveTempDamage()

double oofem::LatticePlasticityDamageStatus::giveTempDamage ( ) const
inline

◆ giveTempKappaDOne()

double oofem::LatticePlasticityDamageStatus::giveTempKappaDOne ( ) const
inline

Definition at line 98 of file latticeplasticitydamage.h.

References tempKappaDOne.

◆ giveTempKappaDTwo()

double oofem::LatticePlasticityDamageStatus::giveTempKappaDTwo ( ) const
inline

Definition at line 99 of file latticeplasticitydamage.h.

References tempKappaDTwo.

◆ giveTempKappaP()

double oofem::LatticePlasticityDamageStatus::giveTempKappaP ( ) const
inline

Definition at line 93 of file latticeplasticitydamage.h.

References tempKappaP.

◆ initTempStatus()

void oofem::LatticePlasticityDamageStatus::initTempStatus ( )
overridevirtual

Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables.

Reimplemented from oofem::LatticeMaterialStatus.

Reimplemented in oofem::LatticePlasticityDamageViscoelasticStatus.

Definition at line 923 of file latticeplasticitydamage.C.

References damage, oofem::LatticeMaterialStatus::initTempStatus(), kappaDOne, kappaDTwo, kappaP, tempDamage, tempKappaDOne, tempKappaDTwo, and tempKappaP.

Referenced by oofem::LatticePlasticityDamage::giveLatticeStress3d(), and oofem::LatticePlasticityDamageViscoelasticStatus::initTempStatus().

◆ printOutputAt()

◆ restoreContext()

void oofem::LatticePlasticityDamageStatus::restoreContext ( DataStream & stream,
ContextMode mode )
overridevirtual

Restores the receiver state previously written in stream.

See also
saveContext
Parameters
streamInput stream.
modeDetermines amount of info available in stream (state, definition, ...).
Exceptions
throwsan ContextIOERR exception if error encountered.

Reimplemented from oofem::LatticeMaterialStatus.

Reimplemented in oofem::LatticePlasticityDamageViscoelasticStatus.

Definition at line 987 of file latticeplasticitydamage.C.

References oofem::CIO_IOERR, damage, kappaDOne, kappaDTwo, kappaP, oofem::DataStream::read(), oofem::LatticeMaterialStatus::restoreContext(), and THROW_CIOERR.

Referenced by oofem::LatticePlasticityDamageViscoelasticStatus::restoreContext().

◆ saveContext()

void oofem::LatticePlasticityDamageStatus::saveContext ( DataStream & stream,
ContextMode mode )
overridevirtual

Stores receiver state to output stream.

Parameters
streamOutput stream.
modeDetermines amount of info required in stream (state, definition, ...).
Exceptions
throwsan ContextIOERR exception if error encountered.

Reimplemented from oofem::LatticeMaterialStatus.

Reimplemented in oofem::LatticePlasticityDamageViscoelasticStatus.

Definition at line 963 of file latticeplasticitydamage.C.

References oofem::CIO_IOERR, damage, kappaDOne, kappaDTwo, kappaP, oofem::LatticeMaterialStatus::saveContext(), THROW_CIOERR, and oofem::DataStream::write().

Referenced by oofem::LatticePlasticityDamageViscoelasticStatus::saveContext().

◆ setCompressionFlag()

void oofem::LatticePlasticityDamageStatus::setCompressionFlag ( int flag)
inline

Definition at line 115 of file latticeplasticitydamage.h.

References compressionFlag.

◆ setTempDamage()

void oofem::LatticePlasticityDamageStatus::setTempDamage ( double newDamage)
inline

Definition at line 111 of file latticeplasticitydamage.h.

References tempDamage.

◆ setTempKappaDOne()

void oofem::LatticePlasticityDamageStatus::setTempKappaDOne ( double newKappa)
inline

Definition at line 103 of file latticeplasticitydamage.h.

References tempKappaDOne.

◆ setTempKappaDTwo()

void oofem::LatticePlasticityDamageStatus::setTempKappaDTwo ( double newKappa)
inline

Definition at line 105 of file latticeplasticitydamage.h.

References tempKappaDTwo.

◆ setTempKappaP()

void oofem::LatticePlasticityDamageStatus::setTempKappaP ( double newKappa)
inline

Definition at line 101 of file latticeplasticitydamage.h.

References tempKappaP.

◆ updateYourself()

void oofem::LatticePlasticityDamageStatus::updateYourself ( TimeStep * )
overridevirtual

Update equilibrium history variables according to temp-variables. Invoked, after new equilibrium state has been reached.

Reimplemented from oofem::LatticeMaterialStatus.

Reimplemented in oofem::LatticePlasticityDamageViscoelasticStatus.

Definition at line 947 of file latticeplasticitydamage.C.

References damage, kappaDOne, kappaDTwo, kappaP, tempDamage, tempKappaDOne, tempKappaDTwo, tempKappaP, and oofem::LatticeMaterialStatus::updateYourself().

Referenced by oofem::LatticePlasticityDamageViscoelasticStatus::updateYourself().

Member Data Documentation

◆ compressionFlag

int oofem::LatticePlasticityDamageStatus::compressionFlag = 0
protected

Definition at line 83 of file latticeplasticitydamage.h.

Referenced by giveCompressionFlag(), and setCompressionFlag().

◆ damage

double oofem::LatticePlasticityDamageStatus::damage = 0.
protected

◆ kappaDOne

double oofem::LatticePlasticityDamageStatus::kappaDOne = 0.
protected

◆ kappaDTwo

double oofem::LatticePlasticityDamageStatus::kappaDTwo = 0.
protected

◆ kappaP

double oofem::LatticePlasticityDamageStatus::kappaP = 0.
protected

◆ tempDamage

double oofem::LatticePlasticityDamageStatus::tempDamage = 0.
protected

◆ tempKappaDOne

double oofem::LatticePlasticityDamageStatus::tempKappaDOne = 0.
protected

◆ tempKappaDTwo

double oofem::LatticePlasticityDamageStatus::tempKappaDTwo = 0.
protected

◆ tempKappaP

double oofem::LatticePlasticityDamageStatus::tempKappaP = 0.
protected

The documentation for this class was generated from the following files:

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011