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

#include <dustmat.h>

Inheritance diagram for oofem::DustMaterialStatus:
Collaboration diagram for oofem::DustMaterialStatus:

Public Types

enum  stateFlagValues {
  DM_Elastic , DM_Unloading , DM_Yielding1 , DM_Yielding2 ,
  DM_Yielding3
}
 Values of history variable stateFlag. More...

Public Member Functions

 DustMaterialStatus (GaussPoint *gp, double q0)
 Constructor.
void initTempStatus () override
void updateYourself (TimeStep *tStep) override
void printOutputAt (FILE *file, TimeStep *tStep) const override
 Print receiver's output to given stream.
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
const char * giveClassName () const override
const FloatArrayF< 6 > & givePlasticStrain () const
double giveVolumetricPlasticStrain () const
double giveQ () const
int giveStateFlag () const
const FloatArrayF< 6 > & giveTempPlasticStrain () const
double giveTempQ () const
int giveTempStateFlag () const
void letTempPlasticStrainBe (const FloatArray &v)
void letTempQBe (double v)
void letTempStateFlagBe (int v)
void letPlasticStrainBe (const FloatArrayF< 6 > &v)
void letQBe (double v)
void setBulkModulus (double v)
void setShearModulus (double v)
void setYoungsModulus (double v)
double giveBulkModulus () const
double giveShearModulus () const
double giveYoungsModulus () const
Public Member Functions inherited from oofem::StructuralMaterialStatus
 StructuralMaterialStatus (GaussPoint *g)
 Constructor. Creates new StructuralMaterialStatus with IntegrationPoint g.
void printOutputAt (FILE *file, TimeStep *tStep) const override
 Print receiver's output to given stream.
void initTempStatus () override
void updateYourself (TimeStep *tStep) override
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
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.
const char * giveClassName () const override
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

FloatArrayF< 6 > plasticStrain
 Plastic strain.
FloatArrayF< 6 > tempPlasticStrain
double q = 0
 Hardening parameter q.
double tempQ = 0
double bulkModulus = 0
 Current bulk modulus.
double shearModulus = 0
 Current shear modulus.
double youngsModulus = 0
 Current Young's modulus.
int stateFlag = 0
 Indicates the state (i.e. elastic, yielding, unloading) of the Gauss point.
int tempStateFlag = 0
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 material status for dust material model

See also
DustMaterial
Author
Jan Stransky

Definition at line 68 of file dustmat.h.

Member Enumeration Documentation

◆ stateFlagValues

Values of history variable stateFlag.

Enumerator
DM_Elastic 
DM_Unloading 
DM_Yielding1 
DM_Yielding2 
DM_Yielding3 

Definition at line 72 of file dustmat.h.

Constructor & Destructor Documentation

◆ DustMaterialStatus()

Member Function Documentation

◆ giveBulkModulus()

double oofem::DustMaterialStatus::giveBulkModulus ( ) const
inline

Get the value of actual bulk modulus of the status

Returns
Value of bulk modulus

Definition at line 196 of file dustmat.h.

References bulkModulus.

Referenced by oofem::DustMaterial::performF1return(), and oofem::DustMaterial::performF2return().

◆ giveClassName()

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

Implements oofem::IntegrationPointStatus.

Definition at line 111 of file dustmat.h.

◆ givePlasticStrain()

const FloatArrayF< 6 > & oofem::DustMaterialStatus::givePlasticStrain ( ) const
inline

Get the full plastic strain vector from the material status.

Returns
Plastic strain.

Definition at line 117 of file dustmat.h.

References plasticStrain.

Referenced by printOutputAt().

◆ giveQ()

double oofem::DustMaterialStatus::giveQ ( ) const
inline

Get the value of hardening variable q from the material status.

Returns
Hardenenig variable q

Definition at line 127 of file dustmat.h.

References q.

◆ giveShearModulus()

double oofem::DustMaterialStatus::giveShearModulus ( ) const
inline

Get the value of actual shear modulus of the status

Returns
Value of shear modulus

Definition at line 201 of file dustmat.h.

References shearModulus.

◆ giveStateFlag()

int oofem::DustMaterialStatus::giveStateFlag ( ) const
inline

Get the state flag from the material status.

Returns
State flag (i.e. elastic, unloading, yielding, vertex case yielding)

Definition at line 132 of file dustmat.h.

References stateFlag.

◆ giveTempPlasticStrain()

const FloatArrayF< 6 > & oofem::DustMaterialStatus::giveTempPlasticStrain ( ) const
inline

Get the temp value of the full plastic strain vector from the material status.

Returns
Temp value of plastic strain vector.

Definition at line 138 of file dustmat.h.

References tempPlasticStrain.

◆ giveTempQ()

double oofem::DustMaterialStatus::giveTempQ ( ) const
inline

Get the temp value of the hardening variable q from the material status.

Returns
Temp value of hardening variable kappaP.

Definition at line 143 of file dustmat.h.

References tempQ.

◆ giveTempStateFlag()

int oofem::DustMaterialStatus::giveTempStateFlag ( ) const
inline

Get the temp value of the state flag from the material status.

Returns
The temp value of the state flag.

Definition at line 148 of file dustmat.h.

References tempStateFlag.

◆ giveVolumetricPlasticStrain()

double oofem::DustMaterialStatus::giveVolumetricPlasticStrain ( ) const
inline

Get the full plastic strain vector from the material status.

Returns
Volumetric part of plastic strain.

Definition at line 122 of file dustmat.h.

References plasticStrain.

