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

#include <trabbone3d.h>

Inheritance diagram for oofem::TrabBone3DStatus:
Collaboration diagram for oofem::TrabBone3DStatus:

Public Member Functions

 TrabBone3DStatus (GaussPoint *g)
void printOutputAt (FILE *file, TimeStep *tStep) const override
 Print receiver's output to given stream.
double giveKappa () const
double giveTempKappa () const
double giveDam () const
double giveTempDam () const
double giveTempPSED () const
double giveTSED () const
double giveTempTSED () const
double giveBeta () const
double giveDensG () const
const FloatArrayF< 6 > & givePlasDef () const
const FloatArrayF< 6 > & giveTempPlasDef () const
const FloatArrayF< 6 > & givePlasFlowDirec () const
const FloatArrayF< 6 > & giveTempEffectiveStress () const
const FloatMatrixF< 6, 6 > & giveSSaTensor () const
void setTempKappa (double al)
void setKappa (double values)
void setTempDam (double da)
void setTempPSED (double pse)
void setTempTSED (double tse)
void setBeta (double be)
void setTempEffectiveStress (const FloatArrayF< 6 > &sc)
void setTempPlasDef (const FloatArrayF< 6 > &epsip)
void setPlasFlowDirec (const FloatArrayF< 6 > &pfd)
void setSSaTensor (const FloatMatrixF< 6, 6 > &ssa)
void setDensG (double g)
const char * giveClassName () const override
void initTempStatus () override
void updateYourself (TimeStep *tStep) override
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
Public Member Functions inherited from oofem::StructuralMaterialStatus
 StructuralMaterialStatus (GaussPoint *g)
 Constructor. Creates new StructuralMaterialStatus with IntegrationPoint g.
const FloatArraygiveStrainVector () const
 Returns the const pointer to receiver's strain vector.
const FloatArraygiveStressVector () const
 Returns the const pointer to receiver's stress vector.
const FloatArraygivePVector () const
 Returns the const pointer to receiver's first Piola-Kirchhoff stress vector.
const FloatArraygiveCVector () const
 Returns the const pointer to receiver's Cauchy stress vector.
const FloatArraygiveFVector () const
 Returns the const pointer to receiver's deformation gradient vector.
const FloatArraygiveTempStrainVector () const
 Returns the const pointer to receiver's temporary strain vector.
const FloatArraygiveTempStressVector () const
 Returns the const pointer to receiver's temporary stress vector.
const FloatArraygiveTempPVector () const
 Returns the const pointer to receiver's temporary first Piola-Kirchhoff stress vector.
const FloatArraygiveTempCVector () const
 Returns the const pointer to receiver's temporary Cauchy stress vector.
const FloatArraygiveTempFVector () const
 Returns the const pointer to receiver's temporary deformation gradient vector.
void letStrainVectorBe (const FloatArray &v)
 Assigns strain vector to given vector v.
void letStressVectorBe (const FloatArray &v)
 Assigns stressVector to given vector v.
void letPVectorBe (const FloatArray &v)
 Assigns PVector to given vector v.
void letCVectorBe (const FloatArray &v)
 Assigns CVector to given vector v.
void letFVectorBe (const FloatArray &v)
 Assigns FVector to given vector v.
void letTempStressVectorBe (const FloatArray &v)
 Assigns tempStressVector to given vector v.
void letTempStrainVectorBe (const FloatArray &v)
 Assigns tempStrainVector to given vector v.
void letTempPVectorBe (const FloatArray &v)
 Assigns tempPVector to given vector v.
void letTempCVectorBe (const FloatArray &v)
 Assigns tempPVector to given vector v.
void letTempFVectorBe (const FloatArray &v)
 Assigns tempFVector to given vector v.
void copyStateVariables (const MaterialStatus &iStatus) override
 Functions for MaterialStatusMapperInterface.
void addStateVariables (const MaterialStatus &iStatus) override
Public Member Functions inherited from oofem::MaterialStatus
 MaterialStatus (GaussPoint *g)
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)
virtual InterfacegiveInterface (InterfaceType t)
Public Member Functions inherited from oofem::MaterialStatusMapperInterface
 MaterialStatusMapperInterface ()
