25#ifndef _GEMA_PLUGIN_COUPLED_TM_MATERIALISOTROPICTMDAMAGE_H_
26#define _GEMA_PLUGIN_COUPLED_TM_MATERIALISOTROPICTMDAMAGE_H_
31#include <gmpFemPhysics.h>
33#include <gmpMechanicPoint.h>
34#include <gmpFemPhysicsCommonMaterial.h>
93 virtual bool checkLoadedData(
const GmElement* e)
const;
99 virtual bool thermoMechanicalConstitutiveModel(
const GmElement* e,
GmMatrix& Ded,
const GmpMechanicPoint* mp,
const GmVector* coord,
100 const GmVector& Time,
double Tg,
unsigned nc,
bool ips)
const;
105 return propertyAc(ALPHA_ID)->scalarValueAt(e, coord, ip);
111 return propertyAc(TD0_ID)->scalarValueAt(e, coord, ip);
119 if (TDLawAcc == NULL)
123 return TDLawAcc->scalarValueAt(e, coord, ip);
127 virtual bool thermalDamageCriterion(
const GmElement*,
const GmpMechanicPoint*,
const GmVector*,
unsigned,
double,
double& rtd,
unsigned)
const;
132 virtual bool thermalDamageLaw(
const GmElement* e,
const GmVector* coord,
const GmpMechanicPoint* mp,
unsigned sc,
double& g,
double rtd,
double& dgt,
double Tg)
const;
Basic class for a coupled hydro-mechanical material object, storing references for a mechanical and a...
Definition gmpCoupledTMMaterial.h:37
virtual bool setInitialConditions(const GmElement *e, GmpMechanicPoint *mp, const GmVector *coord, unsigned sc) const
Set the initial conditions required by the isotropic damage material.
Definition gmpCoupledTMMaterial.cpp:69
virtual const QVariantMap * materialMetaDataMap()
Returns a pointer to the material attribute map, built when the function is called for the first time...
Definition gmpCoupledTMMaterial.cpp:38
Definition gmpMaterialIsotropicTMDamage.h:38
DamageGaussAttrIds
IDs for Gauss attributes of elastic damage material.
Definition gmpMaterialIsotropicTMDamage.h:53
@ TDAMOLD_GA_ID
Id for retrieving the material point state accessor at the previous state.
Definition gmpMaterialIsotropicTMDamage.h:55
@ TISVOLD_GA_ID
Id for retrieving the material point state accessor at the previous state.
Definition gmpMaterialIsotropicTMDamage.h:57
@ TISV_GA_ID
Base Id for Gauss attribute(s) used to store the thermal internal state variable at the current state...
Definition gmpMaterialIsotropicTMDamage.h:56
@ TDAM_GA_ID
Base Id for Gauss attribute(s) used to store the thermal damage variable at the current state.
Definition gmpMaterialIsotropicTMDamage.h:54
@ NUM_GA_IDS
The number of gauss attributes.
Definition gmpMaterialIsotropicTMDamage.h:60
virtual double thermalDamageThreshold(const GmElement *e, const GmVector *coord, int ip) const
Returns the thermal damage threshold.
Definition gmpMaterialIsotropicTMDamage.h:109
ElementPropertyIds
IDs for material element properties.
Definition gmpMaterialIsotropicTMDamage.h:42
@ ALPHA_ID
Id for retrieving the thermal expansion accessor.
Definition gmpMaterialIsotropicTMDamage.h:44
@ TD0_ID
Id for retrieving the thermal damage threshold accessor.
Definition gmpMaterialIsotropicTMDamage.h:45
@ NUM_PROPERTY_IDS
The number of property ids above.
Definition gmpMaterialIsotropicTMDamage.h:48
@ TDAMLAW_ID
Id for retrieving the thermal damage law accessor.
Definition gmpMaterialIsotropicTMDamage.h:43
virtual double thermalExpansionCoeff(const GmElement *e, const GmVector *coord, int ip) const
Returns the thermal expansion.
Definition gmpMaterialIsotropicTMDamage.h:103
GmpMaterialIsotropicTMDamage(int typeIndex, QString typeName, const GmLogCategory &logger)
Constructor. Gets as parameters the material index and its name.
Definition gmpMaterialIsotropicTMDamage.h:76
virtual int thermalDamageLaw(const GmElement *e, const GmVector *coord, int ip) const
Returns the thermal damage law.
Definition gmpMaterialIsotropicTMDamage.h:115
virtual ~GmpMaterialIsotropicTMDamage()
Virtual destructor.
Definition gmpMaterialIsotropicTMDamage.h:80
ThermalDamageLaw
Thermal damage evolution law.
Definition gmpMaterialIsotropicTMDamage.h:65
@ NUM_THERMALDAMAGELAW_IDS
The number of damage initiation criterion.
Definition gmpMaterialIsotropicTMDamage.h:70
@ luccioni
Thermal damage law proposed by Luccioni.
Definition gmpMaterialIsotropicTMDamage.h:67
@ pearce
Thermal damage law proposed by Pearce.
Definition gmpMaterialIsotropicTMDamage.h:66
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 gmpMaterialIsotropicTMDamage.h:83
Declaration of useful configuration definitions for the plugin library.
Declaration of the GmpCoupledTMMaterial class.