◆ giveYoungsModulus()

double oofem::DustMaterialStatus::giveYoungsModulus ( ) const
inline

Get the value of actual Young's modulus of the status

Returns
Value of Young's modulus

Definition at line 206 of file dustmat.h.

References youngsModulus.

◆ initTempStatus()

void oofem::DustMaterialStatus::initTempStatus ( )
overridevirtual

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

Reimplemented from oofem::MaterialStatus.

Definition at line 64 of file dustmat.C.

References plasticStrain, q, stateFlag, tempPlasticStrain, tempQ, and tempStateFlag.

◆ letPlasticStrainBe()

void oofem::DustMaterialStatus::letPlasticStrainBe ( const FloatArrayF< 6 > & v)
inline

Assign the value of plastic strain.

Parameters
vNew value of plastic strain.

Definition at line 170 of file dustmat.h.

References plasticStrain.

◆ letQBe()

void oofem::DustMaterialStatus::letQBe ( double v)
inline

Assign the value of variable q

Parameters
vNew value of variable q

Definition at line 175 of file dustmat.h.

References q.

◆ letTempPlasticStrainBe()

void oofem::DustMaterialStatus::letTempPlasticStrainBe ( const FloatArray & v)
inline

Assign the temp value of plastic strain.

Parameters
vNew temp value o plastic strain.

Definition at line 154 of file dustmat.h.

References tempPlasticStrain.

◆ letTempQBe()

void oofem::DustMaterialStatus::letTempQBe ( double v)
inline

Assign the temp value of variable q

Parameters
vNew temp value of variable q

Definition at line 159 of file dustmat.h.

References tempQ.

◆ letTempStateFlagBe()

void oofem::DustMaterialStatus::letTempStateFlagBe ( int v)
inline

Assign the temp value of the state flag.

Parameters
vNew temp value of the state flag.

Definition at line 164 of file dustmat.h.

References tempStateFlag.

◆ printOutputAt()

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

Print receiver's output to given stream.

Reimplemented from oofem::IntegrationPointStatus.

Definition at line 84 of file dustmat.C.

References givePlasticStrain(), q, and stateFlag.

◆ restoreContext()

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

Definition at line 128 of file dustmat.C.

◆ saveContext()

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

Definition at line 121 of file dustmat.C.

◆ setBulkModulus()

void oofem::DustMaterialStatus::setBulkModulus ( double v)
inline

Assign the value of actual bulk modulus of the status

Parameters
vNew value of bulk modulus

Definition at line 181 of file dustmat.h.

References bulkModulus.

◆ setShearModulus()

void oofem::DustMaterialStatus::setShearModulus ( double v)
inline

Assign the value of actual shear modulus of the status

Parameters
vNew value of shear modulus

Definition at line 186 of file dustmat.h.

References shearModulus.

◆ setYoungsModulus()

void oofem::DustMaterialStatus::setYoungsModulus ( double v)
inline

Assign the value of actual Young's modulus of the status

Parameters
vNew value of Young's modulus

Definition at line 191 of file dustmat.h.

References youngsModulus.

◆ updateYourself()

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

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

Reimplemented from oofem::IntegrationPointStatus.

Definition at line 74 of file dustmat.C.

References plasticStrain, q, stateFlag, tempPlasticStrain, tempQ, and tempStateFlag.

Member Data Documentation

◆ bulkModulus

double oofem::DustMaterialStatus::bulkModulus = 0
protected

Current bulk modulus.

Definition at line 90 of file dustmat.h.

Referenced by giveBulkModulus(), and setBulkModulus().

◆ plasticStrain

FloatArrayF<6> oofem::DustMaterialStatus::plasticStrain
protected

Plastic strain.

Definition at line 82 of file dustmat.h.

Referenced by givePlasticStrain(), giveVolumetricPlasticStrain(), initTempStatus(), letPlasticStrainBe(), and updateYourself().

◆ q

double oofem::DustMaterialStatus::q = 0
protected

Hardening parameter q.

Definition at line 86 of file dustmat.h.

Referenced by DustMaterialStatus(), giveQ(), initTempStatus(), letQBe(), printOutputAt(), and updateYourself().

◆ shearModulus

double oofem::DustMaterialStatus::shearModulus = 0
protected

Current shear modulus.

Definition at line 92 of file dustmat.h.

Referenced by giveShearModulus(), and setShearModulus().

◆ stateFlag

int oofem::DustMaterialStatus::stateFlag = 0
protected

Indicates the state (i.e. elastic, yielding, unloading) of the Gauss point.

Definition at line 97 of file dustmat.h.

Referenced by giveStateFlag(), initTempStatus(), printOutputAt(), and updateYourself().

◆ tempPlasticStrain

FloatArrayF<6> oofem::DustMaterialStatus::tempPlasticStrain
protected

◆ tempQ

double oofem::DustMaterialStatus::tempQ = 0
protected

Definition at line 87 of file dustmat.h.

Referenced by giveTempQ(), initTempStatus(), letTempQBe(), and updateYourself().

◆ tempStateFlag

int oofem::DustMaterialStatus::tempStateFlag = 0
protected

Definition at line 98 of file dustmat.h.

Referenced by giveTempStateFlag(), initTempStatus(), letTempStateFlagBe(), and updateYourself().

◆ youngsModulus

double oofem::DustMaterialStatus::youngsModulus = 0
protected

Current Young's modulus.

Definition at line 94 of file dustmat.h.

Referenced by giveYoungsModulus(), and setYoungsModulus().


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