|
OOFEM 3.0
|
#include <latticematstatus.h>
Public Member Functions | |
| 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) |
| Interface * | giveInterface (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 | |
| 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 | |
| GaussPoint * | gp |
| Associated integration point. | |
| Protected Attributes inherited from oofem::RandomMaterialStatusExtensionInterface | |
| Dictionary | randProperties |
| Dictionary containing material model values. | |
This class implements a base lattice material status. In this class services are defined that are used by other lattice material statuses.
Definition at line 54 of file latticematstatus.h.
| oofem::LatticeMaterialStatus::LatticeMaterialStatus | ( | GaussPoint * | g | ) |
Definition at line 42 of file latticematstatus.C.
References oofem::MaterialStatus::MaterialStatus(), and oofem::RandomMaterialStatusExtensionInterface::RandomMaterialStatusExtensionInterface().
Referenced by oofem::LatticeBondPlasticityStatus::LatticeBondPlasticityStatus(), oofem::LatticeDamageStatus::LatticeDamageStatus(), oofem::LatticePlasticityDamageStatus::LatticePlasticityDamageStatus(), oofem::LatticeSlipStatus::LatticeSlipStatus(), and oofem::LatticeViscoelasticStatus::LatticeViscoelasticStatus().
|
inlineoverridevirtual |
Implements oofem::IntegrationPointStatus.
Reimplemented in oofem::LatticePlasticityDamageStatus, oofem::LatticePlasticityDamageViscoelasticStatus, oofem::LatticeSlipStatus, and oofem::LatticeViscoelasticStatus.
Definition at line 132 of file latticematstatus.h.
|
inlinevirtual |
Returns the crack flag
Definition at line 204 of file latticematstatus.h.
Referenced by oofem::Lattice2d::giveCrackFlag(), oofem::Lattice3d::giveCrackFlag(), and oofem::LatticeDamage::giveIPValue().
|
inlinevirtual |
Definition at line 209 of file latticematstatus.h.
Referenced by oofem::Lattice2d::giveCrackWidth(), oofem::Lattice3d::giveCrackWidth(), and oofem::LatticeDamage::giveIPValue().
|
inlinevirtual |
Returns the increment of dissipation computed at the GaussPoint of the element. This function is used for the lattice specific vtk export.
Definition at line 234 of file latticematstatus.h.
References deltaDissipation.
Referenced by oofem::Lattice2d::giveDeltaDissipation(), and oofem::LatticeDamage::giveIPValue().
|
inlinevirtual |
Returns the energy dissipation computed at the GaussPoint of the element. This function is used for the lattice specific vtk export.
Definition at line 225 of file latticematstatus.h.
References dissipation.
Referenced by oofem::Lattice2d::giveDissipation(), and oofem::LatticeDamage::giveIPValue().
|
overridevirtual |
Reimplemented from oofem::IntegrationPointStatus.
Definition at line 124 of file latticematstatus.C.
References oofem::RandomMaterialStatusExtensionInterface::RandomMaterialStatusExtensionInterface(), and oofem::RandomMaterialStatusExtensionInterfaceType.
|
inline |
Returns lattice strain.
Definition at line 141 of file latticematstatus.h.
|
inline |
Returns lattice stress.
Definition at line 161 of file latticematstatus.h.
Referenced by oofem::LatticeLink3d::giveInternalForcesVector(), and oofem::StructuralElement::giveInternalForcesVector().
|
inline |
Returns characteristic length stored in receiver.
Definition at line 213 of file latticematstatus.h.
References le.
|
inline |
Gives the last equilibrated normal stress.
Definition at line 188 of file latticematstatus.h.
Referenced by oofem::LatticeDamage::giveIPValue(), oofem::Lattice2d::giveNormalStress(), and oofem::Lattice3d::giveNormalStress().
|
inline |
Returns plastic lattice strain.
Definition at line 158 of file latticematstatus.h.
Referenced by oofem::Lattice3d::giveOldPlasticStrain().
|
inline |
Returns plastic lattice strain.
Definition at line 152 of file latticematstatus.h.
Referenced by oofem::LatticeSlip::computeDeltaDissipation(), and oofem::Lattice3d::givePlasticStrain().
|
inline |
Returns reduced lattice strain.
Definition at line 146 of file latticematstatus.h.
References reducedLatticeStrain.
Referenced by oofem::LatticeBondPlasticity::giveReducedStrain(), and oofem::LatticePlasticityDamage::giveReducedStrain().
|
inline |
Returns temp damage lattice strain.
Definition at line 166 of file latticematstatus.h.
|
inline |
Definition at line 235 of file latticematstatus.h.
References tempDeltaDissipation.
|
inline |
Definition at line 226 of file latticematstatus.h.
References tempDissipation.
|
inline |
Returns lattice strain.
Definition at line 143 of file latticematstatus.h.
|
inline |
Returns temp lattice stress.
Definition at line 163 of file latticematstatus.h.
|
inline |
Gives the last equilibrated normal stress.
Definition at line 191 of file latticematstatus.h.
|
inline |
Returns temp plastic lattice strain.
Definition at line 155 of file latticematstatus.h.
|
inline |
Returns temp reduced lattice strain.
Definition at line 149 of file latticematstatus.h.
References tempReducedLatticeStrain.
|
inlinevirtual |
Definition at line 218 of file latticematstatus.h.
Referenced by oofem::Lattice2d::hasBeenUpdated().
|
overridevirtual |
Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables.
Reimplemented from oofem::MaterialStatus.
Reimplemented in oofem::LatticePlasticityDamageStatus, oofem::LatticePlasticityDamageViscoelasticStatus, oofem::LatticeSlipStatus, and oofem::LatticeViscoelasticStatus.
Definition at line 47 of file latticematstatus.C.
References crackFlag, crackWidth, damageLatticeStrain, deltaDissipation, dissipation, latticeStrain, latticeStress, normalLatticeStress, plasticLatticeStrain, reducedLatticeStrain, tempCrackFlag, tempCrackWidth, tempDamageLatticeStrain, tempDeltaDissipation, tempDissipation, tempLatticeStrain, tempLatticeStress, tempNormalLatticeStress, tempPlasticLatticeStrain, tempReducedLatticeStrain, and updateFlag.
Referenced by oofem::LatticeBondPlasticityStatus::initTempStatus(), oofem::LatticePlasticityDamageStatus::initTempStatus(), and oofem::LatticeViscoelasticStatus::initTempStatus().
|
inline |
Assigns the temp value of damage lattice strain.
Definition at line 181 of file latticematstatus.h.
|
inline |
Assigns the temp value of lattice strain.
Definition at line 169 of file latticematstatus.h.
|
inline |
Assigns the temp value of lattice stress.
Definition at line 178 of file latticematstatus.h.
|
inline |
Assigns the temp value of lattice strain.
Definition at line 175 of file latticematstatus.h.
|
inline |
Assigns the temp value of lattice strain.
Definition at line 172 of file latticematstatus.h.
|
overridevirtual |
Print receiver's output to given stream.
Reimplemented from oofem::IntegrationPointStatus.
Reimplemented in oofem::LatticePlasticityDamageStatus, oofem::LatticePlasticityDamageViscoelasticStatus, oofem::LatticeSlipStatus, and oofem::LatticeViscoelasticStatus.
Definition at line 104 of file latticematstatus.C.
References latticeStrain, latticeStress, and reducedLatticeStrain.
Referenced by oofem::LatticeBondPlasticityStatus::printOutputAt(), oofem::LatticePlasticityDamageStatus::printOutputAt(), and oofem::LatticeViscoelasticStatus::printOutputAt().
|
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.
Reimplemented in oofem::LatticePlasticityDamageStatus, oofem::LatticePlasticityDamageViscoelasticStatus, oofem::LatticeSlipStatus, and oofem::LatticeViscoelasticStatus.
Definition at line 184 of file latticematstatus.C.
References oofem::CIO_IOERR, oofem::CIO_OK, crackFlag, damageLatticeStrain, deltaDissipation, dissipation, latticeStrain, latticeStress, le, plasticLatticeStrain, oofem::DataStream::read(), reducedLatticeStrain, and THROW_CIOERR.
Referenced by oofem::LatticeBondPlasticityStatus::restoreContext(), oofem::LatticePlasticityDamageStatus::restoreContext(), and oofem::LatticeViscoelasticStatus::restoreContext().
|
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.
Reimplemented in oofem::LatticePlasticityDamageStatus, oofem::LatticePlasticityDamageViscoelasticStatus, oofem::LatticeSlipStatus, and oofem::LatticeViscoelasticStatus.
Definition at line 135 of file latticematstatus.C.
References oofem::CIO_IOERR, oofem::CIO_OK, crackFlag, damageLatticeStrain, deltaDissipation, dissipation, latticeStrain, latticeStress, le, plasticLatticeStrain, reducedLatticeStrain, THROW_CIOERR, and oofem::DataStream::write().
Referenced by oofem::LatticeBondPlasticityStatus::saveContext(), oofem::LatticePlasticityDamageStatus::saveContext(), and oofem::LatticeViscoelasticStatus::saveContext().
|
inline |
Sets characteristic length to given value.
Definition at line 216 of file latticematstatus.h.
References le.
|
inline |
Sets the temp_crack_flag.
Definition at line 195 of file latticematstatus.h.
References tempCrackFlag.
|
inline |
Sets the temp_crack_width.
Definition at line 198 of file latticematstatus.h.
References tempCrackWidth.
|
inline |
Definition at line 236 of file latticematstatus.h.
References tempDeltaDissipation.
|
inline |
Definition at line 227 of file latticematstatus.h.
References tempDissipation.
|
inline |
Sets the temp normalStress.
Definition at line 185 of file latticematstatus.h.
|
overridevirtual |
Update equilibrium history variables according to temp-variables. Invoked, after new equilibrium state has been reached.
Reimplemented from oofem::IntegrationPointStatus.
Reimplemented in oofem::LatticePlasticityDamageStatus, oofem::LatticePlasticityDamageViscoelasticStatus, oofem::LatticeSlipStatus, and oofem::LatticeViscoelasticStatus.
Definition at line 77 of file latticematstatus.C.
References crackFlag, crackWidth, damageLatticeStrain, deltaDissipation, dissipation, latticeStrain, latticeStress, plasticLatticeStrain, reducedLatticeStrain, tempCrackFlag, tempCrackWidth, tempDamageLatticeStrain, tempDeltaDissipation, tempDissipation, tempLatticeStrain, tempLatticeStress, tempPlasticLatticeStrain, tempReducedLatticeStrain, and updateFlag.
Referenced by oofem::LatticeBondPlasticityStatus::updateYourself(), oofem::LatticePlasticityDamageStatus::updateYourself(), and oofem::LatticeViscoelasticStatus::updateYourself().
|
protected |
the crack_flag indicates if the gp is damaged (cracked): crack_flag = 0 gp is undamaged crack_flag = 1 gp is damaged and damage grows crack_flag = 2 gp is damaged and damage does not grow
Definition at line 115 of file latticematstatus.h.
Referenced by initTempStatus(), oofem::LatticeDamageStatus::printOutputAt(), oofem::LatticePlasticityDamageStatus::printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Crack width.
Definition at line 124 of file latticematstatus.h.
Referenced by initTempStatus(), oofem::LatticePlasticityDamageStatus::printOutputAt(), and updateYourself().
|
protected |
Equilibriated damage lattice strain.
Definition at line 83 of file latticematstatus.h.
Referenced by initTempStatus(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Increment of dissipation.
Definition at line 102 of file latticematstatus.h.
Referenced by giveDeltaDissipation(), initTempStatus(), oofem::LatticeDamageStatus::printOutputAt(), oofem::LatticePlasticityDamageStatus::printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
dissipation
Definition at line 96 of file latticematstatus.h.
Referenced by giveDissipation(), initTempStatus(), oofem::LatticeDamageStatus::printOutputAt(), oofem::LatticePlasticityDamageStatus::printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Equilibriated lattice strain.
Definition at line 59 of file latticematstatus.h.
Referenced by initTempStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Equilibriated lattice stress.
Definition at line 65 of file latticematstatus.h.
Referenced by initTempStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Characteristic length.
Definition at line 108 of file latticematstatus.h.
Referenced by giveLe(), restoreContext(), saveContext(), and setLe().
|
protected |
Equilibrated normal stress.
Definition at line 90 of file latticematstatus.h.
Referenced by initTempStatus().
|
protected |
Non-equilibrated plastic lattice strain.
Definition at line 79 of file latticematstatus.h.
|
protected |
Equilibriated plastic lattice strain.
Definition at line 75 of file latticematstatus.h.
Referenced by initTempStatus(), oofem::LatticeSlipStatus::initTempStatus(), oofem::LatticeBondPlasticityStatus::printOutputAt(), oofem::LatticePlasticityDamageStatus::printOutputAt(), oofem::LatticeSlipStatus::printOutputAt(), restoreContext(), oofem::LatticeSlipStatus::restoreContext(), saveContext(), oofem::LatticeSlipStatus::saveContext(), updateYourself(), and oofem::LatticeSlipStatus::updateYourself().
|
protected |
Equilibriated reduced lattice strain, which is free of thermal strain.
Definition at line 71 of file latticematstatus.h.
Referenced by giveReducedLatticeStrain(), initTempStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Non-equilibrated temp flag.
Definition at line 118 of file latticematstatus.h.
Referenced by initTempStatus(), setTempCrackFlag(), and updateYourself().
|
protected |
Non-equilibrated crack width.
Definition at line 121 of file latticematstatus.h.
Referenced by initTempStatus(), setTempCrackWidth(), and updateYourself().
|
protected |
Non-equilibriated damage lattice strain.
Definition at line 86 of file latticematstatus.h.
Referenced by initTempStatus(), and updateYourself().
|
protected |
Non-equilibrated increment of dissipation.
Definition at line 105 of file latticematstatus.h.
Referenced by giveTempDeltaDissipation(), initTempStatus(), setTempDeltaDissipation(), and updateYourself().
|
protected |
Non-equilibrated increment of dissipation.
Definition at line 99 of file latticematstatus.h.
Referenced by giveTempDissipation(), initTempStatus(), setTempDissipation(), and updateYourself().
|
protected |
Non-equilibriated lattice strain.
Definition at line 62 of file latticematstatus.h.
Referenced by initTempStatus(), and updateYourself().
|
protected |
Non-equilibriated lattice stress.
Definition at line 68 of file latticematstatus.h.
Referenced by initTempStatus(), and updateYourself().
|
protected |
Non-equilibrated normal stress.
Definition at line 93 of file latticematstatus.h.
Referenced by initTempStatus().
|
protected |
Non-equilibrated plastic lattice strain.
Definition at line 77 of file latticematstatus.h.
Referenced by initTempStatus(), oofem::LatticeSlipStatus::initTempStatus(), updateYourself(), and oofem::LatticeSlipStatus::updateYourself().
|
protected |
Non-equilibrated reduced lattice strain, which is free of thermal strain.
Definition at line 73 of file latticematstatus.h.
Referenced by giveTempReducedLatticeStrain(), initTempStatus(), and updateYourself().
|
protected |
Definition at line 127 of file latticematstatus.h.
Referenced by initTempStatus(), and updateYourself().