|
OOFEM 3.0
|
#include <mplasticmaterial.h>
Public Types | |
| enum | state_flag_values { PM_Elastic , PM_Yielding , PM_Unloading } |
Public Member Functions | |
| MPlasticMaterialStatus (GaussPoint *g, int statusSize) | |
| 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 FloatArray & | givePlasticStrainVector () const |
| Returns the equilibrated strain vector. | |
| const FloatArray & | giveTempPlasticStrainVector () const |
| Returns the actual (temp) strain vector. | |
| const FloatArray & | giveStrainSpaceHardeningVars () const |
| Returns the equilibrated hardening variable vector. | |
| const FloatArray & | givetempStrainSpaceHardeningVarsVector () const |
| Returns the actual (temp) hardening variable vector. | |
| void | letPlasticStrainVectorBe (FloatArray v) |
| void | letTempPlasticStrainVectorBe (FloatArray v) |
| void | letTempStrainSpaceHardeningVarsVectorBe (FloatArray v) |
| void | letStrainSpaceHardeningVarsVectorBe (FloatArray v) |
| int | giveStateFlag () |
| int | giveTempStateFlag () |
| void | letTempStateFlagBe (int v) |
| const IntArray & | giveTempActiveConditionMap () |
| void | setTempActiveConditionMap (IntArray v) |
| const FloatArray & | giveTempGamma () |
| void | setTempGamma (FloatArray v) |
| const char * | giveClassName () const 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 FloatArray & | giveStrainVector () const |
| Returns the const pointer to receiver's strain vector. | |
| const FloatArray & | giveStressVector () const |
| Returns the const pointer to receiver's stress vector. | |
| const FloatArray & | givePVector () const |
| Returns the const pointer to receiver's first Piola-Kirchhoff stress vector. | |
| const FloatArray & | giveCVector () const |
| Returns the const pointer to receiver's Cauchy stress vector. | |
| const FloatArray & | giveFVector () const |
| Returns the const pointer to receiver's deformation gradient vector. | |
| const FloatArray & | giveTempStrainVector () const |
| Returns the const pointer to receiver's temporary strain vector. | |
| const FloatArray & | giveTempStressVector () const |
| Returns the const pointer to receiver's temporary stress vector. | |
| const FloatArray & | giveTempPVector () const |
| Returns the const pointer to receiver's temporary first Piola-Kirchhoff stress vector. | |
| const FloatArray & | giveTempCVector () const |
| Returns the const pointer to receiver's temporary Cauchy stress vector. | |
| const FloatArray & | giveTempFVector () 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 Interface * | giveInterface (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 | |
| FloatArray | plasticStrainVector |
| Plastic strain vector. | |
| FloatArray | tempPlasticStrainVector |
| FloatArray | strainSpaceHardeningVarsVector |
| Strain space hardening variables. | |
| FloatArray | tempStrainSpaceHardeningVarsVector |
| int | state_flag = MPlasticMaterialStatus :: PM_Elastic |
| Yield function status indicator. | |
| int | temp_state_flag = MPlasticMaterialStatus :: PM_Elastic |
| FloatArray | gamma |
| Consistency parameter values (needed for algorithmic stiffness). | |
| FloatArray | tempGamma |
| IntArray | activeConditionMap |
| Active set of yield functions (needed for algorithmic stiffness). | |
| IntArray | tempActiveConditionMap |
| 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 | |
| GaussPoint * | gp |
| Associated integration point. | |
| Protected Attributes inherited from oofem::MaterialStatusMapperInterface | |
| std::unique_ptr< MaterialMappingAlgorithm > | mpMaterialMapper |
This class implements associated Material Status to MPlasticMaterial. It is attribute of matStatusDictionary at every GaussPoint, for which this material is active.
Idea used there is that we have variables describing:
Definition at line 64 of file mplasticmaterial.h.
| Enumerator | |
|---|---|
| PM_Elastic | |
| PM_Yielding | |
| PM_Unloading | |
Definition at line 67 of file mplasticmaterial.h.
| oofem::MPlasticMaterialStatus::MPlasticMaterialStatus | ( | GaussPoint * | g, |
| int | statusSize ) |
Definition at line 1354 of file mplasticmaterial.C.
References strainSpaceHardeningVarsVector, oofem::StructuralMaterialStatus::StructuralMaterialStatus(), and tempStrainSpaceHardeningVarsVector.
|
inlineoverridevirtual |
Implements oofem::IntegrationPointStatus.
Definition at line 128 of file mplasticmaterial.h.
|
inline |
Returns the equilibrated strain vector.
Definition at line 99 of file mplasticmaterial.h.
References plasticStrainVector.
Referenced by oofem::MPlasticMaterial::closestPointReturn(), oofem::MPlasticMaterial::computeResidualVector(), oofem::MPlasticMaterial::cuttingPlaneReturn(), and oofem::MPlasticMaterial::giveIPValue().
|
inline |
Definition at line 118 of file mplasticmaterial.h.
References state_flag.
Referenced by oofem::MPlasticMaterial::giveRealStressVector().
|
inline |
Returns the equilibrated hardening variable vector.
Definition at line 103 of file mplasticmaterial.h.
References strainSpaceHardeningVarsVector.
Referenced by oofem::MPlasticMaterial::closestPointReturn(), oofem::MPlasticMaterial::computeResidualVector(), oofem::MPlasticMaterial::cuttingPlaneReturn(), oofem::MPlasticMaterial::giveConsistentStiffnessMatrix(), and oofem::MPlasticMaterial::giveElastoPlasticStiffnessMatrix().
|
inline |
Definition at line 122 of file mplasticmaterial.h.
References tempActiveConditionMap.
Referenced by oofem::MPlasticMaterial::giveConsistentStiffnessMatrix(), and oofem::MPlasticMaterial::giveElastoPlasticStiffnessMatrix().
|
inline |
Definition at line 124 of file mplasticmaterial.h.
References tempGamma.
Referenced by oofem::MPlasticMaterial::giveConsistentStiffnessMatrix().
|
inline |
Returns the actual (temp) strain vector.
Definition at line 101 of file mplasticmaterial.h.
References tempPlasticStrainVector.
|
inline |
Definition at line 119 of file mplasticmaterial.h.
References temp_state_flag.
Referenced by oofem::MPlasticMaterial::giveConsistentStiffnessMatrix(), and oofem::MPlasticMaterial::giveElastoPlasticStiffnessMatrix().
|
inline |
Returns the actual (temp) hardening variable vector.
Definition at line 106 of file mplasticmaterial.h.
References tempStrainSpaceHardeningVarsVector.
|
overridevirtual |
Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables.
Reimplemented from oofem::MaterialStatus.
Definition at line 1389 of file mplasticmaterial.C.
References activeConditionMap, gamma, oofem::IntegrationPointStatus::gp, plasticStrainVector, strainSpaceHardeningVarsVector, tempActiveConditionMap, tempGamma, tempPlasticStrainVector, and tempStrainSpaceHardeningVarsVector.
|
inline |
Definition at line 109 of file mplasticmaterial.h.
References plasticStrainVector.
|
inline |
Definition at line 115 of file mplasticmaterial.h.
References strainSpaceHardeningVarsVector.
|
inline |
Definition at line 111 of file mplasticmaterial.h.
References tempPlasticStrainVector.
Referenced by oofem::MPlasticMaterial::giveRealStressVector().
|
inline |
Definition at line 120 of file mplasticmaterial.h.
References temp_state_flag.
Referenced by oofem::MPlasticMaterial::giveRealStressVector().
|
inline |
Definition at line 113 of file mplasticmaterial.h.
References tempStrainSpaceHardeningVarsVector.
Referenced by oofem::MPlasticMaterial::giveRealStressVector().
|
overridevirtual |
Print receiver's output to given stream.
Reimplemented from oofem::MaterialStatus.
Definition at line 1361 of file mplasticmaterial.C.
References plasticStrainVector, state_flag, and strainSpaceHardeningVarsVector.
|
overridevirtual |
Restores the receiver state previously written in stream.
| stream | Input stream. |
| mode | Determines amount of info available in stream (state, definition, ...). |
| throws | an ContextIOERR exception if error encountered. |
Reimplemented from oofem::IntegrationPointStatus.
Definition at line 1459 of file mplasticmaterial.C.
References activeConditionMap, oofem::CIO_IOERR, oofem::CIO_OK, gamma, plasticStrainVector, oofem::DataStream::read(), state_flag, strainSpaceHardeningVarsVector, and THROW_CIOERR.
|
overridevirtual |
Stores receiver state to output stream.
| stream | Output stream. |
| mode | Determines amount of info required in stream (state, definition, ...). |
| throws | an ContextIOERR exception if error encountered. |
Reimplemented from oofem::IntegrationPointStatus.
Definition at line 1431 of file mplasticmaterial.C.
References activeConditionMap, oofem::CIO_IOERR, oofem::CIO_OK, gamma, plasticStrainVector, state_flag, strainSpaceHardeningVarsVector, THROW_CIOERR, and oofem::DataStream::write().
|
inline |
Definition at line 123 of file mplasticmaterial.h.
References tempActiveConditionMap.
Referenced by oofem::MPlasticMaterial::giveRealStressVector().
|
inline |
Definition at line 125 of file mplasticmaterial.h.
References tempGamma.
Referenced by oofem::MPlasticMaterial::giveRealStressVector().
|
overridevirtual |
Update equilibrium history variables according to temp-variables. Invoked, after new equilibrium state has been reached.
Reimplemented from oofem::MaterialStatus.
Definition at line 1412 of file mplasticmaterial.C.
References activeConditionMap, gamma, plasticStrainVector, state_flag, strainSpaceHardeningVarsVector, temp_state_flag, tempActiveConditionMap, tempGamma, tempPlasticStrainVector, and tempStrainSpaceHardeningVarsVector.
|
protected |
Active set of yield functions (needed for algorithmic stiffness).
Definition at line 85 of file mplasticmaterial.h.
Referenced by initTempStatus(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Consistency parameter values (needed for algorithmic stiffness).
Definition at line 83 of file mplasticmaterial.h.
Referenced by initTempStatus(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Plastic strain vector.
Definition at line 71 of file mplasticmaterial.h.
Referenced by givePlasticStrainVector(), initTempStatus(), letPlasticStrainVectorBe(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Yield function status indicator.
Definition at line 79 of file mplasticmaterial.h.
Referenced by giveStateFlag(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Strain space hardening variables.
Definition at line 75 of file mplasticmaterial.h.
Referenced by giveStrainSpaceHardeningVars(), initTempStatus(), letStrainSpaceHardeningVarsVectorBe(), MPlasticMaterialStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Definition at line 80 of file mplasticmaterial.h.
Referenced by giveTempStateFlag(), letTempStateFlagBe(), and updateYourself().
|
protected |
Definition at line 85 of file mplasticmaterial.h.
Referenced by giveTempActiveConditionMap(), initTempStatus(), setTempActiveConditionMap(), and updateYourself().
|
protected |
Definition at line 83 of file mplasticmaterial.h.
Referenced by giveTempGamma(), initTempStatus(), setTempGamma(), and updateYourself().
|
protected |
Definition at line 72 of file mplasticmaterial.h.
Referenced by giveTempPlasticStrainVector(), initTempStatus(), letTempPlasticStrainVectorBe(), and updateYourself().
|
protected |
Definition at line 76 of file mplasticmaterial.h.
Referenced by givetempStrainSpaceHardeningVarsVector(), initTempStatus(), letTempStrainSpaceHardeningVarsVectorBe(), MPlasticMaterialStatus(), and updateYourself().