virtual ~MaterialStatusMapperInterface ()
virtual int MSMI_map (const GaussPoint &iGP, const Domain &iOldDom, Set &sourceSet, const TimeStep &iTStep, MaterialStatus &oStatus)
virtual int MSMI_map_cz (const GaussPoint &iGP, const Domain &iOldDom, Set &sourceSet, const TimeStep &iTStep, MaterialStatus &oStatus)
virtual int MSMI_update (const GaussPoint &iGP, const TimeStep &iTStep)
virtual int MSMI_finish (const TimeStep &iTStep)

Protected Attributes

double kappa = 0.
double tempKappa = 0
double dam = 0.
double tempDam = 0.
double tempPSED = 0.
double tempTSED = 0.
double tsed = 0.
double beta = 0.
FloatArrayF< 6 > tempPlasDef
FloatArrayF< 6 > plasDef
FloatArrayF< 6 > effectiveStress
FloatArrayF< 6 > tempEffectiveStress
FloatArrayF< 6 > plasFlowDirec
FloatArrayF< 6 > tempStrain
FloatMatrixF< 6, 6 > SSaTensor
double densG = 1.
 Densificator criterion.
Protected Attributes inherited from oofem::StructuralMaterialStatus
FloatArray strainVector
 Equilibrated strain vector in reduced form.
FloatArray stressVector
 Equilibrated stress vector in reduced form.
FloatArray tempStressVector
 Temporary stress vector in reduced form (increments are used mainly in nonlinear analysis).
FloatArray tempStrainVector
 Temporary strain vector in reduced form (to find balanced state).
FloatArray PVector
 Equilibrated first Piola-Kirchhoff stress vector.
FloatArray tempPVector
 Temporary first Piola-Kirchhoff stress vector (to find balanced state).
FloatArray CVector
 Equilibrated Cauchy stress vector.
FloatArray tempCVector
 Temporary Cauchy stress vector (to find balanced state).
FloatArray FVector
 Equilibrated deformation gradient in reduced form.
FloatArray tempFVector
 Temporary deformation gradient in reduced form (to find balanced state).
Protected Attributes inherited from oofem::IntegrationPointStatus
GaussPointgp
 Associated integration point.
Protected Attributes inherited from oofem::MaterialStatusMapperInterface
std::unique_ptr< MaterialMappingAlgorithmmpMaterialMapper

Detailed Description

This class implements associated Material Status to TrabBone3D (trabecular bone material). It is attribute of matStatusDictionary at every GaussPoint, for which this material is active.

Definition at line 102 of file trabbone3d.h.

Constructor & Destructor Documentation

◆ TrabBone3DStatus()

Member Function Documentation

◆ giveBeta()

double oofem::TrabBone3DStatus::giveBeta ( ) const
inline

Definition at line 132 of file trabbone3d.h.

References beta.

◆ giveClassName()

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

Reimplemented from oofem::StructuralMaterialStatus.

Reimplemented in oofem::TrabBoneGrad3DStatus, and oofem::TrabBoneNL3DStatus.

Definition at line 154 of file trabbone3d.h.

◆ giveDam()

double oofem::TrabBone3DStatus::giveDam ( ) const
inline

Definition at line 127 of file trabbone3d.h.

References dam.

◆ giveDensG()

double oofem::TrabBone3DStatus::giveDensG ( ) const
inline

Definition at line 133 of file trabbone3d.h.

References densG.

◆ giveKappa()

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

Definition at line 125 of file trabbone3d.h.

References kappa.

Referenced by oofem::TrabBoneGrad3D::give3dKappaMatrix().

◆ givePlasDef()

const FloatArrayF< 6 > & oofem::TrabBone3DStatus::givePlasDef ( ) const
inline

Definition at line 135 of file trabbone3d.h.

References plasDef.

◆ givePlasFlowDirec()

const FloatArrayF< 6 > & oofem::TrabBone3DStatus::givePlasFlowDirec ( ) const
inline

