OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::FCMMaterial Class Referenceabstract

This class implements a Fixed Crack Model for fracture (after initiation the crack directions cannot rotate). More...

#include <fcm.h>

+ Inheritance diagram for oofem::FCMMaterial:
+ Collaboration diagram for oofem::FCMMaterial:

Public Member Functions

 FCMMaterial (int n, Domain *d)
 
virtual ~FCMMaterial ()
 
virtual int hasNonLinearBehaviour ()
 Returns nonzero if receiver is non linear. More...
 
virtual int hasMaterialModeCapability (MaterialMode mode)
 Tests if material supports material mode. More...
 
virtual const char * giveClassName () const
 
virtual IRResultType initializeFrom (InputRecord *ir)
 Initializes receiver according to object description stored in input record. More...
 
virtual double give (int aProperty, GaussPoint *gp)
 Returns the value of material property 'aProperty'. More...
 
IsotropicLinearElasticMaterialgiveLinearElasticMaterial ()
 
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 givePlaneStressStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 Method for computing plane stress stiffness matrix of receiver. More...
 
virtual void givePlaneStrainStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 Method for computing plane strain stiffness matrix of receiver. More...
 
virtual void giveRealStressVector (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep)
 Computes the real stress vector for given total strain and integration point. More...
 
virtual void initializeCrack (GaussPoint *gp, FloatMatrix &base, int nCrack)
 
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_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_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 int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
 Returns the integration point corresponding value in Reduced form. More...
 
virtual double computeNormalCrackOpening (GaussPoint *gp, int i)
 uses temporary cracking strain and characteristic length to obtain the crack opening More...
 
virtual double computeMaxNormalCrackOpening (GaussPoint *gp, int i)
 uses maximum equilibrated cracking strain and characteristic length to obtain the maximum reached crack opening More...
 
virtual double computeShearSlipOnCrack (GaussPoint *gp, int i)
 computes total shear slip on a given crack plane (i = 1, 2, 3); the slip is computed from the temporary cracking strain More...
 
virtual MaterialStatusCreateStatus (GaussPoint *gp) const
 Creates new copy of associated status and inserts it into given integration point. 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 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 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_Warping (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)
 
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...
 
