OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
This class manages the status of FRCFCM. More...
#include <frcfcm.h>
Public Member Functions | |
FRCFCMStatus (int n, Domain *d, GaussPoint *g) | |
virtual | ~FRCFCMStatus () |
double | giveDamage () |
Returns the last equilibrated damage level. More... | |
double | giveTempDamage () |
Returns the temporary damage level. More... | |
void | setTempDamage (double newDamage) |
Sets the temp damage level to given value. More... | |
virtual void | printOutputAt (FILE *file, TimeStep *tStep) |
Writes information into the output file. More... | |
virtual const char * | giveClassName () const |
virtual void | initTempStatus () |
initializes temporary status More... | |
virtual void | updateYourself (TimeStep *tStep) |
replaces equilibrated values with temporary values More... | |
virtual contextIOResultType | saveContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
saves current context(state) into stream More... | |
virtual contextIOResultType | restoreContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
restores context(state) from stream More... | |
Public Member Functions inherited from oofem::ConcreteFCMStatus | |
ConcreteFCMStatus (int n, Domain *d, GaussPoint *g) | |
virtual | ~ConcreteFCMStatus () |
virtual Interface * | giveInterface (InterfaceType it) |
Interface requesting service. More... | |
Public Member Functions inherited from oofem::FCMMaterialStatus | |
FCMMaterialStatus (int n, Domain *d, GaussPoint *g) | |
virtual | ~FCMMaterialStatus () |
virtual int | giveNumberOfCracks () const |
returns number of cracks from the previous time step (equilibrated value) More... | |
virtual int | giveNumberOfTempCracks () const |
returns temporary number of cracks More... | |
const FloatArray & | giveMaxCrackStrainVector () |
returns vector with maximum cracking strains (max 3 components) More... | |
double | giveMaxCrackStrain (int icrack) |
returns maximum crack strain for the i-th crack (equilibrated value) More... | |
void | setMaxCrackStrain (int icrack, double val) |
sets value of the maximum crack strain for the i-th crack (equilibrated value) More... | |
double | giveTempMaxCrackStrain (int icrack) |
returns maximum crack strain for the i-th crack (temporary value) More... | |
void | setTempMaxCrackStrain (int icrack, double val) |
sets value of the maximum crack strain for the i-th crack (temporary value) More... | |
const IntArray & | giveTempCrackStatus () |
returns vector of temporary crack statuses More... | |
int | giveTempCrackStatus (int icrack) const |
returns temporary value of status associated with i-th crack direction More... | |
void | setTempCrackStatus (int icrack, int val) |
sets temporary value of status for of the i-th crack More... | |
int | giveCrackStatus (int icrack) const |
return equilibrated value of status associated with i-th crack direction More... | |
const FloatArray & | giveCrackStrainVector () const |
return equilibrated crack strain vector (max 6 components) More... | |
const FloatArray & | giveTempCrackStrainVector () |
return temporary crack strain vector (max 6 components) More... | |
double | giveCrackStrain (int icrack) const |
returns i-th component of the crack strain vector (equilibrated) More... | |
double | giveTempCrackStrain (int icrack) const |
returns i-th component of the crack strain vector (temporary) More... | |
void | setTempCrackStrainVector (FloatArray a) |
sets temporary vector of cracking strains (max 6 components) More... | |
void | setTempCrackStrain (int icrack, double val) |
sets temporary value of i-th cracking strain (max 6 components) More... | |
void | setCrackStrainVector (FloatArray a) |
sets equilibrated vector of cracking strains (max 6 components) More... | |
void | setG2LStressVectorTransformationMtrx (FloatMatrix t) |
sets transformation matrix for stress transformation from global to local coordinate system More... | |
void | setG2LStrainVectorTransformationMtrx (FloatMatrix s) |
sets transformation matrix for strain transformation from global to local coordinate system More... | |
void | setL2GStressVectorTransformationMtrx (FloatMatrix t) |
sets transformation matrix for stress transformation from local to global coordinate system More... | |
void | setL2GStrainVectorTransformationMtrx (FloatMatrix s) |
sets transformation matrix for stress transformation from global to local coordinate system More... | |
const FloatMatrix & | giveG2LStressVectorTransformationMtrx () |
returns transformation matrix for stress transformation from global to local coordinate system More... | |
const FloatMatrix & | giveG2LStrainVectorTransformationMtrx () |
sets transformation matrix for strain transformation from global to local coordinate system More... | |
const FloatMatrix & | giveL2GStressVectorTransformationMtrx () |
sets transformation matrix for stress transformation from local to global coordinate system More... | |
const FloatMatrix & | giveL2GStrainVectorTransformationMtrx () |
sets transformation matrix for stress transformation from global to local coordinate system More... | |
double | giveCharLength (int icrack) const |
returns characteristic length associated with i-th crack direction More... | |
void | setCharLength (int icrack, double val) |
sets characteristic length for i-th crack More... | |
const FloatMatrix & | giveCrackDirs () |
returns crack directions More... | |
const IntArray & | giveCrackStatus () |
returns crack statuses More... | |
void | setCrackDirs (FloatMatrix a) |
sets matrix with crack directions (normal vectors) More... | |
virtual int | giveMaxNumberOfCracks (GaussPoint *gp) |
returns maximum number of cracks associated with current mode More... | |
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... | |
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... | |
Public Member Functions inherited from oofem::RandomMaterialStatusExtensionInterface | |
RandomMaterialStatusExtensionInterface () | |
Constructor. More... | |
virtual | ~RandomMaterialStatusExtensionInterface () |
Destructor. More... | |
bool | _giveProperty (int key, double &value) |
Returns the value of random property, identified by a key. More... | |
void | _setProperty (int key, double value) |
Sets the value of random property, identified by a key. More... | |
Public Member Functions inherited from oofem::Interface | |
Interface () | |
Constructor. More... | |
virtual | ~Interface () |
Protected Attributes | |
double | damage |
Damage level of material. More... | |
double | tempDamage |
Non-equilibrated damage level of material. More... | |
Protected Attributes inherited from oofem::FCMMaterialStatus | |
IntArray | crackStatuses |
crack statuses (none, just initialized, softenin, unlo-relo, closed) More... | |
IntArray | tempCrackStatuses |
FloatArray | maxCrackStrains |
Max. crack strain reached in the entire previous history. More... | |
FloatArray | tempMaxCrackStrains |
FloatArray | crackStrainVector |
Components of crack strain vector (normal as well as shear). More... | |
FloatArray | tempCrackStrainVector |
FloatMatrix | crackDirs |
Storing direction of cracks (crack normals) in columwise format. More... | |
FloatArray | charLengths |
Characteristic lengths computed from the crack orientation and element geometry. More... | |
FloatMatrix | transMatrix_G2Lstress |
transformation matrix converting stress from global to local coordinate system More... | |
FloatMatrix | transMatrix_G2Lstrain |
transformation matrix converting strain from global to local coordinate system More... | |
FloatMatrix | transMatrix_L2Gstress |
transformation matrix converting stress from local to global coordinate system More... | |
FloatMatrix | transMatrix_L2Gstrain |
transformation matrix converting strain from local to global coordinate system More... | |
int | nMaxCracks |
number of maximum possible cracks (optional parameter) 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 |
Protected Attributes inherited from oofem::RandomMaterialStatusExtensionInterface | |
Dictionary | randProperties |
Dictionary containing material model values. More... | |
oofem::FRCFCMStatus::FRCFCMStatus | ( | int | n, |
Domain * | d, | ||
GaussPoint * | g | ||
) |
Definition at line 1098 of file frcfcm.C.
References damage, and tempDamage.
Referenced by oofem::FRCFCM::CreateStatus().
|
inlinevirtual |
Reimplemented from oofem::ConcreteFCMStatus.
Reimplemented in oofem::FRCFCMNLStatus.
Definition at line 96 of file frcfcm.h.
References initTempStatus(), restoreContext(), saveContext(), and updateYourself().
|
inline |
Returns the last equilibrated damage level.
Definition at line 87 of file frcfcm.h.
References damage.
Referenced by oofem::FRCFCM::computeTempDamage(), oofem::FRCFCM::estimateD2ModulusForCrack(), and oofem::FRCFCM::giveIPValue().
|
inline |
|
virtual |
initializes temporary status
Reimplemented from oofem::ConcreteFCMStatus.
Reimplemented in oofem::FRCFCMNLStatus.
Definition at line 1128 of file frcfcm.C.
References damage, oofem::ConcreteFCMStatus::initTempStatus(), and tempDamage.
Referenced by giveClassName(), and oofem::FRCFCMNLStatus::initTempStatus().
|
virtual |
Writes information into the output file.
Reimplemented from oofem::ConcreteFCMStatus.
Reimplemented in oofem::FRCFCMNLStatus.
Definition at line 1111 of file frcfcm.C.
References damage, and oofem::ConcreteFCMStatus::printOutputAt().
Referenced by oofem::FRCFCMNLStatus::printOutputAt(), and setTempDamage().
|
virtual |
restores context(state) from stream
Reimplemented from oofem::ConcreteFCMStatus.
Reimplemented in oofem::FRCFCMNLStatus.
Definition at line 1177 of file frcfcm.C.
References oofem::CIO_IOERR, oofem::CIO_OK, damage, oofem::DataStream::read(), oofem::ConcreteFCMStatus::restoreContext(), and THROW_CIOERR.
Referenced by giveClassName(), and oofem::FRCFCMNLStatus::restoreContext().
|
virtual |
saves current context(state) into stream
Reimplemented from oofem::ConcreteFCMStatus.
Reimplemented in oofem::FRCFCMNLStatus.
Definition at line 1156 of file frcfcm.C.
References oofem::CIO_IOERR, oofem::CIO_OK, damage, oofem::ConcreteFCMStatus::saveContext(), THROW_CIOERR, and oofem::DataStream::write().
Referenced by giveClassName(), and oofem::FRCFCMNLStatus::saveContext().
|
inline |
Sets the temp damage level to given value.
Definition at line 91 of file frcfcm.h.
References printOutputAt().
Referenced by oofem::FRCFCM::computeTempDamage().
|
virtual |
replaces equilibrated values with temporary values
Reimplemented from oofem::ConcreteFCMStatus.
Reimplemented in oofem::FRCFCMNLStatus.
Definition at line 1141 of file frcfcm.C.
References damage, tempDamage, and oofem::ConcreteFCMStatus::updateYourself().
Referenced by giveClassName(), and oofem::FRCFCMNLStatus::updateYourself().
|
protected |
Damage level of material.
Definition at line 78 of file frcfcm.h.
Referenced by FRCFCMStatus(), giveDamage(), initTempStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Non-equilibrated damage level of material.
Definition at line 80 of file frcfcm.h.
Referenced by FRCFCMStatus(), giveTempDamage(), initTempStatus(), and updateYourself().