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

#include <mazarsmodel.h>

Inheritance diagram for oofem::MazarsMaterialStatus:
Collaboration diagram for oofem::MazarsMaterialStatus:

Public Member Functions

 MazarsMaterialStatus (GaussPoint *g)
 Constructor.
double giveLec ()
 Returns characteristic length stored in receiver.
void setLec (double ls)
 Sets characteristic length to given value.
const char * giveClassName () const override
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
Public Member Functions inherited from oofem::IsotropicDamageMaterial1Status
 IsotropicDamageMaterial1Status (GaussPoint *g)
 Constructor.
InterfacegiveInterface (InterfaceType it) override
Public Member Functions inherited from oofem::IsotropicDamageMaterialStatus
 IsotropicDamageMaterialStatus (GaussPoint *g)
 Constructor.
void printOutputAt (FILE *file, TimeStep *tStep) const override
 Print receiver's output to given stream.
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 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.
double giveLe () const
 Returns characteristic length stored in receiver.
void setLe (double ls)
 Sets characteristic length to given value.
double giveCrackAngle () const
 Returns crack angle stored in receiver.
void setCrackAngle (double ca)
 Sets crack angle to given value.
FloatArrayF< 3 > giveCrackVector () const
 Returns crack vector stored in receiver. This is useful for plotting cracks as a vector field (paraview etc.).
void setCrackVector (const FloatArrayF< 3 > &cv)
 Sets crack vector to given value. This is useful for plotting cracks as a vector field (paraview etc.).
double giveStressWork () const
 Returns the density of total work of stress on strain increments.
double giveTempStressWork () const
 Returns the temp density of total work of stress on strain increments.
void setTempStressWork (double w)
 Sets the density of total work of stress on strain increments to given value.
double giveDissWork () const
 Returns the density of dissipated work.
double giveTempDissWork () const
 Returns the density of temp dissipated work.
void setTempDissWork (double w)
 Sets the density of dissipated work to given value.
void computeWork (GaussPoint *gp)
 Computes the increment of total stress work and of dissipated work.
void initTempStatus () override
void updateYourself (TimeStep *tStep) override
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)
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)
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 lec = 0.
 Characteristic element length for compression, fixed as square from element size (for 2d).
Protected Attributes inherited from oofem::IsotropicDamageMaterialStatus
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 damage = 0.
 Damage level of material.
double tempDamage = 0.
 Non-equilibrated damage level of material.
double le = 0.
double crack_angle = -1000.0
 Angle characterizing the crack direction.
FloatArrayF< 3 > crackVector
 Crack orientation normalized to damage magnitude. This is useful for plotting cracks as a vector field (paraview etc.).
double stressWork = 0.
 Density of total work done by stresses on strain increments.
double tempStressWork = 0.
 Non-equilibrated density of total work done by stresses on strain increments.
double dissWork = 0.
 Density of dissipated work.
double tempDissWork = 0.
 Non-equilibrated density of dissipated work.
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
Protected Attributes inherited from oofem::RandomMaterialStatusExtensionInterface
Dictionary randProperties
 Dictionary containing material model values.

Detailed Description

This class implements associated Material Status to MazarsMaterial.

Definition at line 62 of file mazarsmodel.h.

Constructor & Destructor Documentation

◆ MazarsMaterialStatus()

oofem::MazarsMaterialStatus::MazarsMaterialStatus ( GaussPoint * g)

Member Function Documentation

◆ giveClassName()

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

Reimplemented from oofem::IsotropicDamageMaterial1Status.

Reimplemented in oofem::MazarsNLMaterialStatus.

Definition at line 77 of file mazarsmodel.h.

◆ giveLec()

double oofem::MazarsMaterialStatus::giveLec ( )
inline

Returns characteristic length stored in receiver.

Definition at line 73 of file mazarsmodel.h.

References lec.

Referenced by oofem::MazarsMaterial::computeGc().

◆ restoreContext()

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

Reimplemented in oofem::MazarsNLMaterialStatus.

Definition at line 509 of file mazarsmodel.C.

References oofem::CIO_IOERR, lec, oofem::DataStream::read(), and THROW_CIOERR.

◆ saveContext()

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

Reimplemented in oofem::MazarsNLMaterialStatus.

Definition at line 499 of file mazarsmodel.C.

References oofem::CIO_IOERR, lec, THROW_CIOERR, and oofem::DataStream::write().

◆ setLec()

void oofem::MazarsMaterialStatus::setLec ( double ls)
inline

Sets characteristic length to given value.

Definition at line 75 of file mazarsmodel.h.

References lec.

Referenced by oofem::MazarsMaterial::initDamaged(), and oofem::MazarsNLMaterial::initDamaged().

Member Data Documentation

◆ lec

double oofem::MazarsMaterialStatus::lec = 0.
protected

Characteristic element length for compression, fixed as square from element size (for 2d).

Definition at line 66 of file mazarsmodel.h.

Referenced by giveLec(), restoreContext(), saveContext(), and setLec().


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