OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Simple isotropic damage based model for 2d interface elements. More...
#include <expczmaterial.h>
Public Member Functions | |
ExpCZMaterial (int n, Domain *d) | |
Constructor. More... | |
virtual | ~ExpCZMaterial () |
Destructor. More... | |
virtual int | hasNonLinearBehaviour () |
Returns nonzero if receiver is non linear. More... | |
virtual int | checkConsistency () |
Allows programmer to test some internal data, before computation begins. More... | |
virtual const char * | giveClassName () const |
virtual void | giveEngTraction_3d (FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep) |
virtual void | give3dStiffnessMatrix_Eng (FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) |
virtual int | giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) |
Returns the integration point corresponding value in Reduced form. More... | |
virtual int | giveIntVarCompFullIndx (IntArray &answer, InternalStateType type, MaterialMode mmode) |
virtual int | giveIPValueSize (InternalStateType type, GaussPoint *gp) |
virtual IRResultType | initializeFrom (InputRecord *ir) |
Initializes receiver according to object description stored in input record. More... | |
virtual MaterialStatus * | CreateStatus (GaussPoint *gp) const |
Creates new copy of associated status and inserts it into given integration point. More... | |
virtual void | printYourself () |
Prints receiver state on stdout. Useful for debugging. More... | |
Public Member Functions inherited from oofem::StructuralInterfaceMaterial | |
StructuralInterfaceMaterial (int n, Domain *d) | |
Constructor. More... | |
virtual | ~StructuralInterfaceMaterial () |
Destructor. More... | |
virtual void | giveFirstPKTraction_1d (FloatArray &answer, GaussPoint *gp, const FloatArray &jump, const FloatMatrix &reducedF, TimeStep *tStep) |
Computes the first Piola-Kirchoff traction vector for given total jump/gap and integration point. More... | |
virtual void | giveFirstPKTraction_2d (FloatArray &answer, GaussPoint *gp, const FloatArray &jump, const FloatMatrix &reducedF, TimeStep *tStep) |
virtual void | giveFirstPKTraction_3d (FloatArray &answer, GaussPoint *gp, const FloatArray &jump, const FloatMatrix &F, TimeStep *tStep) |
virtual void | giveEngTraction_1d (FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep) |
virtual void | giveEngTraction_2d (FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep) |
virtual void | give1dStiffnessMatrix_dTdj (FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) |
Gives the tangent: . More... | |
virtual void | give2dStiffnessMatrix_dTdj (FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) |
virtual void | give3dStiffnessMatrix_dTdj (FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) |
virtual void | give1dStiffnessMatrix_Eng (FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) |
virtual void | give2dStiffnessMatrix_Eng (FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) |
void | give1dStiffnessMatrix_dTdj_Num (FloatMatrix &answer, GaussPoint *gp, TimeStep *tStep) |
void | give2dStiffnessMatrix_dTdj_Num (FloatMatrix &answer, GaussPoint *gp, TimeStep *tStep) |
void | give3dStiffnessMatrix_dTdj_Num (FloatMatrix &answer, GaussPoint *gp, TimeStep *tStep) |
void | give1dStiffnessMatrix_Eng_Num (FloatMatrix &answer, GaussPoint *gp, TimeStep *tStep) |
void | give2dStiffnessMatrix_Eng_Num (FloatMatrix &answer, GaussPoint *gp, TimeStep *tStep) |
void | give3dStiffnessMatrix_Eng_Num (FloatMatrix &answer, GaussPoint *gp, TimeStep *tStep) |
virtual bool | hasAnalyticalTangentStiffness () const =0 |
Tells if the model has implemented analytical tangent stiffness. More... | |
virtual void | giveInputRecord (DynamicInputRecord &input) |
Setups the input record string of receiver. More... | |
virtual FloatArray | giveInterfaceStrength () |
Public Member Functions inherited from oofem::Material | |
Material (int n, Domain *d) | |
Constructor. More... | |
virtual | ~Material () |
Destructor. More... | |
virtual bool | isCharacteristicMtrxSymmetric (MatResponseMode rMode) |
Returns true if stiffness matrix of receiver is symmetric Default implementation returns true. More... | |
virtual double | give (int aProperty, GaussPoint *gp) |
Returns the value of material property 'aProperty'. More... | |
virtual bool | hasProperty (int aProperty, GaussPoint *gp) |
Returns true if 'aProperty' exists on material. More... | |
virtual void | modifyProperty (int aProperty, double value, GaussPoint *gp) |
Modify 'aProperty', which already exists on material. More... | |
double | giveCastingTime () |
virtual bool | isActivated (TimeStep *tStep) |
virtual int | hasMaterialModeCapability (MaterialMode mode) |
Tests if material supports material mode. More... | |
virtual int | hasCastingTimeSupport () |
Tests if material supports casting time. More... | |
virtual contextIOResultType | saveIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp) |
Stores integration point state to output stream. More... | |
virtual contextIOResultType | restoreIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp) |
Reads integration point state to output stream. More... | |
virtual int | initMaterial (Element *element) |
Optional function to call specific procedures when initializing a material. More... | |
virtual MaterialStatus * | giveStatus (GaussPoint *gp) const |
Returns material status of receiver in given integration point. More... | |
virtual int | packUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip) |
Pack all necessary data of integration point (according to element parallel_mode) into given communication buffer. More... | |
virtual int | unpackAndUpdateUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip) |
Unpack and updates all necessary data of given integration point (according to element parallel_mode) into given communication buffer. More... | |
virtual int | estimatePackSize (DataStream &buff, GaussPoint *ip) |
Estimates the necessary pack size to hold all packed data of receiver. More... | |
virtual double | predictRelativeComputationalCost (GaussPoint *gp) |
Returns the weight representing relative computational cost of receiver The reference material model is linear isotropic material - its weight is set to 1.0 The other material models should compare to this reference model. More... | |
virtual double | predictRelativeRedistributionCost (GaussPoint *gp) |
Returns the relative redistribution cost of the receiver. More... | |
virtual void | initTempStatus (GaussPoint *gp) |
Initializes temporary variables stored in integration point status at the beginning of new time step. More... | |
virtual int | setIPValue (const FloatArray &value, GaussPoint *gp, InternalStateType type) |
Sets the value of a certain variable at a given integration point to the given value. More... | |
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... | |
virtual const char * | giveInputRecordName () const =0 |
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 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 void | printOutputAt (FILE *file, TimeStep *tStep) |
Prints output of receiver to stream, for given time step. 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... | |
Protected Attributes | |
double | kn0 |
Material parameters. More... | |
double | ks0 |
double | GIc |
double | GIIc |
double | sigfn |
double | sigfs |
double | gn0 |
normal jump at damage initiation More... | |
double | gs0 |
shear jump at damage initiations More... | |
double | q |
double | r |
Protected Attributes inherited from oofem::Material | |
Dictionary | propertyDictionary |
Property dictionary. More... | |
double | castingTime |
Casting time. 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... | |
Additional Inherited Members | |
Public Attributes inherited from oofem::StructuralInterfaceMaterial | |
bool | useNumericalTangent |
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 91 of file expczmaterial.h.
oofem::ExpCZMaterial::ExpCZMaterial | ( | int | n, |
Domain * | d | ||
) |
Constructor.
Definition at line 47 of file expczmaterial.C.
|
virtual |
Destructor.
Definition at line 51 of file expczmaterial.C.
|
virtual |
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.
Reimplemented from oofem::Material.
Definition at line 147 of file expczmaterial.C.
|
inlinevirtual |
Creates new copy of associated status and inserts it into given integration point.
gp | Integration point where newly created status will be stored. |
Reimplemented from oofem::Material.
Definition at line 129 of file expczmaterial.h.
References oofem::FEMComponent::domain, oofem::ExpCZMaterialStatus::ExpCZMaterialStatus(), and oofem::FEMComponent::printYourself().
|
virtual |
Reimplemented from oofem::StructuralInterfaceMaterial.
Definition at line 84 of file expczmaterial.C.
References oofem::FloatArray::at(), oofem::FloatMatrix::at(), GIc, oofem::Material::giveStatus(), oofem::StructuralInterfaceMaterialStatus::giveTempJump(), gn0, gs0, OOFEM_ERROR, q, r, oofem::FloatMatrix::resize(), oofem::tolerance, and oofem::FloatMatrix::zero().
|
inlinevirtual |
Reimplemented from oofem::StructuralInterfaceMaterial.
Definition at line 118 of file expczmaterial.h.
References oofem::IntegrationPointStatus::gp, oofem::MaterialStatus::initializeFrom(), and oofem::StructuralInterfaceMaterialStatus::jump.
|
virtual |
Reimplemented from oofem::StructuralInterfaceMaterial.
Definition at line 56 of file expczmaterial.C.
References oofem::FloatArray::at(), GIc, oofem::Material::giveStatus(), gn0, gs0, oofem::StructuralInterfaceMaterialStatus::letTempJumpBe(), oofem::StructuralInterfaceMaterialStatus::letTempTractionBe(), q, r, oofem::FloatArray::resize(), and oofem::tolerance.
|
virtual |
|
virtual |
Returns the integration point corresponding value in Reduced form.
answer | Contain corresponding ip value, zero sized if not available. |
gp | Integration point to which the value refers. |
type | Determines the type of internal variable. |
tStep | Determines the time step. |
Reimplemented from oofem::StructuralInterfaceMaterial.
Definition at line 112 of file expczmaterial.C.
References oofem::StructuralInterfaceMaterial::giveIPValue(), and oofem::Material::giveStatus().
|
virtual |
|
inlinevirtual |
Returns nonzero if receiver is non linear.
Reimplemented from oofem::Material.
Definition at line 115 of file expczmaterial.h.
References oofem::FEMComponent::checkConsistency().
|
virtual |
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.
ir | Input record to initialize from. |
Reimplemented from oofem::StructuralInterfaceMaterial.
Definition at line 120 of file expczmaterial.C.
References _IFT_ExpCZMaterial_g1c, _IFT_ExpCZMaterial_sigfn, GIc, GIIc, gn0, gs0, IR_GIVE_FIELD, oofem::IRRT_BAD_FORMAT, oofem::IRRT_OK, OOFEM_WARNING, q, r, sigfn, sigfs, and oofem::tolerance.
|
virtual |
Prints receiver state on stdout. Useful for debugging.
Reimplemented from oofem::Material.
Definition at line 153 of file expczmaterial.C.
|
protected |
Definition at line 97 of file expczmaterial.h.
Referenced by give3dStiffnessMatrix_Eng(), giveEngTraction_3d(), initializeFrom(), and printYourself().
|
protected |
Definition at line 98 of file expczmaterial.h.
Referenced by initializeFrom(), and printYourself().
|
protected |
normal jump at damage initiation
Definition at line 103 of file expczmaterial.h.
Referenced by give3dStiffnessMatrix_Eng(), giveEngTraction_3d(), initializeFrom(), and printYourself().
|
protected |
shear jump at damage initiations
Definition at line 105 of file expczmaterial.h.
Referenced by give3dStiffnessMatrix_Eng(), giveEngTraction_3d(), initializeFrom(), and printYourself().
|
protected |
Material parameters.
Definition at line 95 of file expczmaterial.h.
|
protected |
Definition at line 96 of file expczmaterial.h.
|
protected |
Definition at line 106 of file expczmaterial.h.
Referenced by give3dStiffnessMatrix_Eng(), giveEngTraction_3d(), initializeFrom(), and printYourself().
|
protected |
Definition at line 107 of file expczmaterial.h.
Referenced by give3dStiffnessMatrix_Eng(), giveEngTraction_3d(), initializeFrom(), and printYourself().
|
protected |
Definition at line 99 of file expczmaterial.h.
Referenced by initializeFrom(), and printYourself().
|
protected |
Definition at line 100 of file expczmaterial.h.
Referenced by initializeFrom().