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

#include <latticedamage.h>

Inheritance diagram for oofem::LatticeDamageStatus:
Collaboration diagram for oofem::LatticeDamageStatus:

Public Member Functions

 LatticeDamageStatus (GaussPoint *g)
double giveKappa () const
 Returns the last equilibrated scalar measure of the largest strain level.
double giveTempKappa () const
 Returns the temp. scalar measure of the largest strain level.
void setTempKappa (double newKappa)
 Sets the temp scalar measure of the largest strain level to given value.
double giveEquivalentStrain () const
 Returns the last equilibrated scalar measure of the largest strain level.
double giveTempEquivalentStrain () const
 Returns the temp. scalar measure of the largest strain level.
void setTempEquivalentStrain (double newEquivStrain)
 Sets the temp scalar measure of the largest strain level to given value.
double giveDamage () const
 Returns the last equilibrated damage level.
double giveTempDamage () const
 Returns the temp. damage level.
void setTempDamage (double newDamage)
 Sets the temp damage level to given value.
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 setE0 (double val)
 Set random e0.
void setBiotCoefficientInStatus (double variable)
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 char * giveClassName () const override
void initTempStatus () override
void updateYourself (TimeStep *) override
void printOutputAt (FILE *file, TimeStep *tStep) const override
 Print receiver's output to given stream.
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
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) 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 kappa = 0.
 scalar measure of the largest strain level ever reached in material
double tempKappa = 0.
 non-equilibrated scalar measure of the largest strain level
double equivStrain = 0.
 scalar measure of the largest strain level ever reached in material
double tempEquivStrain = 0.
 non-equilibrated scalar measure of the largest strain level
double damage = 0.
 damage level of material
double tempDamage = 0.
 non-equilibrated damage level of material
double e0 = 0.
 random material parameter stored in status, since each gp has a differnet value.
double biot = 0.
 computed biot coefficient
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 LatticeDamage.

Definition at line 61 of file latticedamage.h.

Constructor & Destructor Documentation

◆ LatticeDamageStatus()

oofem::LatticeDamageStatus::LatticeDamageStatus ( GaussPoint * g)

Member Function Documentation

◆ giveClassName()

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

Implements oofem::IntegrationPointStatus.

Reimplemented in oofem::LatticeDamageViscoelasticStatus.

Definition at line 119 of file latticedamage.h.

◆ giveDamage()

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

Returns the last equilibrated damage level.

Definition at line 110 of file latticedamage.h.

References damage.

Referenced by oofem::LatticeDamage::giveIPValue().

◆ giveEquivalentStrain()

double oofem::LatticeDamageStatus::giveEquivalentStrain ( ) const
inline

Returns the last equilibrated scalar measure of the largest strain level.

Definition at line 102 of file latticedamage.h.

References equivStrain.

◆ giveKappa()

double oofem::LatticeDamageStatus::giveKappa ( ) const
inline

Returns the last equilibrated scalar measure of the largest strain level.

Definition at line 94 of file latticedamage.h.

References kappa.

◆ giveTempDamage()

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

Returns the temp. damage level.

Definition at line 112 of file latticedamage.h.

References tempDamage.

Referenced by oofem::LatticeDamage::give2dLatticeStiffnessMatrix().

◆ giveTempEquivalentStrain()

double oofem::LatticeDamageStatus::giveTempEquivalentStrain ( ) const
inline

Returns the temp. scalar measure of the largest strain level.

Definition at line 104 of file latticedamage.h.

References tempEquivStrain.

◆ giveTempKappa()

double oofem::LatticeDamageStatus::giveTempKappa ( ) const
inline

Returns the temp. scalar measure of the largest strain level.

Definition at line 96 of file latticedamage.h.

References tempKappa.

◆ initTempStatus()

void oofem::LatticeDamageStatus::initTempStatus ( )
overridevirtual

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

Reimplemented from oofem::MaterialStatus.

Reimplemented in oofem::LatticeDamageViscoelasticStatus.

Definition at line 566 of file latticedamage.C.

References damage, equivStrain, kappa, tempDamage, tempEquivStrain, and tempKappa.

◆ printOutputAt()