Definition at line 137 of file trabbone3d.h.

References plasFlowDirec.

◆ giveSSaTensor()

const FloatMatrixF< 6, 6 > & oofem::TrabBone3DStatus::giveSSaTensor ( ) const
inline

Definition at line 139 of file trabbone3d.h.

References SSaTensor.

◆ giveTempDam()

double oofem::TrabBone3DStatus::giveTempDam ( ) const
inline

Definition at line 128 of file trabbone3d.h.

References tempDam.

◆ giveTempEffectiveStress()

const FloatArrayF< 6 > & oofem::TrabBone3DStatus::giveTempEffectiveStress ( ) const
inline

Definition at line 138 of file trabbone3d.h.

References tempEffectiveStress.

◆ giveTempKappa()

◆ giveTempPlasDef()

const FloatArrayF< 6 > & oofem::TrabBone3DStatus::giveTempPlasDef ( ) const
inline

Definition at line 136 of file trabbone3d.h.

References tempPlasDef.

◆ giveTempPSED()

double oofem::TrabBone3DStatus::giveTempPSED ( ) const
inline

Definition at line 129 of file trabbone3d.h.

References tempPSED.

◆ giveTempTSED()

double oofem::TrabBone3DStatus::giveTempTSED ( ) const
inline

Definition at line 131 of file trabbone3d.h.

References tempTSED.

◆ giveTSED()

double oofem::TrabBone3DStatus::giveTSED ( ) const
inline

Definition at line 130 of file trabbone3d.h.

References tsed.

Referenced by oofem::TrabBone3D::computePlasStrainEnerDensity().

◆ initTempStatus()

void oofem::TrabBone3DStatus::initTempStatus ( )
overridevirtual

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

Reimplemented from oofem::StructuralMaterialStatus.

Reimplemented in oofem::TrabBoneGrad3DStatus, and oofem::TrabBoneNL3DStatus.

Definition at line 996 of file trabbone3d.C.

References dam, densG, kappa, plasDef, tempDam, tempKappa, tempPlasDef, tempTSED, and tsed.

◆ printOutputAt()

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

Print receiver's output to given stream.

Reimplemented from oofem::StructuralMaterialStatus.

Reimplemented in oofem::TrabBoneGrad3DStatus, and oofem::TrabBoneNL3DStatus.

Definition at line 985 of file trabbone3d.C.

References plasDef, tempDam, tempKappa, tempPSED, and tempTSED.

◆ restoreContext()

void oofem::TrabBone3DStatus::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::StructuralMaterialStatus.

Definition at line 1070 of file trabbone3d.C.

References beta, oofem::CIO_IOERR, oofem::CIO_OK, dam, effectiveStress, kappa, plasDef, plasFlowDirec, oofem::DataStream::read(), and THROW_CIOERR.

◆ saveContext()

void oofem::TrabBone3DStatus::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::StructuralMaterialStatus.

Definition at line 1019 of file trabbone3d.C.

References beta, oofem::CIO_IOERR, oofem::CIO_OK, dam, effectiveStress, kappa, plasDef, plasFlowDirec, THROW_CIOERR, and oofem::DataStream::write().

◆ setBeta()

void oofem::TrabBone3DStatus::setBeta ( double be)
inline

Definition at line 146 of file trabbone3d.h.

References beta.

Referenced by oofem::TrabBone3D::projectOnYieldSurface().

◆ setDensG()

void oofem::TrabBone3DStatus::setDensG ( double g)
inline

Definition at line 152 of file trabbone3d.h.

References densG.

◆ setKappa()

void oofem::TrabBone3DStatus::setKappa ( double values)
inline

Definition at line 142 of file trabbone3d.h.

References kappa.

◆ setPlasFlowDirec()

void oofem::TrabBone3DStatus::setPlasFlowDirec ( const FloatArrayF< 6 > & pfd)
inline

Definition at line 149 of file trabbone3d.h.

References plasFlowDirec.

Referenced by oofem::TrabBone3D::projectOnYieldSurface().

◆ setSSaTensor()

