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

#include <expczmaterial.h>

Inheritance diagram for oofem::ExpCZMaterial:
Collaboration diagram for oofem::ExpCZMaterial:

Public Member Functions

 ExpCZMaterial (int n, Domain *d)
 Constructor.
int checkConsistency () override
const char * giveClassName () const override
void giveEngTraction_3d (FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep) override
void give3dStiffnessMatrix_Eng (FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
void initializeFrom (InputRecord &ir) override
MaterialStatusCreateStatus (GaussPoint *gp) const override
void printYourself () override
 Prints receiver state on stdout. Useful for debugging.
Public Member Functions inherited from oofem::StructuralInterfaceMaterial
 StructuralInterfaceMaterial (int n, Domain *d)
virtual double giveFirstPKTraction_1d (double jump, double reducedF, GaussPoint *gp, TimeStep *tStep) const
virtual FloatArrayF< 2 > giveFirstPKTraction_2d (const FloatArrayF< 2 > &jump, const FloatMatrixF< 2, 2 > &reducedF, GaussPoint *gp, TimeStep *tStep) const
virtual FloatArrayF< 3 > giveFirstPKTraction_3d (const FloatArrayF< 3 > &jump, const FloatMatrixF< 3, 3 > &F, GaussPoint *gp, TimeStep *tStep) const
virtual double giveEngTraction_1d (double jump, GaussPoint *gp, TimeStep *tStep) const
virtual FloatArrayF< 2 > giveEngTraction_2d (const FloatArrayF< 2 > &jump, GaussPoint *gp, TimeStep *tStep) const
virtual FloatArrayF< 3 > giveEngTraction_3d (const FloatArrayF< 3 > &jump, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 1, 1 > give1dStiffnessMatrix_dTdj (MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 2, 2 > give2dStiffnessMatrix_dTdj (MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 3, 3 > give3dStiffnessMatrix_dTdj (MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 1, 1 > give1dStiffnessMatrix_Eng (MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 2, 2 > give2dStiffnessMatrix_Eng (MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 3, 3 > give3dStiffnessMatrix_Eng (MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const
FloatMatrixF< 1, 1 > give1dStiffnessMatrix_dTdj_Num (GaussPoint *gp, TimeStep *tStep) const
FloatMatrixF< 2, 2 > give2dStiffnessMatrix_dTdj_Num (GaussPoint *gp, TimeStep *tStep) const
FloatMatrixF< 3, 3 > give3dStiffnessMatrix_dTdj_Num (GaussPoint *gp, TimeStep *tStep) const
FloatMatrixF< 1, 1 > give1dStiffnessMatrix_Eng_Num (GaussPoint *gp, TimeStep *tStep) const
FloatMatrixF< 2, 2 > give2dStiffnessMatrix_Eng_Num (GaussPoint *gp, TimeStep *tStep) const
FloatMatrixF< 3, 3 > give3dStiffnessMatrix_Eng_Num (GaussPoint *gp, TimeStep *tStep) const
virtual bool hasAnalyticalTangentStiffness () const =0
void initializeFrom (InputRecord &ir) override
void giveInputRecord (DynamicInputRecord &input) override
virtual FloatArray giveInterfaceStrength ()
int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
Public Member Functions inherited from oofem::Material
 Material (int n, Domain *d)
virtual ~Material ()=default
 Destructor.
virtual bool isCharacteristicMtrxSymmetric (MatResponseMode rMode) const
virtual void giveCharacteristicMatrix (FloatMatrix &answer, MatResponseMode type, GaussPoint *gp, TimeStep *tStep) const
 Returns characteristic matrix of the receiver.
virtual void giveCharacteristicVector (FloatArray &answer, FloatArray &flux, MatResponseMode type, GaussPoint *gp, TimeStep *tStep) const
 Returns characteristic vector of the receiver.
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 hasMaterialModeCapability (MaterialMode mode) const
virtual bool hasCastingTimeSupport () const
virtual int setIPValue (const FloatArray &value, GaussPoint *gp, InternalStateType type)
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.
virtual const char * giveInputRecordName () const =0
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).

Protected Attributes

double kn0 = 0.
 Material parameters.
double ks0 = 0.
double GIc = 0.
double GIIc = 0.
double sigfn = 0.
double sigfs = 0.
double gn0 = 0.
 normal jump at damage initiation
double gs0 = 0.
 shear jump at damage initiations
double q = 0.
double r = 0.
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

Public Attributes inherited from oofem::StructuralInterfaceMaterial
bool useNumericalTangent

Detailed Description

Simple isotropic damage based model for 2d interface elements. In 2d, the interface elements are used to model contact layer between element edges. The generalized strain vector contains two relative displacements (in normal and shear direction). The generalized stress vector contains corresponding tractions in normal and tangent direction.

The behaviour of the model is elastic, described by normal and shear stiffness components. Isotropic damage is initiated when the stress reaches the tensile strength. Damage evolution is governed by normal component of generalized strain vector (normal relative displacement) by an exponential softening law.

Definition at line 88 of file expczmaterial.h.

Constructor & Destructor Documentation

◆ ExpCZMaterial()

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

Constructor.

Definition at line 47 of file expczmaterial.C.

References oofem::StructuralInterfaceMaterial::StructuralInterfaceMaterial().

Member Function Documentation

◆ checkConsistency()

int oofem::ExpCZMaterial::checkConsistency ( void )
overridevirtual

Allows programmer to test some internal data, before computation begins. For example, one may use this function, to ensure that element has material with required capabilities is assigned to element. This must be done after all mesh components are instanciated.

Returns
Nonzero if receiver is consistent.

Reimplemented from oofem::FEMComponent.

Definition at line 136 of file expczmaterial.C.

◆ CreateStatus()

MaterialStatus * oofem::ExpCZMaterial::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 121 of file expczmaterial.h.

◆ give3dStiffnessMatrix_Eng()

void oofem::ExpCZMaterial::give3dStiffnessMatrix_Eng ( FloatMatrix & answer,
MatResponseMode rMode,
GaussPoint * gp,
TimeStep * tStep )
override

◆ giveClassName()

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

Implements oofem::FEMComponent.

Definition at line 112 of file expczmaterial.h.

◆ giveEngTraction_3d()

void oofem::ExpCZMaterial::giveEngTraction_3d ( FloatArray & answer,
GaussPoint * gp,
const FloatArray & jump,
TimeStep * tStep )
override

◆ giveIPValue()

int oofem::ExpCZMaterial::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 105 of file expczmaterial.C.

References oofem::Material::giveStatus().

◆ initializeFrom()

void oofem::ExpCZMaterial::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 113 of file expczmaterial.C.

References _IFT_ExpCZMaterial_g1c, _IFT_ExpCZMaterial_sigfn, GIc, GIIc, gn0, gs0, IR_GIVE_FIELD, q, r, sigfn, sigfs, and oofem::tolerance.

◆ printYourself()

void oofem::ExpCZMaterial::printYourself ( )
overridevirtual

Prints receiver state on stdout. Useful for debugging.

Reimplemented from oofem::FEMComponent.

Definition at line 142 of file expczmaterial.C.

References GIc, GIIc, gn0, gs0, q, r, and sigfn.

Member Data Documentation

◆ GIc

double oofem::ExpCZMaterial::GIc = 0.
protected

◆ GIIc

double oofem::ExpCZMaterial::GIIc = 0.
protected

Definition at line 95 of file expczmaterial.h.

Referenced by initializeFrom(), and printYourself().

◆ gn0

double oofem::ExpCZMaterial::gn0 = 0.
protected

normal jump at damage initiation

Definition at line 100 of file expczmaterial.h.

Referenced by give3dStiffnessMatrix_Eng(), giveEngTraction_3d(), initializeFrom(), and printYourself().

◆ gs0

double oofem::ExpCZMaterial::gs0 = 0.
protected

shear jump at damage initiations

Definition at line 102 of file expczmaterial.h.

Referenced by give3dStiffnessMatrix_Eng(), giveEngTraction_3d(), initializeFrom(), and printYourself().

◆ kn0

double oofem::ExpCZMaterial::kn0 = 0.
protected

Material parameters.

Definition at line 92 of file expczmaterial.h.

◆ ks0

double oofem::ExpCZMaterial::ks0 = 0.
protected

Definition at line 93 of file expczmaterial.h.

◆ q

double oofem::ExpCZMaterial::q = 0.
protected

◆ r

double oofem::ExpCZMaterial::r = 0.
protected

◆ sigfn

double oofem::ExpCZMaterial::sigfn = 0.
protected

Definition at line 96 of file expczmaterial.h.

Referenced by initializeFrom(), and printYourself().

◆ sigfs

double oofem::ExpCZMaterial::sigfs = 0.
protected

Definition at line 97 of file expczmaterial.h.

Referenced by 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