double giveReferenceTemperature ()
 Returns the reference temperature of receiver. 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 computeStressIndependentStrainVector_3d (FloatArray &answer, GaussPoint *gp, TimeStep *tStep, ValueModeType mode)
 
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_dPdF (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 
virtual void givePlaneStressStiffMtrx_dCde (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
 
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 isCharacteristicMtrxSymmetric (MatResponseMode rMode)
 Returns true if stiffness matrix of receiver is symmetric Default implementation returns true. 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 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 MaterialStatusgiveStatus (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...
 
- 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
 
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...
 
virtual InterfacegiveInterface (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 Member Functions

virtual double giveTensileStrength (GaussPoint *gp)=0
 comutes tensile strength More...
 
virtual void checkSnapBack (GaussPoint *gp, int crack)=0
 checks possible snap-back More...
 
virtual void updateCrackStatus (GaussPoint *gp)
 updates crack statuses More...
 
virtual double giveNormalCrackingStress (GaussPoint *gp, double eps_cr, int i)=0
 computes normal stress associated with i-th crack direction More...
 
virtual double giveCharacteristicElementLength (GaussPoint *gp, const FloatArray &crackPlaneNormal)
 returns characteristic element length in given direction More...
 
virtual double giveCrackingModulus (MatResponseMode rMode, GaussPoint *gp, int i)=0
 returns stiffness in the normal direction of the i-th crack More...
 
virtual double computeEffectiveShearModulus (GaussPoint *gp, int i)=0
 returns Geff which is necessary in the global stiffness matrix More...
 
virtual double computeTotalD2Modulus (GaussPoint *gp, int i)
 shear modulus for a given shear direction (4, 5, 6) More...
 
virtual double computeD2ModulusForCrack (GaussPoint *gp, int icrack)=0
 shear modulus for a given crack plane (1, 2, 3) More...
 
virtual double maxShearStress (GaussPoint *gp, int i)=0
 computes the maximum value of the shear stress; if the shear stress exceeds this value, it is cropped More...
 
virtual bool isIntactForShear (GaussPoint *gp, int i)
 returns true for closed or no cracks associated to given shear direction (i = 4, 5, 6) More...
 
virtual bool isIntact (GaussPoint *gp, int icrack)
 returns true for closed or no crack (i = 1, 2, 3) More...
 
virtual bool checkStrengthCriterion (FloatMatrix &newBase, const FloatArray &globalStress, GaussPoint *gp, TimeStep *tStep, int nCrack)
 checks if the globalStress does not exceed strength in the direction of newBase for n-th crack More...
 
virtual bool isStrengthExceeded (const FloatMatrix &base, GaussPoint *gp, TimeStep *tStep, int iCrack, double trialStress)
 compares trial stress with strength. Returns true if the strength is exceeded. Function oveloaded in the nonlocal approach for the fiber reinforced composites More...
 
virtual double computeShearStiffnessRedistributionFactor (GaussPoint *gp, int ithCrackPlane, int jthCrackDirection)
 function calculating ratio used to split shear slips on two crack planes More...
 
virtual double giveCrackSpacing (void)
 returns either user-provided value of crack spacing or a value computed from composition More...
 
virtual double giveNumberOfCracksInDirection (GaussPoint *gp, int iCrack)
 returns number of fictiotious parallel cracks in the direction of i-th crack More...
 
virtual double giveNumberOfCracksForShearDirection (GaussPoint *gp, int i)
 returns number of cracks for given shear direction (i = 4, 5, 6) which is treated as the maximum of the two associated normal directions More...
 
virtual void giveMaterialStiffnessMatrix (FloatMatrix &answer, MatResponseMode, GaussPoint *gp, TimeStep *tStep)
 
virtual void giveLocalCrackedStiffnessMatrix (FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep)
 returns local stiffness matrix of the crack More...
 
virtual double computeOverallElasticStiffness (void)
 returns overall Young's modulus More...
 
virtual double computeOverallElasticShearModulus (void)
 returns overall shear modulus More...
 

Protected Attributes

IsotropicLinearElasticMateriallinearElasticMaterial
 
int nAllowedCracks
 allowed number of cracks (user-defined) More...
 
ElementCharSizeMethod ecsMethod
 Method used for evaluation of characteristic element size. More...
 
bool multipleCrackShear
 if true = takes shear compliance of all cracks, false = only dominant crack contribution, default value is false More...
 
double crackSpacing
 value of crack spacing (allows to "have" more parallel cracks in one direction if the element size exceeds user-defined or computed crack spacing). 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...
 

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 Fixed Crack Model for fracture (after initiation the crack directions cannot rotate).

After the onset of cracking, the cracks can still transfer tractions (i.e. cohesive crack approach) in both normal and shear directions. Cracks can develop only in mutually perpendicular directions. In elastic state this model is isotropic. This is class is purely abstract, it can be used only in the derived classes (e.g. ConcreteFCM)

Definition at line 197 of file fcm.h.

Constructor & Destructor Documentation

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

Definition at line 46 of file fcm.C.

References oofem::ECSM_Unknown, ecsMethod, and linearElasticMaterial.

oofem::FCMMaterial::~FCMMaterial ( )
virtual

Definition at line 56 of file fcm.C.

Member Function Documentation

virtual void oofem::FCMMaterial::checkSnapBack ( GaussPoint gp,
int  crack 
)
protectedpure virtual

checks possible snap-back

Implemented in oofem::FRCFCM, and oofem::ConcreteFCM.

Referenced by initializeCrack().

virtual double oofem::FCMMaterial::computeD2ModulusForCrack ( GaussPoint gp,
int  icrack 
)
protectedpure virtual

shear modulus for a given crack plane (1, 2, 3)

Implemented in oofem::FRCFCM, and oofem::ConcreteFCM.

Referenced by computeShearStiffnessRedistributionFactor(), and computeTotalD2Modulus().

virtual double oofem::FCMMaterial::computeEffectiveShearModulus ( GaussPoint gp,
int  i 
)
protectedpure virtual

returns Geff which is necessary in the global stiffness matrix

Implemented in oofem::FRCFCM, and oofem::ConcreteFCM.

Referenced by giveMaterialStiffnessMatrix().

double oofem::FCMMaterial::computeMaxNormalCrackOpening ( GaussPoint gp,
int  i 
)
virtual
virtual double oofem::FCMMaterial::computeOverallElasticShearModulus ( void  )
inlineprotectedvirtual
virtual double oofem::FCMMaterial::computeOverallElasticStiffness ( void  )
inlineprotectedvirtual
double oofem::FCMMaterial::computeShearSlipOnCrack ( GaussPoint gp,
int  i 
)
virtual
double oofem::FCMMaterial::computeShearStiffnessRedistributionFactor ( GaussPoint gp,
int  ithCrackPlane,
int  jthCrackDirection 
)
protectedvirtual

function calculating ratio used to split shear slips on two crack planes

Reimplemented in oofem::FRCFCM.

Definition at line 926 of file fcm.C.

References computeD2ModulusForCrack().

Referenced by computeShearSlipOnCrack().

double oofem::FCMMaterial::computeTotalD2Modulus ( GaussPoint gp,
int  i 
)
protectedvirtual
virtual MaterialStatus* oofem::FCMMaterial::CreateStatus ( GaussPoint gp) const
inlinevirtual

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.

Reimplemented in oofem::FRCFCMNL, oofem::FRCFCM, and oofem::ConcreteFCM.

Definition at line 263 of file fcm.h.

References oofem::FEMComponent::domain, and oofem::FCMMaterialStatus::FCMMaterialStatus().

double oofem::FCMMaterial::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.

Reimplemented in oofem::ConcreteFCM.

Definition at line 1467 of file fcm.C.

References oofem::IsotropicLinearElasticMaterial::give(), and linearElasticMaterial.

Referenced by oofem::ConcreteFCM::give(), and giveMaterialStiffnessMatrix().

void oofem::FCMMaterial::give3dMaterialStiffnessMatrix ( FloatMatrix answer,
MatResponseMode  mode,
GaussPoint gp,
TimeStep tStep 
)
virtual

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 1691 of file fcm.C.

References giveMaterialStiffnessMatrix().

double oofem::FCMMaterial::giveCharacteristicElementLength ( GaussPoint gp,
const FloatArray crackPlaneNormal 
)
protectedvirtual

returns characteristic element length in given direction

Definition at line 1140 of file fcm.C.

References oofem::Element::giveCharacteristicLength(), and oofem::GaussPoint::giveElement().

Referenced by initializeCrack().

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

Reimplemented from oofem::StructuralMaterial.

Reimplemented in oofem::FRCFCMNL, and oofem::ConcreteFCM.

Definition at line 210 of file fcm.h.

References oofem::IntegrationPointStatus::gp, and oofem::MaterialStatus::initializeFrom().

virtual double oofem::FCMMaterial::giveCrackingModulus ( MatResponseMode  rMode,
GaussPoint gp,
int  i 
)
protectedpure virtual

returns stiffness in the normal direction of the i-th crack

Implemented in oofem::FRCFCM, and oofem::ConcreteFCM.

Referenced by giveLocalCrackedStiffnessMatrix(), and giveMaterialStiffnessMatrix().

double oofem::FCMMaterial::giveCrackSpacing ( void  )
protectedvirtual

returns either user-provided value of crack spacing or a value computed from composition

Definition at line 1475 of file fcm.C.

References crackSpacing.

Referenced by giveNumberOfCracksInDirection(), and oofem::ConcreteFCM::initializeFrom().

int oofem::FCMMaterial::giveIPValue ( FloatArray answer,
GaussPoint gp,
InternalStateType  type,
TimeStep tStep 
)
virtual
void oofem::FCMMaterial::giveLocalCrackedStiffnessMatrix ( FloatMatrix answer,
MatResponseMode  rMode,
GaussPoint gp,
TimeStep tStep 
)
protectedvirtual
virtual double oofem::FCMMaterial::giveNormalCrackingStress ( GaussPoint gp,
double  eps_cr,
int  i 
)
protectedpure virtual

computes normal stress associated with i-th crack direction

Implemented in oofem::FRCFCM, and oofem::ConcreteFCM.

double oofem::FCMMaterial::giveNumberOfCracksForShearDirection ( GaussPoint gp,
int  i 
)
protectedvirtual

returns number of cracks for given shear direction (i = 4, 5, 6) which is treated as the maximum of the two associated normal directions

Definition at line 1501 of file fcm.C.

References giveNumberOfCracksInDirection(), oofem::max(), N, and OOFEM_ERROR.

Referenced by oofem::ConcreteFCM::computeEffectiveShearModulus().

void oofem::FCMMaterial::givePlaneStrainStiffMtrx ( FloatMatrix answer,
MatResponseMode  mmode,
GaussPoint gp,
TimeStep tStep 
)
virtual

Method for computing plane strain stiffness matrix of receiver.

Default implementation computes 3d stiffness matrix using give3dMaterialStiffnessMatrix and reduces it to plane strain stiffness using reduce method described above. However, this reduction is quite time consuming and if it is possible, it is recommended to overload this method and provide direct method for computing particular stiffness matrix. Note: as already described, if zero strain component is imposed (Plane strain, ..) this condition must be taken into account in geometrical relations, and corresponding component has to be included in reduced vector. (So plane strain conditions are $ \epsilon_z = \gamma_{xz} = \gamma_{yz} = 0 $, but relations for $ \epsilon_z$ and $\sigma_z$ are included).

Parameters
answerStiffness matrix.
mmodeMaterial response mode.
gpIntegration point, which load history is used.
tStepTime step (most models are able to respond only when tStep is current time step).

Reimplemented from oofem::StructuralMaterial.

Definition at line 1712 of file fcm.C.

References giveMaterialStiffnessMatrix().

void oofem::FCMMaterial::givePlaneStressStiffMtrx ( FloatMatrix answer,
MatResponseMode  mmode,
GaussPoint gp,
TimeStep tStep 
)
virtual

Method for computing plane stress stiffness matrix of receiver.

Default implementation computes 3d stiffness matrix using give3dMaterialStiffnessMatrix and reduces it to plane stress stiffness using reduce method described above. However, this reduction is quite time consuming and if it is possible, it is recommended to overload this method and provide direct method for computing particular stiffness matrix.

Parameters
answerStiffness matrix.
mmodeMaterial response mode.
gpIntegration point, which load history is used.
tStepTime step (most models are able to respond only when tStep is current time step).

Reimplemented from oofem::StructuralMaterial.

Definition at line 1701 of file fcm.C.

References giveMaterialStiffnessMatrix().

void oofem::FCMMaterial::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.

Reimplemented in oofem::FRCFCMNL.

Definition at line 72 of file fcm.C.

References oofem::__MaterialModeToString(), oofem::FloatArray::add(), oofem::FloatMatrix::add(), oofem::FloatArray::at(), oofem::FloatMatrix::at(), oofem::FloatArray::beDifferenceOf(), oofem::FloatArray::beProductOf(), checkStrengthCriterion(), oofem::StructuralMaterial::computePrincipalValDir(), fcm_SMALL_STRAIN, fcm_TOLERANCE, oofem::FCMMaterialStatus::giveCrackDirs(), oofem::FCMMaterialStatus::giveCrackStrainVector(), oofem::FCMMaterialStatus::giveG2LStrainVectorTransformationMtrx(), oofem::FCMMaterialStatus::giveL2GStressVectorTransformationMtrx(), giveLocalCrackedStiffnessMatrix(), oofem::GaussPoint::giveMaterialMode(), oofem::FCMMaterialStatus::giveMaxNumberOfCracks(), oofem::FCMMaterialStatus::giveNumberOfCracks(), oofem::FCMMaterialStatus::giveNumberOfTempCracks(), oofem::FloatArray::giveSize(), oofem::Material::giveStatus(), oofem::StructuralMaterial::giveStiffnessMatrix(), oofem::StructuralMaterialStatus::giveStrainVector(), oofem::StructuralMaterial::giveStressDependentPartOfStrainVector(), oofem::StructuralMaterialStatus::giveStressVector(), oofem::FCMMaterialStatus::giveTempCrackStatus(), giveTensileStrength(), initializeCrack(), oofem::Material::initTempStatus(), isStrengthExceeded(), oofem::StructuralMaterialStatus::letTempStrainVectorBe(), oofem::StructuralMaterialStatus::letTempStressVectorBe(), maxShearStress(), oofem::min(), nAllowedCracks, OOFEM_ERROR, OOFEM_WARNING, oofem::principal_stress, pscm_JUST_INIT, pscm_NONE, oofem::FloatArray::resize(), oofem::FloatArray::rotatedWith(), oofem::FCMMaterialStatus::setCrackDirs(), oofem::FCMMaterialStatus::setTempCrackStatus(), oofem::FCMMaterialStatus::setTempCrackStrain(), oofem::FCMMaterialStatus::setTempCrackStrainVector(), oofem::FloatMatrix::solveForRhs(), oofem::FloatArray::subtract(), oofem::FloatArray::times(), updateCrackStatus(), oofem::FloatArray::zero(), and oofem::FloatMatrix::zero().

Referenced by oofem::FRCFCMNL::giveRealStressVector().

virtual void oofem::FCMMaterial::giveRealStressVector_1d ( FloatArray answer,
GaussPoint gp,
const FloatArray reducedE,
TimeStep tStep 
)
inlinevirtual

Default implementation relies on giveRealStressVector_StressControl.

Reimplemented from oofem::StructuralMaterial.

Definition at line 245 of file fcm.h.

virtual void oofem::FCMMaterial::giveRealStressVector_2dBeamLayer ( FloatArray answer,
GaussPoint gp,
const FloatArray reducedE,
TimeStep tStep 
)
inlinevirtual

Default implementation relies on giveRealStressVector_StressControl.

Reimplemented from oofem::StructuralMaterial.

Definition at line 247 of file fcm.h.

virtual void oofem::FCMMaterial::giveRealStressVector_3d ( FloatArray answer,
GaussPoint gp,
const FloatArray reducedE,
TimeStep tStep 
)
inlinevirtual

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

Reimplemented from oofem::StructuralMaterial.

Definition at line 239 of file fcm.h.

virtual void oofem::FCMMaterial::giveRealStressVector_PlaneStrain ( FloatArray answer,
GaussPoint gp,
const FloatArray reducedE,
TimeStep tStep 
)
inlinevirtual

Default implementation relies on giveRealStressVector_3d.

Reimplemented from oofem::StructuralMaterial.

Definition at line 241 of file fcm.h.

virtual void oofem::FCMMaterial::giveRealStressVector_PlaneStress ( FloatArray answer,
GaussPoint gp,
const FloatArray reducedE,
TimeStep tStep 
)
inlinevirtual

Default implementation relies on giveRealStressVector_StressControl.

Reimplemented from oofem::StructuralMaterial.

Definition at line 243 of file fcm.h.

virtual void oofem::FCMMaterial::giveRealStressVector_PlateLayer ( FloatArray answer,
GaussPoint gp,
const FloatArray reducedE,
TimeStep tStep 
)
inlinevirtual

Default implementation relies on giveRealStressVector_StressControl.

Reimplemented from oofem::StructuralMaterial.

Definition at line 249 of file fcm.h.

virtual double oofem::FCMMaterial::giveTensileStrength ( GaussPoint gp)
protectedpure virtual

comutes tensile strength

Implemented in oofem::ConcreteFCM.

Referenced by giveRealStressVector(), and isStrengthExceeded().

int oofem::FCMMaterial::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 fcm.C.

virtual int oofem::FCMMaterial::hasNonLinearBehaviour ( )
inlinevirtual

Returns nonzero if receiver is non linear.

Reimplemented from oofem::Material.

Reimplemented in oofem::ConcreteFCM.

Definition at line 207 of file fcm.h.

IRResultType oofem::FCMMaterial::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.

Reimplemented in oofem::FRCFCM, oofem::FRCFCMNL, and oofem::ConcreteFCM.

Definition at line 1424 of file fcm.C.

References _IFT_FCM_crackSpacing, _IFT_FCM_ecsm, _IFT_FCM_multipleCrackShear, _IFT_FCM_nAllowedCracks, crackSpacing, oofem::ECSM_Oliver1, oofem::ECSM_Oliver1modified, oofem::ECSM_Projection, oofem::ECSM_ProjectionCentered, oofem::ECSM_SquareRootOfArea, ecsMethod, oofem::InputRecord::hasField(), oofem::StructuralMaterial::initializeFrom(), IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, oofem::IRRT_OK, multipleCrackShear, and nAllowedCracks.

Referenced by oofem::ConcreteFCM::initializeFrom().

bool oofem::FCMMaterial::isIntactForShear ( GaussPoint gp,
int  i 
)
protectedvirtual
bool oofem::FCMMaterial::isStrengthExceeded ( const FloatMatrix base,
GaussPoint gp,
TimeStep tStep,
int  iCrack,
double  trialStress 
)
protectedvirtual

compares trial stress with strength. Returns true if the strength is exceeded. Function oveloaded in the nonlocal approach for the fiber reinforced composites

Reimplemented in oofem::FRCFCM, and oofem::FRCFCMNL.

Definition at line 914 of file fcm.C.

References giveTensileStrength().

Referenced by checkStrengthCriterion(), giveRealStressVector(), and oofem::FRCFCMNL::isStrengthExceeded().

virtual double oofem::FCMMaterial::maxShearStress ( GaussPoint gp,
int  i 
)
protectedpure virtual

computes the maximum value of the shear stress; if the shear stress exceeds this value, it is cropped

Implemented in oofem::FRCFCM, and oofem::ConcreteFCM.

Referenced by giveRealStressVector().

Member Data Documentation

double oofem::FCMMaterial::crackSpacing
protected

value of crack spacing (allows to "have" more parallel cracks in one direction if the element size exceeds user-defined or computed crack spacing).

Definition at line 322 of file fcm.h.

Referenced by giveCrackSpacing(), oofem::FRCFCM::initializeFrom(), and initializeFrom().

ElementCharSizeMethod oofem::FCMMaterial::ecsMethod
protected

Method used for evaluation of characteristic element size.

Definition at line 271 of file fcm.h.

Referenced by FCMMaterial(), and initializeFrom().

IsotropicLinearElasticMaterial* oofem::FCMMaterial::linearElasticMaterial
protected
bool oofem::FCMMaterial::multipleCrackShear
protected

if true = takes shear compliance of all cracks, false = only dominant crack contribution, default value is false

Definition at line 274 of file fcm.h.

Referenced by oofem::ConcreteFCM::computeEffectiveShearModulus(), oofem::FRCFCM::computeEffectiveShearModulus(), computeTotalD2Modulus(), and initializeFrom().

int oofem::FCMMaterial::nAllowedCracks
protected

allowed number of cracks (user-defined)

Definition at line 268 of file fcm.h.

Referenced by giveRealStressVector(), 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:35 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011