OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::LatticeDamage2d Class Reference

This class implements a local random isotropic damage model for concrete in tension for 2D lattice elements. More...

#include <latticedamage2d.h>

+ Inheritance diagram for oofem::LatticeDamage2d:
+ Collaboration diagram for oofem::LatticeDamage2d:

Public Member Functions

 LatticeDamage2d (int n, Domain *d)
 Constructor. More...
 
virtual ~LatticeDamage2d ()
 Destructor. More...
 
virtual const char * giveInputRecordName () const
 
virtual const char * giveClassName () const
 
virtual IRResultType initializeFrom (InputRecord *ir)
 Initializes receiver according to object description stored in input record. More...
 
virtual bool isCharacteristicMtrxSymmetric (MatResponseMode rMode)
 Returns true if stiffness matrix of receiver is symmetric Default implementation returns true. More...
 
virtual void giveStiffnessMatrix (FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
 Computes the stiffness matrix for giveRealStressVector of receiver in given integration point, respecting its history. More...
 
virtual void computeStressIndependentStrainVector (FloatArray &answer, GaussPoint *gp, TimeStep *tStep, ValueModeType mode)
 Computes reduced strain vector in given integration point, generated by internal processes in material, which are independent on loading in particular integration point. More...
 
virtual void giveSecantStiffnessMatrix (FloatMatrix &answer, GaussPoint *gp, TimeStep *tStep)
 
virtual void giveElasticStiffnessMatrix (FloatMatrix &answer, GaussPoint *gp, TimeStep *tStep)
 
virtual int hasMaterialModeCapability (MaterialMode mode)
 Tests if material supports material mode. More...
 
virtual void computeEquivalentStrain (double &kappa, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep)
 
virtual void computeDamageParam (double &omega, double kappa, const FloatArray &strain, GaussPoint *gp)
 
virtual double computeBiot (double omega, double kappa, double le)
 
virtual InterfacegiveInterface (InterfaceType)
 Interface requesting service. More...
 
virtual void giveRealStressVector (FloatArray &answer, GaussPoint *, const FloatArray &, TimeStep *)
 Computes the real stress vector for given total strain and integration point. More...
 
virtual void giveRandomParameters (FloatArray &param)
 
double computeDeltaDissipation (double omega, FloatArray &reducedStrain, GaussPoint *gp, TimeStep *tStep)
 Compute increment of dissipation for post-processing reasons. More...
 
virtual void giveThermalDilatationVector (FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
 Returns a vector of coefficients of thermal dilatation in direction of each material principal (local) axis. More...
 
virtual MaterialStatusCreateStatus (GaussPoint *gp) const
 Creates new copy of associated status and inserts it into given integration point. More...
 
virtual MaterialStatusgiveStatus (GaussPoint *gp) const
 Returns material status of receiver in given integration point. More...
 
virtual double give (int aProperty, GaussPoint *gp)
 Returns the value of material property 'aProperty'. More...
 
- Public Member Functions inherited from oofem::StructuralMaterial
 StructuralMaterial (int n, Domain *d)
 Constructor. More...
 
virtual ~StructuralMaterial ()
 Destructor. More...
 
virtual void giveInputRecord (DynamicInputRecord &input)
 Setups the input record string of receiver. More...
 
virtual void giveRealStressVector_3d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep)
 Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress. More...
 
virtual void giveRealStressVector_PlaneStrain (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep)
 Default implementation relies on giveRealStressVector_3d. More...
 
virtual void giveRealStressVector_StressControl (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, const IntArray &strainControl, TimeStep *tStep)
 Iteratively calls giveRealStressVector_3d to find the stress controlled equal to zero¬∑ More...
 
virtual void giveRealStressVector_ShellStressControl (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, const IntArray &strainControl, TimeStep *tStep)
 
virtual void giveRealStressVector_PlaneStress (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep)
 Default implementation relies on giveRealStressVector_StressControl. More...
 
virtual void giveRealStressVector_1d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep)
 Default implementation relies on giveRealStressVector_StressControl. More...
 
virtual void giveRealStressVector_Warping (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep)
 Default implementation relies on giveRealStressVector_StressControl. More...
 
