OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
#include <misesmat.h>
Public Member Functions | |
MisesMatStatus (int n, Domain *d, GaussPoint *g) | |
virtual | ~MisesMatStatus () |
const FloatArray & | givePlasticStrain () |
const FloatArray & | giveTrialStressDev () |
double | giveTrialStressVol () |
double | giveDamage () |
double | giveTempDamage () |
double | giveCumulativePlasticStrain () |
double | giveTempCumulativePlasticStrain () |
const FloatMatrix & | giveTempLeftCauchyGreen () |
const FloatMatrix & | giveLeftCauchyGreen () |
const FloatArray & | giveTempEffectiveStress () |
const FloatArray & | giveEffectiveStress () |
void | letTempPlasticStrainBe (const FloatArray &values) |
const FloatArray & | getTempPlasticStrain () const |
void | letTrialStressDevBe (const FloatArray &values) |
void | letEffectiveStressBe (const FloatArray &values) |
void | letTempEffectiveStressBe (const FloatArray &values) |
void | setTrialStressVol (double value) |
void | setTempCumulativePlasticStrain (double value) |
void | setTempDamage (double value) |
void | letTempLeftCauchyGreenBe (const FloatMatrix &values) |
void | letLeftCauchyGreenBe (const FloatMatrix &values) |
const FloatArray & | givePlasDef () |
virtual void | printOutputAt (FILE *file, TimeStep *tStep) |
Print receiver's output to given stream. More... | |
virtual void | initTempStatus () |
Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables. More... | |
virtual void | updateYourself (TimeStep *tStep) |
Update equilibrium history variables according to temp-variables. More... | |
virtual contextIOResultType | saveContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
Stores receiver state to output stream. More... | |
virtual contextIOResultType | restoreContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
Restores the receiver state previously written in stream. More... | |
virtual const char * | giveClassName () const |
Public Member Functions inherited from oofem::StructuralMaterialStatus | |
StructuralMaterialStatus (int n, Domain *d, GaussPoint *g) | |
Constructor. Creates new StructuralMaterialStatus with number n, belonging to domain d and IntegrationPoint g. More... | |
virtual | ~StructuralMaterialStatus () |
Destructor. More... | |
const FloatArray & | giveStrainVector () const |
Returns the const pointer to receiver's strain vector. More... | |
const FloatArray & | giveStressVector () const |
Returns the const pointer to receiver's stress vector. More... | |
const FloatArray & | givePVector () const |
Returns the const pointer to receiver's first Piola-Kirchhoff stress vector. More... | |
const FloatArray & | giveCVector () const |
Returns the const pointer to receiver's Cauchy stress vector. More... | |
const FloatArray & | giveFVector () const |
Returns the const pointer to receiver's deformation gradient vector. More... | |
const FloatArray & | giveTempStrainVector () const |
Returns the const pointer to receiver's temporary strain vector. More... | |
const FloatArray & | giveTempStressVector () const |
Returns the const pointer to receiver's temporary stress vector. More... | |
const FloatArray & | giveTempPVector () const |
Returns the const pointer to receiver's temporary first Piola-Kirchhoff stress vector. More... | |
const FloatArray & | giveTempCVector () const |
Returns the const pointer to receiver's temporary Cauchy stress vector. More... | |
const FloatArray & | giveTempFVector () const |
Returns the const pointer to receiver's temporary deformation gradient vector. More... | |
void | letStrainVectorBe (const FloatArray &v) |
Assigns strain vector to given vector v. More... | |
void | letStressVectorBe (const FloatArray &v) |
Assigns stressVector to given vector v. More... | |
void | letPVectorBe (const FloatArray &v) |
Assigns PVector to given vector v. More... | |
void | letCVectorBe (const FloatArray &v) |
Assigns CVector to given vector v. More... | |
void | letFVectorBe (const FloatArray &v) |
Assigns FVector to given vector v. More... | |
void | letTempStressVectorBe (const FloatArray &v) |
Assigns tempStressVector to given vector v. More... | |
void | letTempStrainVectorBe (const FloatArray &v) |
Assigns tempStrainVector to given vector v. More... | |
void | letTempPVectorBe (const FloatArray &v) |
Assigns tempPVector to given vector v. More... | |
void | letTempCVectorBe (const FloatArray &v) |
Assigns tempPVector to given vector v. More... | |
void | letTempFVectorBe (const FloatArray &v) |
Assigns tempFVector to given vector v. More... | |
virtual void | copyStateVariables (const MaterialStatus &iStatus) |
Functions for MaterialStatusMapperInterface. More... | |
virtual void | addStateVariables (const MaterialStatus &iStatus) |
Public Member Functions inherited from oofem::MaterialStatus | |
MaterialStatus (int n, Domain *d, GaussPoint *g) | |
Constructor. More... | |
virtual | ~MaterialStatus () |
Destructor. More... | |
virtual bool | giveMaterialProperty (int propID, double &value) |
Returns the value of material model property stored in receiving status. More... | |
virtual void | setMaterialProperty (int propID, double value) |
Allows to set the value of material model property to be stored in receiving status. More... | |
virtual void | setStatusVariable (int varID, double value) |
Allows to set the value of a specific variable, identified by varID. More... | |
virtual void | restoreConsistency () |
Restores consistency of the status, i.e., computes or corrects the values of certain status variables such that the state is admissible. More... | |
virtual IRResultType | initializeFrom (InputRecord *ir) |
Initializes receiver according to object description stored in input record. More... | |
Public Member Functions inherited from oofem::IntegrationPointStatus | |
IntegrationPointStatus (int n, Domain *d, GaussPoint *g) | |
Constructor. More... | |
virtual | ~IntegrationPointStatus () |
Destructor. More... | |
virtual const char * | giveInputRecordName () const |
Public Member Functions inherited from oofem::FEMComponent | |
FEMComponent (int n, Domain *d) | |
Regular constructor, creates component with given number and belonging to given domain. More... | |
virtual | ~FEMComponent () |
Virtual destructor. More... | |
Domain * | giveDomain () const |
virtual void | setDomain (Domain *d) |
Sets associated Domain. More... | |
int | giveNumber () const |
void | setNumber (int num) |
Sets number of receiver. More... | |
virtual void | updateLocalNumbering (EntityRenumberingFunctor &f) |
Local renumbering support. More... | |
virtual void | giveInputRecord (DynamicInputRecord &input) |
Setups the input record string of receiver. More... | |
virtual int | checkConsistency () |
Allows programmer to test some internal data, before computation begins. More... | |
virtual void | printYourself () |
Prints receiver state on stdout. Useful for debugging. More... | |
virtual Interface * | giveInterface (InterfaceType t) |
Interface requesting service. More... | |
std::string | errorInfo (const char *func) const |
Returns string for prepending output (used by error reporting macros). More... | |
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) |
Maps all internal state variables from the old domain to the given gp status. More... | |
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) |
Updates the internal state variables from previously mapped values. More... | |
virtual int | MSMI_finish (const TimeStep &iTStep) |
Finishes the mapping for given time step. More... | |
Protected Attributes | |
FloatArray | plasticStrain |
Plastic strain (initial). More... | |
FloatArray | tempPlasticStrain |
Plastic strain (final). More... | |
FloatArray | trialStressD |
Deviatoric trial stress - needed for tangent stiffness. More... | |
double | trialStressV |
FloatArray | effStress |
FloatArray | tempEffStress |
double | kappa |
Cumulative plastic strain (initial). More... | |
double | tempKappa |
Cumulative plastic strain (final). More... | |
double | tempDamage |
double | damage |
FloatMatrix | leftCauchyGreen |
Left Cauchy-Green deformation gradient (initial). More... | |
FloatMatrix | tempLeftCauchyGreen |
Left Cauchy-Green deformation gradient (final). More... | |
Protected Attributes inherited from oofem::StructuralMaterialStatus | |
FloatArray | strainVector |
Equilibrated strain vector in reduced form. More... | |
FloatArray | stressVector |
Equilibrated stress vector in reduced form. More... | |
FloatArray | tempStressVector |
Temporary stress vector in reduced form (increments are used mainly in nonlinear analysis) More... | |
FloatArray | tempStrainVector |
Temporary strain vector in reduced form (to find balanced state) More... | |
FloatArray | PVector |
Equilibrated first Piola-Kirchhoff stress vector. More... | |
FloatArray | tempPVector |
Temporary first Piola-Kirchhoff stress vector (to find balanced state) More... | |
FloatArray | CVector |
Equilibrated Cauchy stress vector. More... | |
FloatArray | tempCVector |
Temporary Cauchy stress vector (to find balanced state) More... | |
FloatArray | FVector |
Equilibrated deformation gradient in reduced form. More... | |
FloatArray | tempFVector |
Temporary deformation gradient in reduced form (to find balanced state) More... | |
Protected Attributes inherited from oofem::IntegrationPointStatus | |
GaussPoint * | gp |
Associated integration point. More... | |
Protected Attributes inherited from oofem::FEMComponent | |
int | number |
Component number. More... | |
Domain * | domain |
Link to domain object, useful for communicating with other FEM components. More... | |
Protected Attributes inherited from oofem::MaterialStatusMapperInterface | |
MaterialMappingAlgorithm * | mpMaterialMapper |
Definition at line 149 of file misesmat.h.
oofem::MisesMatStatus::MisesMatStatus | ( | int | n, |
Domain * | d, | ||
GaussPoint * | g | ||
) |
Definition at line 717 of file misesmat.C.
References oofem::FloatMatrix::at(), damage, effStress, kappa, leftCauchyGreen, oofem::FloatArray::resize(), oofem::FloatMatrix::resize(), oofem::StructuralMaterialStatus::strainVector, oofem::StructuralMaterialStatus::stressVector, tempDamage, tempEffStress, and tempKappa.
|
virtual |
Definition at line 731 of file misesmat.C.
|
inline |
Definition at line 207 of file misesmat.h.
Referenced by oofem::MisesMat::giveRealStressVector_1d().
|
inlinevirtual |
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::MisesMatNlStatus, and oofem::MisesMatGradStatus.
Definition at line 237 of file misesmat.h.
|
inline |
Definition at line 197 of file misesmat.h.
Referenced by oofem::MisesMatGrad::give1dKappaMatrix(), oofem::MisesMatGrad::give1dStressStiffMtrx(), oofem::MisesMat::give1dStressStiffMtrx(), oofem::MisesMatNl::give1dStressStiffMtrx(), oofem::MisesMatGrad::give3dKappaMatrix(), oofem::MisesMat::give3dLSMaterialStiffnessMatrix(), oofem::MisesMatGrad::give3dMaterialStiffnessMatrix(), oofem::MisesMat::give3dMaterialStiffnessMatrix(), oofem::MisesMat::giveFirstPKStressVector_3d(), oofem::MisesMat::giveIPValue(), oofem::MisesMatGrad::givePlaneStrainKappaMatrix(), oofem::MisesMatGrad::givePlaneStrainStiffMtrx(), oofem::MisesMatNl::giveRemoteNonlocalStiffnessContribution(), and oofem::MisesMat::performPlasticityReturn().
|
inline |
Definition at line 194 of file misesmat.h.
Referenced by oofem::MisesMat::computeDamage(), oofem::MisesMatNl::computeDamage(), oofem::MisesMatGrad::give1dGprime(), oofem::MisesMatGrad::give1dStressStiffMtrx(), oofem::MisesMatNl::give1dStressStiffMtrx(), oofem::MisesMatGrad::give3dGprime(), oofem::MisesMatGrad::give3dMaterialStiffnessMatrix(), oofem::MisesMat::giveIPValue(), oofem::MisesMatNl::giveLocalNonlocalStiffnessContribution(), oofem::MisesMatGrad::givePlaneStrainGprime(), and oofem::MisesMatGrad::givePlaneStrainStiffMtrx().
|
inline |
Definition at line 204 of file misesmat.h.
|
inline |
Definition at line 201 of file misesmat.h.
|
inline |
Definition at line 226 of file misesmat.h.
References oofem::Material::initTempStatus(), oofem::FEMComponent::printOutputAt(), oofem::FEMComponent::restoreContext(), and oofem::FEMComponent::saveContext().
Referenced by oofem::MisesMat::giveIPValue().
|
inline |
Definition at line 187 of file misesmat.h.
Referenced by oofem::MisesMat::performPlasticityReturn().
|
inline |
Definition at line 198 of file misesmat.h.
Referenced by oofem::MisesMat::computeCumPlastStrain(), oofem::MisesMatGrad::computeCumPlastStrain(), oofem::MisesMatGrad::give1dGprime(), oofem::MisesMatGrad::give1dKappaMatrix(), oofem::MisesMatGrad::give1dStressStiffMtrx(), oofem::MisesMat::give1dStressStiffMtrx(), oofem::MisesMatNl::give1dStressStiffMtrx(), oofem::MisesMatGrad::give3dGprime(), oofem::MisesMatGrad::give3dKappaMatrix(), oofem::MisesMat::give3dLSMaterialStiffnessMatrix(), oofem::MisesMatGrad::give3dMaterialStiffnessMatrix(), oofem::MisesMat::give3dMaterialStiffnessMatrix(), oofem::MisesMatGrad::givePlaneStrainGprime(), oofem::MisesMatGrad::givePlaneStrainKappaMatrix(), oofem::MisesMatGrad::givePlaneStrainStiffMtrx(), oofem::MisesMatGrad::giveRealStressVectorGrad(), and oofem::MisesMatNl::giveRemoteNonlocalStiffnessContribution().
|
inline |
Definition at line 195 of file misesmat.h.
Referenced by oofem::MisesMatGrad::give1dGprime(), oofem::MisesMatGrad::give1dStressStiffMtrx(), oofem::MisesMat::give1dStressStiffMtrx(), oofem::MisesMatNl::give1dStressStiffMtrx(), oofem::MisesMatGrad::give3dGprime(), oofem::MisesMatGrad::give3dMaterialStiffnessMatrix(), oofem::MisesMat::give3dMaterialStiffnessMatrix(), oofem::MisesMatNl::giveLocalNonlocalStiffnessContribution(), oofem::MisesMatGrad::givePlaneStrainGprime(), oofem::MisesMatGrad::givePlaneStrainStiffMtrx(), and oofem::MisesMatNl::modifyNonlocalWeightFunctionAround().
|
inline |
Definition at line 203 of file misesmat.h.
Referenced by oofem::MisesMatGrad::give1dGprime(), oofem::MisesMatGrad::give1dKappaMatrix(), oofem::MisesMatGrad::give1dStressStiffMtrx(), oofem::MisesMat::give1dStressStiffMtrx(), oofem::MisesMatNl::give1dStressStiffMtrx(), oofem::MisesMatGrad::give3dGprime(), oofem::MisesMatGrad::give3dMaterialStiffnessMatrix(), oofem::MisesMat::give3dMaterialStiffnessMatrix(), oofem::MisesMatNl::giveLocalNonlocalStiffnessContribution(), oofem::MisesMatGrad::givePlaneStrainGprime(), oofem::MisesMatGrad::givePlaneStrainStiffMtrx(), oofem::MisesMat::giveRealStressVector_1d(), oofem::MisesMatNl::giveRealStressVector_1d(), oofem::MisesMat::giveRealStressVector_3d(), oofem::MisesMatGrad::giveRealStressVectorGrad(), and oofem::MisesMatNl::giveRemoteNonlocalStiffnessContribution().
|
inline |
Definition at line 200 of file misesmat.h.
Referenced by oofem::MisesMat::giveFirstPKStressVector_3d().
|
inline |
Definition at line 189 of file misesmat.h.
Referenced by oofem::MisesMatGrad::give3dKappaMatrix(), oofem::MisesMat::give3dLSMaterialStiffnessMatrix(), oofem::MisesMatGrad::give3dMaterialStiffnessMatrix(), oofem::MisesMat::give3dMaterialStiffnessMatrix(), oofem::MisesMatGrad::givePlaneStrainKappaMatrix(), and oofem::MisesMatGrad::givePlaneStrainStiffMtrx().
|
inline |
Definition at line 192 of file misesmat.h.
Referenced by oofem::MisesMat::give3dLSMaterialStiffnessMatrix().
|
virtual |
Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables.
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::MisesMatNlStatus, and oofem::MisesMatGradStatus.
Definition at line 801 of file misesmat.C.
References oofem::FloatArray::clear(), damage, oofem::StructuralMaterialStatus::initTempStatus(), kappa, leftCauchyGreen, plasticStrain, tempDamage, tempKappa, tempLeftCauchyGreen, tempPlasticStrain, and trialStressD.
Referenced by oofem::MisesMatNlStatus::initTempStatus().
|
inline |
Definition at line 211 of file misesmat.h.
|
inline |
Definition at line 224 of file misesmat.h.
|
inline |
Definition at line 213 of file misesmat.h.
Referenced by oofem::MisesMatGrad::giveRealStressVectorGrad(), and oofem::MisesMat::performPlasticityReturn().
|
inline |
Definition at line 223 of file misesmat.h.
Referenced by oofem::MisesMat::giveFirstPKStressVector_3d().
|
inline |
Definition at line 206 of file misesmat.h.
Referenced by oofem::MisesMat::giveFirstPKStressVector_3d(), and oofem::MisesMat::performPlasticityReturn().
|
inline |
Definition at line 209 of file misesmat.h.
Referenced by oofem::MisesMat::giveFirstPKStressVector_3d(), and oofem::MisesMat::performPlasticityReturn().
|
virtual |
Print receiver's output to given stream.
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::MisesMatNlStatus, and oofem::MisesMatGradStatus.
Definition at line 735 of file misesmat.C.
References kappa, plasticStrain, oofem::StructuralMaterialStatus::printOutputAt(), and tempDamage.
|
virtual |
Restores the receiver state previously written in stream.
stream | Input stream. |
mode | Determines amount of info available in stream (state, definition, ...). |
obj | Special parameter for sending extra information. |
throws | an ContextIOERR exception if error encountered. |
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::MisesMatNlStatus.
Definition at line 893 of file misesmat.C.
References oofem::CIO_IOERR, oofem::CIO_OK, damage, kappa, plasticStrain, oofem::DataStream::read(), oofem::StructuralMaterialStatus::restoreContext(), oofem::FloatArray::restoreYourself(), and THROW_CIOERR.
Referenced by oofem::MisesMatNlStatus::restoreContext().
|
virtual |
Stores receiver state to output stream.
stream | Output stream. |
mode | Determines amount of info required in stream (state, definition, ...). |
obj | Special parameter, used only to send particular integration point to material class version of this method. |
throws | an ContextIOERR exception if error encountered. |
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::MisesMatNlStatus.
Definition at line 861 of file misesmat.C.
References oofem::CIO_IOERR, oofem::CIO_OK, damage, kappa, plasticStrain, oofem::StructuralMaterialStatus::saveContext(), oofem::FloatArray::storeYourself(), THROW_CIOERR, and oofem::DataStream::write().
Referenced by oofem::MisesMatNlStatus::saveContext().
|
inline |
Definition at line 218 of file misesmat.h.
Referenced by oofem::MisesMat::giveFirstPKStressVector_3d(), and oofem::MisesMat::performPlasticityReturn().
|
inline |
Definition at line 220 of file misesmat.h.
Referenced by oofem::MisesMat::giveRealStressVector_1d(), oofem::MisesMatNl::giveRealStressVector_1d(), oofem::MisesMat::giveRealStressVector_3d(), and oofem::MisesMatGrad::giveRealStressVectorGrad().
|
inline |
Definition at line 216 of file misesmat.h.
Referenced by oofem::MisesMat::giveFirstPKStressVector_3d(), and oofem::MisesMat::performPlasticityReturn().
|
virtual |
Update equilibrium history variables according to temp-variables.
Invoked, after new equilibrium state has been reached.
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::MisesMatNlStatus, and oofem::MisesMatGradStatus.
Definition at line 815 of file misesmat.C.
References oofem::FloatArray::clear(), damage, kappa, leftCauchyGreen, plasticStrain, tempDamage, tempKappa, tempLeftCauchyGreen, tempPlasticStrain, trialStressD, and oofem::StructuralMaterialStatus::updateYourself().
Referenced by oofem::MisesMatGradStatus::updateYourself(), and oofem::MisesMatNlStatus::updateYourself().
|
protected |
Definition at line 175 of file misesmat.h.
Referenced by oofem::MisesMatNl::giveInputRecordName(), oofem::MisesMatGradStatus::initTempStatus(), initTempStatus(), MisesMatStatus(), oofem::MisesMatGradStatus::printOutputAt(), oofem::MisesMatNlStatus::printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Definition at line 165 of file misesmat.h.
Referenced by MisesMatStatus().
|
protected |
Cumulative plastic strain (initial).
Definition at line 169 of file misesmat.h.
Referenced by oofem::MisesMatNl::giveInputRecordName(), oofem::MisesMatGrad::giveInterface(), oofem::MisesMatGradStatus::initTempStatus(), initTempStatus(), MisesMatStatus(), oofem::MisesMatGradStatus::printOutputAt(), oofem::MisesMatNlStatus::printOutputAt(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Left Cauchy-Green deformation gradient (initial).
Definition at line 179 of file misesmat.h.
Referenced by oofem::MisesMatGradStatus::initTempStatus(), initTempStatus(), MisesMatStatus(), and updateYourself().
|
protected |
Plastic strain (initial).
Definition at line 153 of file misesmat.h.
Referenced by oofem::MisesMatGradStatus::initTempStatus(), initTempStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Definition at line 175 of file misesmat.h.
Referenced by oofem::MisesMatGradStatus::initTempStatus(), initTempStatus(), MisesMatStatus(), printOutputAt(), and updateYourself().
|
protected |
Definition at line 166 of file misesmat.h.
Referenced by MisesMatStatus().
|
protected |
Cumulative plastic strain (final).
Definition at line 172 of file misesmat.h.
Referenced by oofem::MisesMatGradStatus::initTempStatus(), initTempStatus(), MisesMatStatus(), and updateYourself().
|
protected |
Left Cauchy-Green deformation gradient (final).
Definition at line 181 of file misesmat.h.
Referenced by oofem::MisesMatGradStatus::initTempStatus(), initTempStatus(), and updateYourself().
|
protected |
Plastic strain (final).
Definition at line 156 of file misesmat.h.
Referenced by oofem::MisesMatGradStatus::initTempStatus(), initTempStatus(), and updateYourself().
|
protected |
Deviatoric trial stress - needed for tangent stiffness.
Definition at line 159 of file misesmat.h.
Referenced by oofem::MisesMatGradStatus::initTempStatus(), initTempStatus(), and updateYourself().
|
protected |
Definition at line 162 of file misesmat.h.