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

#include <compodamagemat.h>

Inheritance diagram for oofem::CompoDamageMat:
Collaboration diagram for oofem::CompoDamageMat:

Public Member Functions

 CompoDamageMat (int n, Domain *d)
 Constructor.
const char * giveClassName () const override
const char * giveInputRecordName () const override
void initializeFrom (InputRecord &ir) override
void giveInputRecord (DynamicInputRecord &input) override
std::unique_ptr< MaterialStatusCreateStatus (GaussPoint *gp) const override
FloatMatrixF< 6, 6 > give3dMaterialStiffnessMatrix (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const override
void giveRealStressVector (FloatArray &answer, GaussPoint *gp, const FloatArray &, TimeStep *tStep) const override
FloatArrayF< 6 > giveRealStressVector_3d (const FloatArrayF< 6 > &strain, GaussPoint *gp, TimeStep *tStep) const override
 Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress.
FloatArrayF< 1 > giveRealStressVector_1d (const FloatArrayF< 1 > &strain, GaussPoint *gp, TimeStep *tStep) const override
 Default implementation relies on giveRealStressVector_StressControl.
int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
Public Member Functions inherited from oofem::StructuralMaterial
 StructuralMaterial (int n, Domain *d)
bool hasMaterialModeCapability (MaterialMode mode) const override
const char * giveClassName () const override
void initializeFrom (InputRecord &ir) override
void giveInputRecord (DynamicInputRecord &input) override
void giveCharacteristicMatrix (FloatMatrix &answer, MatResponseMode type, GaussPoint *gp, TimeStep *tStep) const override
 Returns characteristic matrix of the receiver.
void giveCharacteristicVector (FloatArray &answer, FloatArray &flux, MatResponseMode type, GaussPoint *gp, TimeStep *tStep) const override
 Returns characteristic vector of the receiver.
virtual void giveStiffnessMatrix (FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatArrayF< 4 > giveRealStressVector_PlaneStrain (const FloatArrayF< 4 > &strain, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveRealStressVector_3d.
virtual FloatArray giveRealStressVector_StressControl (const FloatArray &reducedE, const IntArray &strainControl, GaussPoint *gp, TimeStep *tStep) const
 Iteratively calls giveRealStressVector_3d to find the stress controlled equal to zero·
virtual FloatArray giveRealStressVector_ShellStressControl (const FloatArray &reducedE, const IntArray &strainControl, GaussPoint *gp, TimeStep *tStep) const
virtual FloatArrayF< 3 > giveRealStressVector_PlaneStress (const FloatArrayF< 3 > &reducedE, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveRealStressVector_StressControl.
virtual FloatArrayF< 2 > giveRealStressVector_Warping (const FloatArrayF< 2 > &reducedE, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveRealStressVector_StressControl.
virtual FloatArrayF< 2 > giveRealStressVector_2dBeamLayer (const FloatArrayF< 2 > &reducedE, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveRealStressVector_StressControl.
virtual FloatArrayF< 5 > giveRealStressVector_PlateLayer (const FloatArrayF< 5 > &reducedE, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveRealStressVector_StressControl.
virtual FloatArrayF< 3 > giveRealStressVector_Fiber (const FloatArrayF< 3 > &reducedE, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveRealStressVector_StressControl.
virtual FloatArrayF< 3 > giveRealStressVector_2dPlateSubSoil (const FloatArrayF< 3 > &reducedE, GaussPoint *gp, TimeStep *tStep) const
 Default implementation is not provided.
virtual FloatArrayF< 6 > giveRealStressVector_3dBeamSubSoil (const FloatArrayF< 6 > &reducedE, GaussPoint *gp, TimeStep *tStep) const
virtual FloatArrayF< 9 > giveFirstPKStressVector_3d (const FloatArrayF< 9 > &vF, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress.
virtual FloatArrayF< 5 > giveFirstPKStressVector_PlaneStrain (const FloatArrayF< 5 > &vF, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveFirstPKStressVector_3d.
virtual FloatArray giveFirstPKStressVector_StressControl (const FloatArray &reducedvF, const IntArray &FControl, GaussPoint *gp, TimeStep *tStep) const
 Iteratively calls giveRealStressVector_3d to find the stress controlled equal to zero·
virtual FloatArrayF< 4 > giveFirstPKStressVector_PlaneStress (const FloatArrayF< 4 > &vF, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveFirstPKStressVector_StressControl.
virtual FloatArrayF< 1 > giveFirstPKStressVector_1d (const FloatArrayF< 1 > &vF, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveFirstPKStressVector_StressControl.
virtual void giveCauchyStressVector_3d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep)
virtual void giveCauchyStressVector_PlaneStrain (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep)
virtual void giveCauchyStressVector_PlaneStress (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep)
virtual void giveCauchyStressVector_1d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep)
virtual void giveEshelbyStressVector_PlaneStrain (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep)
virtual FloatArrayF< 6 > giveThermalDilatationVector (GaussPoint *gp, TimeStep *tStep) const
double giveReferenceTemperature ()
virtual FloatArray computeStressIndependentStrainVector (GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const
FloatArrayF< 6 > computeStressIndependentStrainVector_3d (GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const
virtual void giveStiffnessMatrix_dPdF (FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
virtual FloatMatrixF< 9, 9 > give3dMaterialStiffnessMatrix_dPdF (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const
virtual void give3dMaterialStiffnessMatrix_dCde (FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
void giveStressDependentPartOfStrainVector (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrainVector, TimeStep *tStep, ValueModeType mode) const
int setIPValue (const FloatArray &value, GaussPoint *gp, InternalStateType type) override
int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
virtual FloatMatrixF< 3, 3 > givePlaneStressStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 4, 4 > givePlaneStressStiffnessMatrix_dPdF (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual void givePlaneStressStiffMtrx_dCde (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
virtual FloatMatrixF< 4, 4 > givePlaneStrainStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 5, 5 > givePlaneStrainStiffnessMatrix_dPdF (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual void givePlaneStrainStiffMtrx_dCde (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
virtual FloatMatrixF< 1, 1 > give1dStressStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 1, 1 > give1dStressStiffnessMatrix_dPdF (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual void give1dStressStiffMtrx_dCde (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
virtual FloatMatrixF< 2, 2 > give2dBeamLayerStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 5, 5 > givePlateLayerStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 3, 3 > giveFiberStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 3, 3 > give2dPlateSubSoilStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 6, 6 > give3dBeamSubSoilStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
Public Member Functions inherited from oofem::Material
 Material (int n, Domain *d)
virtual ~Material ()=default
 Destructor.
virtual bool isCharacteristicMtrxSymmetric (MatResponseMode rMode) const
virtual double giveCharacteristicValue (MatResponseMode type, GaussPoint *gp, TimeStep *tStep) const
 Returns characteristic value of the receiver.
virtual double give (int aProperty, GaussPoint *gp) const
virtual bool hasProperty (int aProperty, GaussPoint *gp) const
virtual void modifyProperty (int aProperty, double value, GaussPoint *gp)
double giveCastingTime () const
virtual bool isActivated (TimeStep *tStep) const
virtual bool hasCastingTimeSupport () const
void printYourself () override
 Prints receiver state on stdout. Useful for debugging.
virtual void saveIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp)
virtual void restoreIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp)
int checkConsistency () override
virtual void restoreConsistency (GaussPoint *gp)
virtual int initMaterial (Element *element)
virtual MaterialStatusgiveStatus (GaussPoint *gp) const
virtual int packUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip)
virtual int unpackAndUpdateUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip)
virtual int estimatePackSize (DataStream &buff, GaussPoint *ip)
virtual double predictRelativeComputationalCost (GaussPoint *gp)
virtual double predictRelativeRedistributionCost (GaussPoint *gp)
virtual void initTempStatus (GaussPoint *gp) const
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
Public Member Functions inherited from oofem::FEMComponent
 FEMComponent (int n, Domain *d)
virtual ~FEMComponent ()=default
 Virtual destructor.
DomaingiveDomain () const
virtual void setDomain (Domain *d)
int giveNumber () const
void setNumber (int num)
virtual void updateLocalNumbering (EntityRenumberingFunctor &f)
virtual void initializeFrom (InputRecord &ir, int priority)
virtual void initializeFinish ()
virtual void postInitialize ()
 Performs post initialization steps. Called after all components are created and initialized.
virtual void printOutputAt (FILE *file, TimeStep *tStep)
virtual InterfacegiveInterface (InterfaceType t)
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros).

Public Attributes

int afterIter = 0

Protected Member Functions

FloatMatrixF< 6, 6 > giveUnrotated3dMaterialStiffnessMatrix (MatResponseMode mode, GaussPoint *gp) const
int giveMatStiffRotationMatrix (FloatMatrixF< 6, 6 > &answer, GaussPoint *gp) const
void giveCharLength (CompoDamageMatStatus *status, GaussPoint *gp, FloatMatrix &elementCs) const
void giveCharLengthForModes (FloatArray &charLenModes, GaussPoint *gp) const
void checkSnapBack (GaussPoint *gp, MaterialMode mMode) const

Protected Attributes

FloatArray inputTension
 Six stress components of tension components read from the input file.
FloatArray inputCompression
 Six stress components of compression components read from the input file.
IntArray allowSnapBack
 Stress components which are allowed for snap back [6 tension, 6 compression].
Protected Attributes inherited from oofem::StructuralMaterial
double referenceTemperature = 0.
 Reference temperature (temperature, when material has been built into structure).
MatResponseMode SCStiffMode = TangentStiffness
 stifness mode used in stress control
double SCRelTol = 1.e-3
 relative tolerance for stress control
double SCAbsTol = 1.e-12
 absolute stress tolerance for stress control
int SCMaxiter = 100000
 maximum iterations for stress-control
Protected Attributes inherited from oofem::Material
Dictionary propertyDictionary
double castingTime
int preCastingTimeMat
 Material existing before casting time - optional parameter, zero by default.
Protected Attributes inherited from oofem::FEMComponent
int number
 Component number.
Domaindomain
 Link to domain object, useful for communicating with other FEM components.

Additional Inherited Members

Static Public Member Functions inherited from oofem::StructuralMaterial
static int giveSymVI (int ind1, int ind2)
static int giveVI (int ind1, int ind2)
static FloatMatrixF< 9, 9 > convert_dSdE_2_dPdF_3D (const FloatMatrixF< 6, 6 > &dSdE, const FloatArrayF< 6 > &S, const FloatArrayF< 9 > &F)
static FloatMatrixF< 5, 5 > convert_dSdE_2_dPdF_PlaneStrain (const FloatMatrixF< 4, 4 > &dSdE, const FloatArrayF< 4 > &S, const FloatArrayF< 5 > &F)
static FloatMatrixF< 4, 4 > convert_dSdE_2_dPdF_PlaneStress (const FloatMatrixF< 3, 3 > &dSdE, const FloatArrayF< 3 > &S, const FloatArrayF< 4 > &F)
static FloatMatrixF< 1, 1 > convert_dSdE_2_dPdF_1D (const FloatMatrixF< 1, 1 > &dSdE, const FloatArrayF< 1 > &S, const FloatArrayF< 1 > &F)
static void computePrincipalValues (FloatArray &answer, const FloatArray &s, stressStrainPrincMode mode)
 Common functions for convenience.
static FloatArrayF< 3 > computePrincipalValues (const FloatMatrixF< 3, 3 > &s)
static FloatArrayF< 3 > computePrincipalValues (double I1, double I2, double I3)
static void computePrincipalValDir (FloatArray &answer, FloatMatrix &dir, const FloatArray &s, stressStrainPrincMode mode)
static std::pair< FloatArrayF< 3 >, FloatMatrixF< 3, 3 > > computePrincipalValDir (const FloatMatrixF< 3, 3 > &s)
static FloatArrayF< 6 > computeDeviator (const FloatArrayF< 6 > &s)
static std::pair< FloatArrayF< 6 >, double > computeDeviatoricVolumetricSplit (const FloatArrayF< 6 > &s)
static FloatArrayF< 6 > computeDeviatoricVolumetricSum (const FloatArrayF< 6 > &dev, double mean)
static FloatArrayF< 6 > applyDeviatoricElasticCompliance (const FloatArrayF< 6 > &stress, double EModulus, double nu)
static FloatArrayF< 6 > applyDeviatoricElasticCompliance (const FloatArrayF< 6 > &stress, double GModulus)
static FloatArrayF< 6 > applyDeviatoricElasticStiffness (const FloatArrayF< 6 > &strain, double EModulus, double nu)
static FloatArrayF< 6 > applyDeviatoricElasticStiffness (const FloatArrayF< 6 > &strain, double GModulus)
static FloatArrayF< 6 > applyElasticStiffness (const FloatArrayF< 6 > &strain, double EModulus, double nu)
static FloatArrayF< 6 > applyElasticCompliance (const FloatArrayF< 6 > &stress, double EModulus, double nu)
static double computeStressNorm (const FloatArrayF< 6 > &stress)
static double computeFirstInvariant (const FloatArrayF< 6 > &s)
static double computeSecondStressInvariant (const FloatArrayF< 6 > &s)
static double computeThirdStressInvariant (const FloatArrayF< 6 > &s)
static double computeFirstCoordinate (const FloatArrayF< 6 > &s)
static double computeSecondCoordinate (const FloatArrayF< 6 > &s)
static double computeThirdCoordinate (const FloatArrayF< 6 > &s)
static int giveVoigtVectorMask (IntArray &answer, MaterialMode mmode)
static int giveVoigtSymVectorMask (IntArray &answer, MaterialMode mmode)
static void giveInvertedVoigtVectorMask (IntArray &answer, MaterialMode mmode)
static int giveSizeOfVoigtVector (MaterialMode mmode)
static int giveSizeOfVoigtSymVector (MaterialMode mmode)
static void giveFullVectorForm (FloatArray &answer, const FloatArray &strainVector, MaterialMode matMode)
 Converts the reduced symmetric Voigt vector (2nd order tensor) to full form.
static void giveFullVectorFormF (FloatArray &answer, const FloatArray &strainVector, MaterialMode matMode)
 Converts the reduced deformation gradient Voigt vector (2nd order tensor).
static void giveFullSymVectorForm (FloatArray &answer, const FloatArray &vec, MaterialMode matMode)
 Converts the reduced unsymmetric Voigt vector (2nd order tensor) to full form.
static void giveReducedVectorForm (FloatArray &answer, const FloatArray &vec, MaterialMode matMode)
 Converts the full symmetric Voigt vector (2nd order tensor) to reduced form.
static void giveReducedSymVectorForm (FloatArray &answer, const FloatArray &vec, MaterialMode matMode)
 Converts the full unsymmetric Voigt vector (2nd order tensor) to reduced form.
static void giveFullSymMatrixForm (FloatMatrix &answer, const FloatMatrix &red, MaterialMode matMode)
 Converts the full unsymmetric Voigt matrix (4th order tensor) to reduced form.
static void giveReducedMatrixForm (FloatMatrix &answer, const FloatMatrix &full, MaterialMode matMode)
 Converts the full symmetric Voigt matrix (4th order tensor) to reduced form.
static void giveReducedSymMatrixForm (FloatMatrix &answer, const FloatMatrix &full, MaterialMode matMode)
 Converts the full unsymmetric Voigt matrix (4th order tensor) to reduced form.
static FloatArrayF< 6 > transformStrainVectorTo (const FloatMatrixF< 3, 3 > &base, const FloatArrayF< 6 > &strain, bool transpose=false)
static FloatArrayF< 6 > transformStressVectorTo (const FloatMatrixF< 3, 3 > &base, const FloatArrayF< 6 > &stress, bool transpose=false)
static double computeVonMisesStress (const FloatArray &currentStress)
static double computeVonMisesStress_3D (const FloatArrayF< 6 > &stress)
static double computeVonMisesStress_PlaneStress (const FloatArrayF< 3 > &stress)
static FloatMatrixF< 6, 6 > giveStrainVectorTranformationMtrx (const FloatMatrixF< 3, 3 > &base, bool transpose=false)
static FloatMatrixF< 3, 3 > give2DStrainVectorTranformationMtrx (const FloatMatrixF< 2, 2 > &base, bool transpose=false)
static FloatMatrixF< 6, 6 > giveStressVectorTranformationMtrx (const FloatMatrixF< 3, 3 > &base, bool transpose=false)
static FloatMatrixF< 3, 3 > givePlaneStressVectorTranformationMtrx (const FloatMatrixF< 2, 2 > &base, bool transpose=false)
static void sortPrincDirAndValCloseTo (FloatArray &pVal, FloatMatrix &pDir, const FloatMatrix &toPDir)
Static Public Attributes inherited from oofem::StructuralMaterial
static std::array< std::array< int, 3 >, 3 > vIindex
 Voigt index map.
static std::array< std::array< int, 3 >, 3 > svIndex
 Symmetric Voigt index map.

Detailed Description

Material damage model for transversely orthotropic material. Fixed cracks are induced in principal material coordinates, always perpendicular to material axis. Six cracking modes are implemented in three orthogonal directions - three for tension/compression failure and three for shear failure. Material orientation can be specified on each element with "lmcs" keyword, otherwise global material orientation is assumed.

Evolution of cracks is determined separately in compression and tension. Linear softening is assumed (can be easily changed to exponential but requires then inner iterations)

For derivation of the model see the book Bazant and Planas, Fracture and Size Effect in Concrete and Other Quasibrittle Materials, pp.236 or article Bazant and Oh: Crack band theory for fracture of concrete, Materials and Structures, 1983.

The model is aimed for 3D problems but extension for 1D truss works. In this particular case, only the first array component is used in all involved variables.

Author
Vit Smilauer
Todo
This class should overload give1dMaterialStiffMtrx

Definition at line 137 of file compodamagemat.h.

Constructor & Destructor Documentation

◆ CompoDamageMat()

oofem::CompoDamageMat::CompoDamageMat ( int n,
Domain * d )

Constructor.

Definition at line 48 of file compodamagemat.C.

References oofem::StructuralMaterial::StructuralMaterial().

Referenced by giveRealStressVector_1d(), and giveRealStressVector_3d().

Member Function Documentation

◆ checkSnapBack()

void oofem::CompoDamageMat::checkSnapBack ( GaussPoint * gp,
MaterialMode mMode ) const
protected

Check that element is small enough or Gf is large enough to prevent the snap-back.

Parameters
gpIntegration point.
mModeType of material (_1dMat, _3dMat supported).
Todo
Check value here for 1d mat (old broken code used undeclared variable)

Definition at line 473 of file compodamagemat.C.

References allowSnapBack, oofem::FloatArray::at(), oofem::CompoDamageMatStatus::elemCharLength, Ex, Ey, Ez, oofem::Material::give(), giveCharLengthForModes(), oofem::GaussPoint::giveElement(), oofem::Element::giveGlobalNumber(), oofem::FEMComponent::giveNumber(), oofem::GaussPoint::giveNumber(), oofem::Material::giveStatus(), Gxy, Gxz, Gyz, inputCompression, inputTension, OOFEM_ERROR, and OOFEM_LOG_INFO.

Referenced by giveRealStressVector().

◆ CreateStatus()

std::unique_ptr< MaterialStatus > oofem::CompoDamageMat::CreateStatus ( GaussPoint * gp) const
inlineoverridevirtual

Creates new copy of associated status and inserts it into given integration point.

Parameters
gpIntegration point where newly created status will be stored.
Returns
Reference to new status.

Reimplemented from oofem::Material.

Definition at line 149 of file compodamagemat.h.

◆ give3dMaterialStiffnessMatrix()

FloatMatrixF< 6, 6 > oofem::CompoDamageMat::give3dMaterialStiffnessMatrix ( MatResponseMode mode,
GaussPoint * gp,
TimeStep * tStep ) const
overridevirtual

Computes full 3d material stiffness matrix at given integration point, time, respecting load history in integration point.

Parameters
answerComputed results.
modeMaterial response mode.
gpIntegration point.
tStepTime step (most models are able to respond only when tStep is current time step).

Reimplemented from oofem::StructuralMaterial.

Definition at line 120 of file compodamagemat.C.

References giveMatStiffRotationMatrix(), giveUnrotated3dMaterialStiffnessMatrix(), and oofem::rotate().

◆ giveCharLength()

void oofem::CompoDamageMat::giveCharLength ( CompoDamageMatStatus * status,
GaussPoint * gp,
FloatMatrix & elementCs ) const
protected

Fills array elemCharLength with characteristic length related to three perpendicular planes. The planes are of the same orientation as material.

Parameters
statusPointer to integration point's status.
gpIntegration point.
elementCsMaterial orientation matrix.

Definition at line 440 of file compodamagemat.C.

References oofem::FloatArray::at(), oofem::FloatMatrix::at(), oofem::CompoDamageMatStatus::elemCharLength, oofem::Element::giveCharacteristicLength(), and oofem::GaussPoint::giveElement().

Referenced by giveRealStressVector().

◆ giveCharLengthForModes()

void oofem::CompoDamageMat::giveCharLengthForModes ( FloatArray & charLenModes,
GaussPoint * gp ) const
protected

Computes characteristic length for fixed planes of material orientation.

Parameters
charLenModesReturns six lengths.
gpIntegration point.

Definition at line 459 of file compodamagemat.C.

References oofem::FloatArray::at(), oofem::CompoDamageMatStatus::elemCharLength, oofem::Material::giveStatus(), and oofem::FloatArray::resize().

Referenced by checkSnapBack(), and giveRealStressVector().

◆ giveClassName()

const char * oofem::CompoDamageMat::giveClassName ( ) const
inlineoverridevirtual
Returns
Class name of the receiver.

Implements oofem::FEMComponent.

Definition at line 143 of file compodamagemat.h.

◆ giveInputRecord()

void oofem::CompoDamageMat::giveInputRecord ( DynamicInputRecord & input)
overridevirtual

Setups the input record string of receiver.

Parameters
inputDynamic input record to be filled by receiver.

Reimplemented from oofem::FEMComponent.

Definition at line 111 of file compodamagemat.C.

References OOFEM_ERROR.

◆ giveInputRecordName()

const char * oofem::CompoDamageMat::giveInputRecordName ( ) const
inlineoverridevirtual
Returns
Input record name of the receiver.

Implements oofem::FEMComponent.

Definition at line 144 of file compodamagemat.h.

References _IFT_CompoDamageMat_Name.

◆ giveIPValue()

int oofem::CompoDamageMat::giveIPValue ( FloatArray & answer,
GaussPoint * gp,
InternalStateType type,
TimeStep * tStep )
overridevirtual

Returns the integration point corresponding value in Reduced form.

Parameters
answerContain corresponding ip value, zero sized if not available.
gpIntegration point to which the value refers.
typeDetermines the type of internal variable.
tStepDetermines the time step.
Returns
Nonzero if the assignment can be done, zero if this type of variable is not supported.

Reimplemented from oofem::Material.

Definition at line 347 of file compodamagemat.C.

References oofem::Material::giveStatus(), and oofem::CompoDamageMatStatus::omega.

◆ giveMatStiffRotationMatrix()

int oofem::CompoDamageMat::giveMatStiffRotationMatrix ( FloatMatrixF< 6, 6 > & answer,
GaussPoint * gp ) const
protected

Returns [6x6] rotation matrix in the global coordinate system. The matrix relates local c.s. to global c.s. Local c.s. can be specified with 'mcs' flag defined on element.

Parameters
answerRotation matrix [3x3].
gpIntegration point.
Returns
0 if no lcs is defined on element, 1 if defined.

Definition at line 410 of file compodamagemat.C.

References oofem::GaussPoint::giveElement(), oofem::Element::giveLocalCoordinateSystem(), oofem::GaussPoint::giveMaterialMode(), oofem::StructuralMaterial::giveStrainVectorTranformationMtrx(), and OOFEM_ERROR.

Referenced by give3dMaterialStiffnessMatrix().

◆ giveRealStressVector()

void oofem::CompoDamageMat::giveRealStressVector ( FloatArray & answer,
GaussPoint * gp,
const FloatArray & reducedStrain,
TimeStep * tStep ) const
overridevirtual

Computes the real stress vector for given total strain and integration point. The total strain is defined as strain computed directly from displacement field at given time. The stress independent parts (temperature, eigenstrains) are subtracted in constitutive driver. The service should use previously reached equilibrium history variables. Also it should update temporary history variables in status according to newly reached state. The temporary history variables are moved into equilibrium ones after global structure equilibrium has been reached by iteration process.

Parameters
answerStress vector in reduced form. For large deformations it is treated as the second Piola-Kirchoff stress.
gpIntegration point.
reducedStrainStrain vector in reduced form. For large deformations it is treated as the Green-Lagrange strain.
tStepCurrent time step (most models are able to respond only when tStep is current time step).
Todo
Move this to StructuralCrossSection ?

Reimplemented from oofem::StructuralMaterial.

Definition at line 133 of file compodamagemat.C.

References oofem::FloatArray::at(), oofem::IntArray::at(), oofem::FloatMatrix::beUnitMatrix(), checkSnapBack(), oofem::CompoDamageMatStatus::elemCharLength, Ex, Ey, Ez, oofem::Material::give(), oofem::Element::giveCharacteristicLength(), giveCharLength(), giveCharLengthForModes(), oofem::GaussPoint::giveElement(), oofem::Element::giveLocalCoordinateSystem(), oofem::GaussPoint::giveMaterialMode(), oofem::FEMComponent::giveNumber(), oofem::Material::giveStatus(), oofem::StructuralMaterialStatus::giveStrainVector(), oofem::StructuralMaterial::giveStressDependentPartOfStrainVector(), oofem::StructuralMaterialStatus::giveStressVector(), giveUnrotated3dMaterialStiffnessMatrix(), Gxy, Gxz, Gyz, oofem::CompoDamageMatStatus::hasSnapBack, oofem::CompoDamageMatStatus::initDamageStress, inputCompression, inputTension, oofem::CompoDamageMatStatus::Iteration, oofem::CompoDamageMatStatus::kappa, oofem::StructuralMaterialStatus::letTempStrainVectorBe(), oofem::StructuralMaterialStatus::letTempStressVectorBe(), oofem::max(), oofem::CompoDamageMatStatus::maxStrainAtZeroStress, oofem::min(), NYxy, NYxz, NYyx, NYyz, NYzx, NYzy, oofem::CompoDamageMatStatus::omega, OOFEM_ERROR, OOFEM_WARNING, oofem::FloatArray::resize(), oofem::FloatMatrix::resize(), oofem::CompoDamageMatStatus::strainAtMaxStress, oofem::CompoDamageMatStatus::tempKappa, oofem::CompoDamageMatStatus::tempOmega, oofem::CompoDamageMatStatus::tempStressMLCS, oofem::StructuralMaterial::transformStrainVectorTo(), and oofem::StructuralMaterial::transformStressVectorTo().

Referenced by giveRealStressVector_1d(), and giveRealStressVector_3d().

◆ giveRealStressVector_1d()

FloatArrayF< 1 > oofem::CompoDamageMat::giveRealStressVector_1d ( const FloatArrayF< 1 > & reducedE,
GaussPoint * gp,
TimeStep * tStep ) const
inlineoverridevirtual

Default implementation relies on giveRealStressVector_StressControl.

Reimplemented from oofem::StructuralMaterial.

Definition at line 162 of file compodamagemat.h.

References CompoDamageMat(), and giveRealStressVector().

◆ giveRealStressVector_3d()

FloatArrayF< 6 > oofem::CompoDamageMat::giveRealStressVector_3d ( const FloatArrayF< 6 > & strain,
GaussPoint * gp,
TimeStep * tStep ) const
inlineoverridevirtual

Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress.

Reimplemented from oofem::StructuralMaterial.

Definition at line 156 of file compodamagemat.h.

References CompoDamageMat(), and giveRealStressVector().

◆ giveUnrotated3dMaterialStiffnessMatrix()

FloatMatrixF< 6, 6 > oofem::CompoDamageMat::giveUnrotated3dMaterialStiffnessMatrix ( MatResponseMode mode,
GaussPoint * gp ) const
protected

Returns 3D material stiffness matrix [6x6] in unrotated form. The matrix is reduced by by omega variables.

Parameters
answerFull symmetric matrix.
modeMaterial mode of stiffness matrix (elastic, secant).
gpIntegration point.

Definition at line 359 of file compodamagemat.C.

References oofem::FloatArray::at(), oofem::FloatMatrixF< N, M >::at(), Ex, Ey, Ez, oofem::Material::give(), oofem::Material::giveStatus(), Gxy, Gxz, Gyz, NYxy, NYyz, and oofem::CompoDamageMatStatus::tempOmega.

Referenced by give3dMaterialStiffnessMatrix(), and giveRealStressVector().

◆ initializeFrom()

void oofem::CompoDamageMat::initializeFrom ( InputRecord & ir)
overridevirtual

Initializes receiver according to object description stored in input record. This function is called immediately after creating object using constructor. Input record can be imagined as data record in component database belonging to receiver. Receiver may use value-name extracting functions to extract particular field from record. Note that initializeFrom may be called mutiple times.

See also
IR_GIVE_FIELD
IR_GIVE_OPTIONAL_FIELD
Parameters
irInput record to initialize from.
priorityPriority of the input record. This is used to determine the order of initialization

Reimplemented from oofem::FEMComponent.

Definition at line 53 of file compodamagemat.C.

References _IFT_CompoDamageMat_afteriter, _IFT_CompoDamageMat_allowSnapBack, _IFT_CompoDamageMat_compres_f0_gf, _IFT_CompoDamageMat_exx, _IFT_CompoDamageMat_eyyezz, _IFT_CompoDamageMat_Gxy, _IFT_CompoDamageMat_nuxynuxz, _IFT_CompoDamageMat_nuyz, _IFT_CompoDamageMat_tension_f0_gf, afterIter, allowSnapBack, Ex, Ey, Ez, oofem::Material::give(), Gxy, Gxz, Gyz, inputCompression, inputTension, IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, NYxy, NYxz, NYyx, NYyz, NYzx, NYzy, OOFEM_ERROR, and oofem::Material::propertyDictionary.

Member Data Documentation

◆ afterIter

int oofem::CompoDamageMat::afterIter = 0

Optional parameter determining after how many iterations within the time step the damage is calculated. This is important for stress evaluation which is unequilibrated in the beginning. Variables strainAtMaxStress, initDamageStress, maxStrainAtZeroStress are evaluated afterIter.

Definition at line 176 of file compodamagemat.h.

Referenced by initializeFrom().

◆ allowSnapBack

IntArray oofem::CompoDamageMat::allowSnapBack
protected

Stress components which are allowed for snap back [6 tension, 6 compression].

Definition at line 202 of file compodamagemat.h.

Referenced by checkSnapBack(), and initializeFrom().

◆ inputCompression

FloatArray oofem::CompoDamageMat::inputCompression
mutableprotected

Six stress components of compression components read from the input file.

Definition at line 199 of file compodamagemat.h.

Referenced by checkSnapBack(), giveRealStressVector(), and initializeFrom().

◆ inputTension

FloatArray oofem::CompoDamageMat::inputTension
mutableprotected

Six stress components of tension components read from the input file.

Definition at line 197 of file compodamagemat.h.

Referenced by checkSnapBack(), giveRealStressVector(), and initializeFrom().


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