virtual void giveRealStressVector_2dBeamLayer (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep)
 Default implementation relies on giveRealStressVector_StressControl. More...
 
virtual void giveRealStressVector_PlateLayer (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep)
 Default implementation relies on giveRealStressVector_StressControl. More...
 
virtual void giveRealStressVector_Fiber (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep)
 Default implementation relies on giveRealStressVector_StressControl. More...
 
virtual void giveRealStressVector_Lattice2d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep)
 
virtual void giveRealStressVector_Lattice3d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep)
 
virtual void giveRealStressVector_2dPlateSubSoil (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep)
 Default implementation is not provided. More...
 
virtual void giveRealStressVector_3dBeamSubSoil (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep)
 
virtual void giveEshelbyStressVector_PlaneStrain (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep)
 Prototype for computation of Eshelby stress. More...
 
void give_dPdF_from (const FloatMatrix &dSdE, FloatMatrix &answer, GaussPoint *gp)
 
void convert_dSdE_2_dPdF (FloatMatrix &answer, const FloatMatrix &dSdE, const FloatArray &S, const FloatArray &F, MaterialMode matMode)
 
double giveReferenceTemperature ()
 Returns the reference temperature of receiver. More...
 
virtual void computeStressIndependentStrainVector_3d (FloatArray &answer, GaussPoint *gp, TimeStep *tStep, ValueModeType mode)
 
virtual void give3dMaterialStiffnessMatrix (FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
 Computes full 3d material stiffness matrix at given integration point, time, respecting load history in integration point. More...
 
virtual void give3dMaterialStiffnessMatrix_dPdF (FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
 
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)
 Method for subtracting from reduced space strain vector its stress-independent parts (caused by temperature, shrinkage, creep and possibly by other phenomena). More...
 
void giveStressDependentPartOfStrainVector_3d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrainVector, TimeStep *tStep, ValueModeType mode)
 
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...
 
virtual void give2dBeamLayerStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 Method for computing 2d beam layer stiffness matrix of receiver. More...
 
virtual void givePlateLayerStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 Method for computing 2d plate layer stiffness matrix of receiver. More...
 
virtual void giveFiberStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 Method for computing 1d fiber stiffness matrix of receiver. More...
 
virtual void give2dLatticeStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 Method for computing 2d lattice stiffness matrix of receiver. More...
 
virtual void give3dLatticeStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 Method for computing 3d lattice stiffness matrix of receiver. More...
 
virtual void give2dPlateSubSoilStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 Method for computing stiffness matrix of plate subsoil model. More...
 
virtual void give3dBeamSubSoilStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 Method for computing stiffness matrix of beam3d subsoil model. More...
 
virtual void giveFirstPKStressVector_3d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep)
 Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress. More...
 
virtual void giveFirstPKStressVector_PlaneStrain (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep)
 Default implementation relies on giveFirstPKStressVector_3d. More...
 
virtual void giveFirstPKStressVector_PlaneStress (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep)
 Default implementation relies on giveFirstPKStressVector_3d. More...
 
virtual void giveFirstPKStressVector_1d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep)
 Default implementation relies on giveFirstPKStressVector_3d. More...
 
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 givePlaneStressStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 Method for computing plane stress stiffness matrix of receiver. More...
 