void oofem::LatticeDamageStatus::printOutputAt ( FILE * file,
TimeStep * tStep ) const
overridevirtual

◆ restoreContext()

void oofem::LatticeDamageStatus::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::IntegrationPointStatus.

Reimplemented in oofem::LatticeDamageViscoelasticStatus.

Definition at line 629 of file latticedamage.C.

References biot, oofem::CIO_IOERR, damage, e0, equivStrain, kappa, oofem::DataStream::read(), and THROW_CIOERR.

◆ saveContext()

void oofem::LatticeDamageStatus::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::IntegrationPointStatus.

Reimplemented in oofem::LatticeDamageViscoelasticStatus.

Definition at line 599 of file latticedamage.C.

References biot, oofem::CIO_IOERR, damage, e0, equivStrain, kappa, THROW_CIOERR, and oofem::DataStream::write().

◆ setBiotCoefficientInStatus()

void oofem::LatticeDamageStatus::setBiotCoefficientInStatus ( double variable)
inline

Definition at line 128 of file latticedamage.h.

References biot.

◆ setE0()

void oofem::LatticeDamageStatus::setE0 ( double val)
inline

Set random e0.

Definition at line 126 of file latticedamage.h.

References e0.

◆ setTempDamage()

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

Sets the temp damage level to given value.

Definition at line 114 of file latticedamage.h.

References tempDamage.

◆ setTempEquivalentStrain()

void oofem::LatticeDamageStatus::setTempEquivalentStrain ( double newEquivStrain)
inline

Sets the temp scalar measure of the largest strain level to given value.

Definition at line 106 of file latticedamage.h.

References tempEquivStrain.

◆ setTempKappa()

void oofem::LatticeDamageStatus::setTempKappa ( double newKappa)
inline

Sets the temp scalar measure of the largest strain level to given value.

Definition at line 99 of file latticedamage.h.

References tempKappa.

◆ updateYourself()

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

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

Reimplemented from oofem::IntegrationPointStatus.

Reimplemented in oofem::LatticeDamageViscoelasticStatus.

Definition at line 584 of file latticedamage.C.

References damage, equivStrain, kappa, tempDamage, tempEquivStrain, and tempKappa.

Member Data Documentation

◆ biot

double oofem::LatticeDamageStatus::biot = 0.
protected

computed biot coefficient

Definition at line 88 of file latticedamage.h.

Referenced by restoreContext(), saveContext(), and setBiotCoefficientInStatus().

◆ damage

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

damage level of material

Definition at line 79 of file latticedamage.h.

Referenced by giveDamage(), initTempStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().

◆ e0

double oofem::LatticeDamageStatus::e0 = 0.
protected

random material parameter stored in status, since each gp has a differnet value.

Definition at line 85 of file latticedamage.h.

Referenced by printOutputAt(), restoreContext(), saveContext(), and setE0().

◆ equivStrain

double oofem::LatticeDamageStatus::equivStrain = 0.
protected

scalar measure of the largest strain level ever reached in material

Definition at line 73 of file latticedamage.h.

Referenced by giveEquivalentStrain(), initTempStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().

◆ kappa

double oofem::LatticeDamageStatus::kappa = 0.
protected

scalar measure of the largest strain level ever reached in material

Definition at line 67 of file latticedamage.h.

Referenced by giveKappa(), initTempStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().

◆ tempDamage

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

non-equilibrated damage level of material

Definition at line 82 of file latticedamage.h.

Referenced by giveTempDamage(), initTempStatus(), setTempDamage(), and updateYourself().

◆ tempEquivStrain

double oofem::LatticeDamageStatus::tempEquivStrain = 0.
protected

non-equilibrated scalar measure of the largest strain level

Definition at line 76 of file latticedamage.h.

Referenced by giveTempEquivalentStrain(), initTempStatus(), setTempEquivalentStrain(), and updateYourself().

◆ tempKappa

double oofem::LatticeDamageStatus::tempKappa = 0.
protected

non-equilibrated scalar measure of the largest strain level

Definition at line 70 of file latticedamage.h.

Referenced by giveTempKappa(), initTempStatus(), setTempKappa(), and updateYourself().


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