void oofem::TrabBone3DStatus::setSSaTensor ( const FloatMatrixF< 6, 6 > & ssa)
inline

Definition at line 150 of file trabbone3d.h.

References SSaTensor.

Referenced by oofem::TrabBone3D::projectOnYieldSurface().

◆ setTempDam()

void oofem::TrabBone3DStatus::setTempDam ( double da)
inline

Definition at line 143 of file trabbone3d.h.

References tempDam.

◆ setTempEffectiveStress()

void oofem::TrabBone3DStatus::setTempEffectiveStress ( const FloatArrayF< 6 > & sc)
inline

Definition at line 147 of file trabbone3d.h.

References tempEffectiveStress.

◆ setTempKappa()

void oofem::TrabBone3DStatus::setTempKappa ( double al)
inline

Definition at line 141 of file trabbone3d.h.

References tempKappa.

◆ setTempPlasDef()

void oofem::TrabBone3DStatus::setTempPlasDef ( const FloatArrayF< 6 > & epsip)
inline

Definition at line 148 of file trabbone3d.h.

References tempPlasDef.

◆ setTempPSED()

void oofem::TrabBone3DStatus::setTempPSED ( double pse)
inline

Definition at line 144 of file trabbone3d.h.

References tempPSED.

◆ setTempTSED()

void oofem::TrabBone3DStatus::setTempTSED ( double tse)
inline

Definition at line 145 of file trabbone3d.h.

References tempTSED.

◆ updateYourself()

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

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

Reimplemented from oofem::StructuralMaterialStatus.

Reimplemented in oofem::TrabBoneGrad3DStatus, and oofem::TrabBoneNL3DStatus.

Definition at line 1008 of file trabbone3d.C.

References dam, kappa, plasDef, tempDam, tempKappa, tempPlasDef, tempTSED, and tsed.

Member Data Documentation

◆ beta

double oofem::TrabBone3DStatus::beta = 0.
protected

Definition at line 109 of file trabbone3d.h.

Referenced by giveBeta(), restoreContext(), saveContext(), and setBeta().

◆ dam

double oofem::TrabBone3DStatus::dam = 0.
protected

◆ densG

double oofem::TrabBone3DStatus::densG = 1.
protected

Densificator criterion.

Definition at line 118 of file trabbone3d.h.

Referenced by giveDensG(), initTempStatus(), and setDensG().

◆ effectiveStress

FloatArrayF<6> oofem::TrabBone3DStatus::effectiveStress
protected

Definition at line 112 of file trabbone3d.h.

Referenced by restoreContext(), and saveContext().

◆ kappa

◆ plasDef

◆ plasFlowDirec

FloatArrayF<6> oofem::TrabBone3DStatus::plasFlowDirec
protected

Definition at line 113 of file trabbone3d.h.

Referenced by givePlasFlowDirec(), restoreContext(), saveContext(), and setPlasFlowDirec().

◆ SSaTensor

FloatMatrixF<6,6> oofem::TrabBone3DStatus::SSaTensor
protected

Definition at line 115 of file trabbone3d.h.

Referenced by giveSSaTensor(), and setSSaTensor().

◆ tempDam

double oofem::TrabBone3DStatus::tempDam = 0.
protected

◆ tempEffectiveStress

FloatArrayF<6> oofem::TrabBone3DStatus::tempEffectiveStress
protected

Definition at line 112 of file trabbone3d.h.

Referenced by giveTempEffectiveStress(), and setTempEffectiveStress().

◆ tempKappa

double oofem::TrabBone3DStatus::tempKappa = 0
protected

◆ tempPlasDef

FloatArrayF<6> oofem::TrabBone3DStatus::tempPlasDef
protected

◆ tempPSED

double oofem::TrabBone3DStatus::tempPSED = 0.
protected

◆ tempStrain

FloatArrayF<6> oofem::TrabBone3DStatus::tempStrain
protected

Definition at line 113 of file trabbone3d.h.

◆ tempTSED

double oofem::TrabBone3DStatus::tempTSED = 0.
protected

◆ tsed

double oofem::TrabBone3DStatus::tsed = 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