virtual void givePlaneStressStiffMtrx_dPdF (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 
virtual void givePlaneStressStiffMtrx_dCde (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 
virtual void givePlaneStrainStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 Method for computing plane strain stiffness matrix of receiver. More...
 
virtual void givePlaneStrainStiffMtrx_dPdF (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 
virtual void givePlaneStrainStiffMtrx_dCde (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 
virtual void give1dStressStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 Method for computing 1d stiffness matrix of receiver. More...
 
virtual void give1dStressStiffMtrx_dPdF (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 
virtual void give1dStressStiffMtrx_dCde (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 
- Public Member Functions inherited from oofem::Material
 Material (int n, Domain *d)
 Constructor. More...
 
virtual ~Material ()
 Destructor. 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 hasNonLinearBehaviour ()
 Returns nonzero if receiver is non linear. More...
 
virtual int hasCastingTimeSupport ()
 Tests if material supports casting time. More...
 
virtual void printYourself ()
 Prints receiver state on stdout. Useful for debugging. 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 checkConsistency ()
 Allows programmer to test some internal data, before computation begins. More...
 
virtual int initMaterial (Element *element)
 Optional function to call specific procedures when initializing a material. 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...
 
- 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...
 
DomaingiveDomain () 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...
 
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros). More...
 
- Public Member Functions inherited from oofem::RandomMaterialExtensionInterface
 RandomMaterialExtensionInterface ()
 Constructor. More...
 
virtual ~RandomMaterialExtensionInterface ()
 Destructor. More...
 
IRResultType initializeFrom (InputRecord *ir)
 Initializes receiver according to object description stored in input record. More...
 
void giveInputRecord (DynamicInputRecord &ir)
 
bool give (int key, GaussPoint *gp, double &value)
 Returns the property in associated status of given integration point if defined. More...
 
- Public Member Functions inherited from oofem::Interface
 Interface ()
 Constructor. More...
 
virtual ~Interface ()
 

Protected Member Functions

virtual int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
 Returns the integration point corresponding value in Reduced form. More...
 
- Protected Member Functions inherited from oofem::RandomMaterialExtensionInterface
void _generateStatusVariables (GaussPoint *) const
 Sets up (generates) the variables identified in randVariables array using generators given in randomVariableGenerators and stores them in given status. More...
 

Protected Attributes

double eNormal
 Normal modulus. More...
 
double eShear
 Shear modulus. More...
 
double eTorsion
 Torsion modulus. More...
 
double alphaOne
 Ratio of shear and normal modulus. More...
 
double alphaTwo
 Ratio of torsion and normal modulus. More...
 
double e0Mean
 Mean effective strain at peak. More...
 
double e0OneMean
 Mean effective strain at sigma1. More...
 
double cAlpha
 coefficient used for modelling eigendisplacements More...
 
int softeningType
 Parameter which determines the typ of the softeningFunction 1 = linear softening 2 = bilinear softening 3 = exponential softening. More...
 
double wf
 Determines the softening -> corresponds to threshold of crack opening (not strain) More...
 
double wfOne
 
double ec
 Parameter for the elliptic equivalent strain function. More...
 
double coh
 Parameter setting ratio of shear and tensile strength. More...
 
double biotCoefficient
 Parameter controlling the amount of fluid pressure added to the mechanical stress (Biot's coefficient) More...
 
int biotType
 Parameter specifying how the biot coefficient changes with the crack opening. More...
 
double coefficientOfVariation
 Coefficient variation of the Gaussian distribution. More...
 
double localRandomType
 Flag which chooses between no distribution (0) and Gaussian distribution (1) More...
 
- Protected Attributes inherited from oofem::StructuralMaterial
double referenceTemperature
 Reference temperature (temperature, when material has been built into structure). More...
 
- 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...
 
Domaindomain
 Link to domain object, useful for communicating with other FEM components. More...
 
- Protected Attributes inherited from oofem::RandomMaterialExtensionInterface
IntArray randVariables
 Array of randomized variables (identified by a key). More...
 
IntArray randomVariableGenerators
 Array of generators id's for corresponding randomized variables. More...
 

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 int giveVoigtVectorMask (IntArray &answer, MaterialMode mmode)
 Returns a mask of the vector indicies corresponding to components in a general (non-symmetric) second order tensor of some stress/strain/deformation measure that performes work. More...
 
static int giveVoigtSymVectorMask (IntArray &answer, MaterialMode mmode)
 The same as giveVoigtVectorMask but returns a mask corresponding to a symmetric second order tensor. More...
 
static void giveInvertedVoigtVectorMask (IntArray &answer, MaterialMode mmode)
 Gives the inverted version of giveVoigtVectorMask. More...
 
static int giveSizeOfVoigtVector (MaterialMode mmode)
 Returns the size of reduced stress/strain vector according to given mode. More...
 
static int giveSizeOfVoigtSymVector (MaterialMode mmode)
 Returns the size of symmetric part of a reduced stress/strain vector according to given mode. More...
 
static void giveFullVectorForm (FloatArray &answer, const FloatArray &strainVector, MaterialMode matMode)
 Converts the reduced symmetric Voigt vector (2nd order tensor) to full form. More...
 
static void giveFullVectorFormF (FloatArray &answer, const FloatArray &strainVector, MaterialMode matMode)
 Converts the reduced deformation gradient Voigt vector (2nd order tensor). More...
 
static void giveFullSymVectorForm (FloatArray &answer, const FloatArray &vec, MaterialMode matMode)
 Converts the reduced unsymmetric Voigt vector (2nd order tensor) to full form. More...
 
static void giveReducedVectorForm (FloatArray &answer, const FloatArray &vec, MaterialMode matMode)
 Converts the full symmetric Voigt vector (2nd order tensor) to reduced form. More...
 
static void giveReducedSymVectorForm (FloatArray &answer, const FloatArray &vec, MaterialMode matMode)
 Converts the full unsymmetric Voigt vector (2nd order tensor) to reduced form. More...
 
static void giveFullSymMatrixForm (FloatMatrix &answer, const FloatMatrix &red, MaterialMode matMode)
 Converts the full unsymmetric Voigt matrix (4th order tensor) to reduced form. More...
 
static void giveReducedMatrixForm (FloatMatrix &answer, const FloatMatrix &full, MaterialMode matMode)
 Converts the full symmetric Voigt matrix (4th order tensor) to reduced form. More...
 
static void giveReducedSymMatrixForm (FloatMatrix &answer, const FloatMatrix &full, MaterialMode matMode)
 Converts the full unsymmetric Voigt matrix (4th order tensor) to reduced form. More...
 
static void transformStrainVectorTo (FloatArray &answer, const FloatMatrix &base, const FloatArray &strainVector, bool transpose=false)
 Transforms 3d strain vector into another coordinate system. More...
 
static void transformStressVectorTo (FloatArray &answer, const FloatMatrix &base, const FloatArray &stressVector, bool transpose=false)
 Transforms 3d stress vector into another coordinate system. More...
 
static double computeVonMisesStress (const FloatArray *currentStress)
 Computes equivalent of von Mises stress. More...
 
static void giveStrainVectorTranformationMtrx (FloatMatrix &answer, const FloatMatrix &base, bool transpose=false)
 Computes 3d strain vector transformation matrix from standard vector transformation matrix. More...
 
static void give2DStrainVectorTranformationMtrx (FloatMatrix &answer, const FloatMatrix &base, bool transpose=false)
 Computes 2d strain vector transformation matrix from standard vector transformation matrix. More...
 
static void giveStressVectorTranformationMtrx (FloatMatrix &answer, const FloatMatrix &base, bool transpose=false)
 Computes 3d stress vector transformation matrix from standard vector transformation matrix. More...
 
static void givePlaneStressVectorTranformationMtrx (FloatMatrix &answer, const FloatMatrix &base, bool transpose=false)
 Computes 2d stress vector transformation matrix from standard vector transformation matrix. More...
 
static void sortPrincDirAndValCloseTo (FloatArray *pVal, FloatMatrix *pDir, FloatMatrix *toPDir)
 Method for sorting newly computed principal values (pVal) and corresponding principal directions (pDir) to be closed to some (often previous) principal directions (toPDir). More...
 
static void computePrincipalValues (FloatArray &answer, const FloatArray &s, stressStrainPrincMode mode)
 Common functions for convenience. More...
 
static void computePrincipalValDir (FloatArray &answer, FloatMatrix &dir, const FloatArray &s, stressStrainPrincMode mode)
 Computes principal values and directions of stress or strain vector. More...
 
static double computeDeviatoricVolumetricSplit (FloatArray &dev, const FloatArray &s)
 Computes split of receiver into deviatoric and volumetric part. More...
 
static void computeDeviatoricVolumetricSum (FloatArray &s, const FloatArray &dev, double mean)
 
static void applyDeviatoricElasticCompliance (FloatArray &strain, const FloatArray &stress, double EModulus, double nu)
 
static void applyDeviatoricElasticCompliance (FloatArray &strain, const FloatArray &stress, double GModulus)
 
static void applyDeviatoricElasticStiffness (FloatArray &stress, const FloatArray &strain, double EModulus, double nu)
 
static void applyDeviatoricElasticStiffness (FloatArray &stress, const FloatArray &strain, double GModulus)
 
static void applyElasticStiffness (FloatArray &stress, const FloatArray &strain, double EModulus, double nu)
 
static void applyElasticCompliance (FloatArray &strain, const FloatArray &stress, double EModulus, double nu)
 
static double computeStressNorm (const FloatArray &stress)
 
static double computeFirstInvariant (const FloatArray &s)
 
static double computeSecondStressInvariant (const FloatArray &s)
 
static double computeThirdStressInvariant (const FloatArray &s)
 
static double computeFirstCoordinate (const FloatArray &s)
 
static double computeSecondCoordinate (const FloatArray &s)
 
static double computeThirdCoordinate (const FloatArray &s)
 
- Static Public Attributes inherited from oofem::StructuralMaterial
static std::vector< std::vector< int > > vIindex
 Voigt index map. More...
 
static std::vector< std::vector< int > > svIndex
 Symmetric Voigt index map. More...
 

Detailed Description

This class implements a local random isotropic damage model for concrete in tension for 2D lattice elements.

Definition at line 260 of file latticedamage2d.h.

Constructor & Destructor Documentation

oofem::LatticeDamage2d::LatticeDamage2d ( int  n,
Domain d 
)

Constructor.

Definition at line 55 of file latticedamage2d.C.

oofem::LatticeDamage2d::~LatticeDamage2d ( )
virtual

Destructor.

Definition at line 59 of file latticedamage2d.C.

Member Function Documentation

double oofem::LatticeDamage2d::computeBiot ( double  omega,
double  kappa,
double  le 
)
virtual

Definition at line 437 of file latticedamage2d.C.

References biotCoefficient, OOFEM_ERROR, softeningType, and wf.

Referenced by giveRealStressVector().

void oofem::LatticeDamage2d::computeDamageParam ( double &  omega,
double  kappa,
const FloatArray strain,
GaussPoint gp 
)
virtual
double oofem::LatticeDamage2d::computeDeltaDissipation ( double  omega,
FloatArray reducedStrain,
GaussPoint gp,
TimeStep tStep 
)
void oofem::LatticeDamage2d::computeEquivalentStrain ( double &  kappa,
const FloatArray strain,
GaussPoint gp,
TimeStep tStep 
)
virtual
void oofem::LatticeDamage2d::computeStressIndependentStrainVector ( FloatArray answer,
GaussPoint gp,
TimeStep tStep,
ValueModeType  mode 
)
virtual

Computes reduced strain vector in given integration point, generated by internal processes in material, which are independent on loading in particular integration point.

Default implementation takes into account temperature induced strains and eigenstrains.

Parameters
answerReturned strain vector.
gpIntegration point.
tStepTime step (most models are able to respond only when tStep is current time step).
modeDetermines response mode (Total or incremental).
Todo:
Hack for loose gausspoints. We shouldn't ask for "gp->giveElement()". FIXME

Reimplemented from oofem::StructuralMaterial.

Definition at line 248 of file latticedamage2d.C.

References oofem::FloatArray::at(), cAlpha, oofem::Material::castingTime, oofem::FloatArray::clear(), oofem::StructuralElement::computeResultingIPTemperatureAt(), give(), oofem::GaussPoint::giveElement(), oofem::TimeStep::giveIntrinsicTime(), oofem::FloatArray::giveSize(), OOFEM_ERROR, oofem::StructuralMaterial::referenceTemperature, oofem::FloatArray::resize(), tAlpha, and oofem::FloatArray::zero().

MaterialStatus * oofem::LatticeDamage2d::CreateStatus ( GaussPoint gp) const
virtual

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 292 of file latticedamage2d.C.

References oofem::FEMComponent::domain.

Referenced by giveStatus().

double oofem::LatticeDamage2d::give ( int  aProperty,
GaussPoint gp 
)
virtual

Returns the value of material property 'aProperty'.

Property must be identified by unique int id. Integration point also passed to allow for materials with spatially varying properties

Parameters
aPropertyID of property requested.
gpIntegration point,
Returns
Property value.

Reimplemented from oofem::Material.

Definition at line 645 of file latticedamage2d.C.

References e0_ID, ef_ID, oofem::Material::give(), and giveStatus().

Referenced by computeDamageParam(), computeDeltaDissipation(), computeEquivalentStrain(), computeStressIndependentStrainVector(), giveRealStressVector(), and giveThermalDilatationVector().

virtual const char* oofem::LatticeDamage2d::giveClassName ( ) const
inlinevirtual
Returns
Class name of the receiver.

Reimplemented from oofem::StructuralMaterial.

Definition at line 321 of file latticedamage2d.h.

References oofem::LatticeMaterialStatus::initializeFrom().

void oofem::LatticeDamage2d::giveElasticStiffnessMatrix ( FloatMatrix answer,
GaussPoint gp,
TimeStep tStep 
)
virtual
virtual const char* oofem::LatticeDamage2d::giveInputRecordName ( ) const
inlinevirtual
Returns
Input record name of the receiver.

Implements oofem::FEMComponent.

Definition at line 320 of file latticedamage2d.h.

References _IFT_LatticeDamage2d_Name.

Interface * oofem::LatticeDamage2d::giveInterface ( InterfaceType  t)
virtual

Interface requesting service.

See also
InterfaceType
Returns
Requested interface if implemented, otherwise NULL.

Reimplemented from oofem::FEMComponent.

Definition at line 567 of file latticedamage2d.C.

int oofem::LatticeDamage2d::giveIPValue ( FloatArray answer,
GaussPoint gp,
InternalStateType  type,
TimeStep tStep 
)
protectedvirtual

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::StructuralMaterial.

Definition at line 661 of file latticedamage2d.C.

References oofem::FloatArray::at(), oofem::LatticeDamage2dStatus::giveCrackFlag(), oofem::LatticeDamage2dStatus::giveCrackWidth(), oofem::LatticeDamage2dStatus::giveDamage(), oofem::LatticeDamage2dStatus::giveDeltaDissipation(), oofem::LatticeDamage2dStatus::giveDissipation(), oofem::StructuralMaterial::giveIPValue(), giveStatus(), and oofem::FloatArray::resize().

void oofem::LatticeDamage2d::giveRandomParameters ( FloatArray param)
virtual
void oofem::LatticeDamage2d::giveRealStressVector ( FloatArray answer,
GaussPoint gp,
const FloatArray reducedStrain,
TimeStep tStep 
)
virtual

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 316 of file latticedamage2d.C.

References oofem::IntArray::at(), oofem::FloatArray::at(), biotCoefficient, biotType, computeBiot(), computeDamageParam(), computeDeltaDissipation(), computeEquivalentStrain(), oofem::FEMComponent::domain, e0_ID, e0Mean, eNormal, eShear, eTorsion, give(), oofem::LatticeDamage2dStatus::giveCrackFlag(), oofem::LatticeDamage2dStatus::giveDamage(), oofem::LatticeDamage2dStatus::giveDissipation(), oofem::FEMComponent::giveDomain(), oofem::GaussPoint::giveElement(), oofem::Domain::giveElement(), oofem::Domain::giveEngngModel(), oofem::LatticeDamage2dStatus::giveKappa(), oofem::EngngModel::giveMasterEngngModel(), oofem::LatticeTransportElement::givePressure(), oofem::EngngModel::giveSlaveProblem(), giveStatus(), oofem::StructuralMaterial::giveStressDependentPartOfStrainVector(), oofem::Material::initTempStatus(), oofem::TimeStep::isTheFirstStep(), oofem::LatticeDamage2dStatus::letTempReducedStrainBe(), oofem::StructuralMaterialStatus::letTempStrainVectorBe(), oofem::StructuralMaterialStatus::letTempStressVectorBe(), OOFEM_ERROR, oofem::FloatArray::resize(), oofem::LatticeDamage2dStatus::setBiotCoefficientInStatus(), oofem::LatticeDamage2dStatus::setE0(), oofem::LatticeDamage2dStatus::setTempCrackFlag(), oofem::LatticeDamage2dStatus::setTempCrackWidth(), oofem::LatticeDamage2dStatus::setTempDamage(), oofem::LatticeDamage2dStatus::setTempDeltaDissipation(), oofem::LatticeDamage2dStatus::setTempDissipation(), oofem::LatticeDamage2dStatus::setTempEquivalentStrain(), oofem::LatticeDamage2dStatus::setTempKappa(), oofem::LatticeDamage2dStatus::setTempNormalStress(), and oofem::FloatArray::zero().

void oofem::LatticeDamage2d::giveSecantStiffnessMatrix ( FloatMatrix answer,
GaussPoint gp,
TimeStep tStep 
)
virtual
MaterialStatus * oofem::LatticeDamage2d::giveStatus ( GaussPoint gp) const
virtual

Returns material status of receiver in given integration point.

If status does not exist yet, it is created using CreateStatus member function.

Parameters
gpReturns reference to material status belonging to integration point gp.
Returns
Material status associated with given integration point.

Reimplemented from oofem::Material.

Definition at line 298 of file latticedamage2d.C.

References oofem::RandomMaterialExtensionInterface::_generateStatusVariables(), CreateStatus(), oofem::GaussPoint::giveMaterialStatus(), oofem::FEMComponent::giveNumber(), and oofem::GaussPoint::setMaterialStatus().

Referenced by computeDeltaDissipation(), give(), giveIPValue(), giveRealStressVector(), and giveSecantStiffnessMatrix().

void oofem::LatticeDamage2d::giveStiffnessMatrix ( FloatMatrix answer,
MatResponseMode  mode,
GaussPoint gp,
TimeStep tStep 
)
virtual

Computes the stiffness matrix for giveRealStressVector of receiver in given integration point, respecting its history.

The algorithm should use temporary or equilibrium history variables stored in integration point status to compute and return required result.

Parameters
answerContains result.
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 574 of file latticedamage2d.C.

References giveElasticStiffnessMatrix(), oofem::GaussPoint::giveMaterialMode(), giveSecantStiffnessMatrix(), and OOFEM_ERROR.

void oofem::LatticeDamage2d::giveThermalDilatationVector ( FloatArray answer,
GaussPoint gp,
TimeStep tStep 
)
virtual

Returns a vector of coefficients of thermal dilatation in direction of each material principal (local) axis.

Parameters
answerVector of thermal dilatation coefficients.
gpIntegration point.
tStepTime step (most models are able to respond only when tStep is current time step).

Reimplemented from oofem::StructuralMaterial.

Definition at line 635 of file latticedamage2d.C.

References oofem::FloatArray::at(), give(), oofem::FloatArray::resize(), tAlpha, and oofem::FloatArray::zero().

int oofem::LatticeDamage2d::hasMaterialModeCapability ( MaterialMode  mode)
virtual

Tests if material supports material mode.

Parameters
modeRequired material mode.
Returns
Nonzero if supported, zero otherwise.

Reimplemented from oofem::StructuralMaterial.

Definition at line 63 of file latticedamage2d.C.

IRResultType oofem::LatticeDamage2d::initializeFrom ( InputRecord ir)
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.

See also
IR_GIVE_FIELD
IR_GIVE_OPTIONAL_FIELD
Parameters
irInput record to initialize from.
Returns
IRResultType

Reimplemented from oofem::StructuralMaterial.

Definition at line 70 of file latticedamage2d.C.

References _IFT_IsotropicLinearElasticMaterial_talpha, _IFT_LatticeDamage2d_alphaOne, _IFT_LatticeDamage2d_alphaTwo, _IFT_LatticeDamage2d_bio, _IFT_LatticeDamage2d_btype, _IFT_LatticeDamage2d_calpha, _IFT_LatticeDamage2d_coefficientOfVariation, _IFT_LatticeDamage2d_coh, _IFT_LatticeDamage2d_e0Mean, _IFT_LatticeDamage2d_e0OneMean, _IFT_LatticeDamage2d_ec, _IFT_LatticeDamage2d_eNormal, _IFT_LatticeDamage2d_localrandomtype, _IFT_LatticeDamage2d_softeningType, _IFT_LatticeDamage2d_wf, _IFT_LatticeDamage2d_wfOne, oofem::Dictionary::add(), alphaOne, alphaTwo, biotCoefficient, biotType, cAlpha, coefficientOfVariation, coh, e0Mean, e0OneMean, ec, eNormal, eShear, eTorsion, oofem::RandomMaterialExtensionInterface::initializeFrom(), oofem::StructuralMaterial::initializeFrom(), IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, oofem::IRRT_BAD_FORMAT, oofem::IRRT_OK, localRandomType, OOFEM_WARNING, oofem::Material::propertyDictionary, softeningType, tAlpha, wf, and wfOne.

virtual bool oofem::LatticeDamage2d::isCharacteristicMtrxSymmetric ( MatResponseMode  rMode)
inlinevirtual

Returns true if stiffness matrix of receiver is symmetric Default implementation returns true.

Reimplemented from oofem::Material.

Definition at line 325 of file latticedamage2d.h.

References oofem::LatticeDamage2dStatus::giveInterface(), oofem::IntegrationPointStatus::gp, oofem::LatticeDamage2dStatus::kappa, oofem::LatticeDamage2dStatus::le, and oofem::LatticeDamage2dStatus::reducedStrain.

Member Data Documentation

double oofem::LatticeDamage2d::alphaOne
protected

Ratio of shear and normal modulus.

Definition at line 271 of file latticedamage2d.h.

Referenced by computeEquivalentStrain(), and initializeFrom().

double oofem::LatticeDamage2d::alphaTwo
protected

Ratio of torsion and normal modulus.

Definition at line 273 of file latticedamage2d.h.

Referenced by initializeFrom().

double oofem::LatticeDamage2d::biotCoefficient
protected

Parameter controlling the amount of fluid pressure added to the mechanical stress (Biot's coefficient)

Definition at line 302 of file latticedamage2d.h.

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

int oofem::LatticeDamage2d::biotType
protected

Parameter specifying how the biot coefficient changes with the crack opening.

Definition at line 305 of file latticedamage2d.h.

Referenced by giveRealStressVector(), and initializeFrom().

double oofem::LatticeDamage2d::cAlpha
protected

coefficient used for modelling eigendisplacements

Definition at line 282 of file latticedamage2d.h.

Referenced by computeStressIndependentStrainVector(), and initializeFrom().

double oofem::LatticeDamage2d::coefficientOfVariation
protected

Coefficient variation of the Gaussian distribution.

Definition at line 308 of file latticedamage2d.h.

Referenced by giveRandomParameters(), and initializeFrom().

double oofem::LatticeDamage2d::coh
protected

Parameter setting ratio of shear and tensile strength.

Definition at line 299 of file latticedamage2d.h.

Referenced by computeEquivalentStrain(), and initializeFrom().

double oofem::LatticeDamage2d::e0Mean
protected

Mean effective strain at peak.

Definition at line 276 of file latticedamage2d.h.

Referenced by computeDamageParam(), computeDeltaDissipation(), computeEquivalentStrain(), giveRealStressVector(), and initializeFrom().

double oofem::LatticeDamage2d::e0OneMean
protected

Mean effective strain at sigma1.

Definition at line 279 of file latticedamage2d.h.

Referenced by initializeFrom().

double oofem::LatticeDamage2d::ec
protected

Parameter for the elliptic equivalent strain function.

Definition at line 296 of file latticedamage2d.h.

Referenced by computeEquivalentStrain(), and initializeFrom().

double oofem::LatticeDamage2d::eNormal
protected
double oofem::LatticeDamage2d::eShear
protected
double oofem::LatticeDamage2d::eTorsion
protected
double oofem::LatticeDamage2d::localRandomType
protected

Flag which chooses between no distribution (0) and Gaussian distribution (1)

Definition at line 311 of file latticedamage2d.h.

Referenced by giveRandomParameters(), and initializeFrom().

int oofem::LatticeDamage2d::softeningType
protected

Parameter which determines the typ of the softeningFunction 1 = linear softening 2 = bilinear softening 3 = exponential softening.

Definition at line 290 of file latticedamage2d.h.

Referenced by computeBiot(), computeDamageParam(), computeDeltaDissipation(), and initializeFrom().

double oofem::LatticeDamage2d::wf
protected

Determines the softening -> corresponds to threshold of crack opening (not strain)

Definition at line 293 of file latticedamage2d.h.

Referenced by computeBiot(), computeDamageParam(), computeDeltaDissipation(), and initializeFrom().

double oofem::LatticeDamage2d::wfOne
protected

Definition at line 293 of file latticedamage2d.h.

Referenced by computeDamageParam(), and initializeFrom().


The documentation for this class was generated from the following files:

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:37 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011