27#ifndef _GEMA_PLUGIN_MECHANICALMATERIAL_ISOTROPICDAMAGE_H_
28#define _GEMA_PLUGIN_MECHANICALMATERIAL_ISOTROPICDAMAGE_H_
31#include "gmpFemPhysics.h"
79 virtual bool checkLoadedData(
const GmElement* e)
const;
129 if (DCritAcc == NULL)
133 return DCritAcc->scalarValueAt(e, coord, ip);
145 return DLawAcc->scalarValueAt(e, coord, ip);
151 return propertyAc(R0_ID)->scalarValueAt(e, coord, ip);
157 return propertyAc(RMAX_ID)->scalarValueAt(e, coord, ip);
163 return propertyAc(A_ID)->scalarValueAt(e, coord, ip);
169 return propertyAc(B_ID)->scalarValueAt(e, coord, ip);
175 return propertyAc(GF_ID)->scalarValueAt(e, coord, ip);
181 return propertyAc(KAPPA_ID)->scalarValueAt(e, coord, ip);
191 virtual bool engineeringToCauchyShearStrain(
unsigned,
GmVector&)
const;
Definition gmpMaterialIsotropicDamage.h:39
virtual double fractureEnergy(const GmElement *e, const GmVector *coord, int ip) const
Returns the fracture energy.
Definition gmpMaterialIsotropicDamage.h:173
virtual int damageCriterion(const GmElement *e, const GmVector *coord, int ip) const
Returns the damage criterion.
Definition gmpMaterialIsotropicDamage.h:125
static GmpFemPhysicsCommonMaterial * instance(GmSimulationData *simulation, int typeIndex, QString typeName, const GmLogCategory &logger)
A "factory" function used to register the material with the physics material factory.
Definition gmpMaterialIsotropicDamage.h:69
damageCriterion
Damage Criterion.
Definition gmpMaterialIsotropicDamage.h:96
@ mazars
Damage criterion proposed by Mazars.
Definition gmpMaterialIsotropicDamage.h:99
@ strainNorm
Damage criterion based on normal strain.
Definition gmpMaterialIsotropicDamage.h:97
@ modifiedVonMises
Damage criterion based on modified Von Mises.
Definition gmpMaterialIsotropicDamage.h:98
@ NUM_DAMAGECRITERION_IDS
The number of damage initiation criterion.
Definition gmpMaterialIsotropicDamage.h:102
virtual int damageLaw(const GmElement *e, const GmVector *coord, int ip) const
Returns the damage law.
Definition gmpMaterialIsotropicDamage.h:137
virtual double maximumInternalVariable(const GmElement *e, const GmVector *coord, int ip) const
Returns the maximum admissible internal variable.
Definition gmpMaterialIsotropicDamage.h:155
virtual double parameterB(const GmElement *e, const GmVector *coord, int ip) const
Returns the exponential or polynomial parameter B.
Definition gmpMaterialIsotropicDamage.h:167
virtual double damageThreshold(const GmElement *e, const GmVector *coord, int ip) const
Returns the damage threshold.
Definition gmpMaterialIsotropicDamage.h:149
GmpMaterialIsotropicDamage(int typeIndex, QString typeName, const GmLogCategory &logger)
Constructor. Gets as parameters the material index and its name.
Definition gmpMaterialIsotropicDamage.h:62
ElementPropertyIds
IDs for material element properties.
Definition gmpMaterialIsotropicDamage.h:43
@ DAMLAW_ID
Id for retrieving the damage law accessor.
Definition gmpMaterialIsotropicDamage.h:46
@ KAPPA_ID
Id for retrieving the ratio between the uniaxial compressive strength and the uniaxial tensile streng...
Definition gmpMaterialIsotropicDamage.h:53
@ GF_ID
Id for retrieving the fracture energy accessor.
Definition gmpMaterialIsotropicDamage.h:51
@ RMAX_ID
Id for retrieving the maximum admissible internal variable acessor.
Definition gmpMaterialIsotropicDamage.h:48
@ A_ID
Id for retrieving the exponential or polynomial parameter A accessor.
Definition gmpMaterialIsotropicDamage.h:49
@ R0_ID
Id for retrieving the damage threshold accessor.
Definition gmpMaterialIsotropicDamage.h:47
@ NUM_PROPERTY_IDS
The number of property ids above.
Definition gmpMaterialIsotropicDamage.h:56
@ B_ID
Id for retrieving the exponential or polynomial parameter B accessor.
Definition gmpMaterialIsotropicDamage.h:50
virtual ~GmpMaterialIsotropicDamage()
Virtual destructor.
Definition gmpMaterialIsotropicDamage.h:66
damageLaw
Damage evolution law.
Definition gmpMaterialIsotropicDamage.h:107
@ NUM_DAMAGELAW_IDS
The number of damage initiation criterion.
Definition gmpMaterialIsotropicDamage.h:115
@ linear
Linear evolution.
Definition gmpMaterialIsotropicDamage.h:108
@ kurumatani
Damage evolution proposed by Kurumatani.
Definition gmpMaterialIsotropicDamage.h:111
@ oliver
Damage evolution proposed by Oliver.
Definition gmpMaterialIsotropicDamage.h:112
@ polynomial
Polynomial evolution.
Definition gmpMaterialIsotropicDamage.h:110
@ exponential
Exponential evolution.
Definition gmpMaterialIsotropicDamage.h:109
virtual double parameterA(const GmElement *e, const GmVector *coord, int ip) const
Returns the exponential or polynomial parameter A.
Definition gmpMaterialIsotropicDamage.h:161
virtual double ratioCompressiveTensile(const GmElement *e, const GmVector *coord, int ip) const
Returns the ratio between the uniaxial compressive strength and the uniaxial tensile strength.
Definition gmpMaterialIsotropicDamage.h:179
elasticDamageGaussAttrIds
IDs for Gauss attributes of elastic damage material.
Definition gmpMaterialIsotropicDamage.h:83
@ ISVOLD_GA_ID
Id for retrieving the material point state accessor at the previous state.
Definition gmpMaterialIsotropicDamage.h:87
@ DAMOLD_GA_ID
Id for retrieving the material point state accessor at the previous state.
Definition gmpMaterialIsotropicDamage.h:85
@ NUM_GA_IDS
The number of gauss attributes.
Definition gmpMaterialIsotropicDamage.h:91
@ DAM_GA_ID
Base Id for Gauss attribute(s) used to store the damage variable at the current state.
Definition gmpMaterialIsotropicDamage.h:84
@ EGEO_GA_ID
Id for retrieving the geostatic strain accessor.
Definition gmpMaterialIsotropicDamage.h:88
@ ISV_GA_ID
Base Id for Gauss attribute(s) used to store the internal state variable at the current state.
Definition gmpMaterialIsotropicDamage.h:86
Definition gmpMechanicPoint.h:33
Definition gmpMaterialElastic.h:35
virtual bool mechanicalConstitutiveModel(const GmElement *e, GmMatrix &Dep, const GmpMechanicPoint *mp, const GmVector *coord, const GmVector &Time, unsigned nc, bool ips) const
Evaluates stress and tangent matrix according to the material behavior adopted.
Definition gmpMaterialElastic.cpp:83
virtual const QVariantMap * materialMetaDataMap()
Returns a pointer to the material attribute map, built when the function is called for the first time...
Definition gmpMaterialElastic.cpp:40
@ NUM_PROPERTY_IDS
The number of property ids above.
Definition gmpMaterialElastic.h:46
virtual bool setInitialConditions(const GmElement *e, GmpMechanicPoint *mp, const GmVector *coord, unsigned sc) const
Sets the initial conditions required by Solid materials.
Definition gmpMechanicalMaterial.h:69
Declaration of the GmpMechanicalMaterialElastic class.
Declaration of the GmpMechanicPoint class.
Declaration of useful configuration definitions for the plugin library.