24#ifndef _GEMA_PLUGIN_MECHANICALMATERIAL_WDTCREEP_H_
25#define _GEMA_PLUGIN_MECHANICALMATERIAL_WDTCREEP_H_
28#include <gmpFemPhysics.h>
107 return propertyAc(A_ID)->scalarValueAt(e, coord, ip);
113 return propertyAc(B_ID)->scalarValueAt(e, coord, ip);
119 return propertyAc(C1_ID)->scalarValueAt(e, coord, ip);
125 return propertyAc(C2_ID)->scalarValueAt(e, coord, ip);
131 return propertyAc(N_ID)->scalarValueAt(e, coord, ip);
137 return propertyAc(F_ID)->scalarValueAt(e, coord, ip);
143 return propertyAc(R_ID)->scalarValueAt(e, coord, ip);
149 return propertyAc(M_ID)->scalarValueAt(e, coord, ip);
155 return propertyAc(Tref_ID)->scalarValueAt(e, coord, ip);
161 return propertyAc(T_ID)->scalarValueAt(e, coord, ip);
165 virtual double fillTemperatureFromNodalAttr(
const GmElement* e,
const GmVector* coord)
const;
Definition gmpMaterialWDTCreep.h:35
virtual double temprefConstant(const GmElement *e, const GmVector *coord, int ip) const
Returns the reference temperature.
Definition gmpMaterialWDTCreep.h:153
virtual double temperatureProperty(const GmElement *e, const GmVector *coord, int ip) const
Returns the Temperature from property table.
Definition gmpMaterialWDTCreep.h:159
ElementPropertyIds
IDs for material element properties.
Definition gmpMaterialWDTCreep.h:39
@ T_ID
Id for retrieving the Temperature accessor.
Definition gmpMaterialWDTCreep.h:49
@ N_ID
Id for retrieving the stress exponential.
Definition gmpMaterialWDTCreep.h:44
@ C2_ID
Id for retrieving the tertiary creep parameter.
Definition gmpMaterialWDTCreep.h:43
@ M_ID
Id for retrieving the temperature exponential.
Definition gmpMaterialWDTCreep.h:47
@ Tref_ID
Id for retrieving the reference temperature.
Definition gmpMaterialWDTCreep.h:48
@ R_ID
Id for retrieving the second damage parameter.
Definition gmpMaterialWDTCreep.h:46
@ NUM_PROPERTY_IDS
The number of property ids above.
Definition gmpMaterialWDTCreep.h:52
@ F_ID
Id for retrieving the first damage parameter.
Definition gmpMaterialWDTCreep.h:45
@ C1_ID
Id for retrieving the secondary creep parameter.
Definition gmpMaterialWDTCreep.h:42
@ B_ID
Id for retrieving the second parameter of primary creep equation.
Definition gmpMaterialWDTCreep.h:41
virtual double temperatureConstant(const GmElement *e, const GmVector *coord, int ip) const
Returns the tenperature exponential.
Definition gmpMaterialWDTCreep.h:147
virtual double secondprimarycreepConstant(const GmElement *e, const GmVector *coord, int ip) const
Returns the second parameter of primary creep.
Definition gmpMaterialWDTCreep.h:111
virtual ~GmpMaterialWDTCreep()
Virtual destructor.
Definition gmpMaterialWDTCreep.h:86
virtual double firstprimarycreepConstant(const GmElement *e, const GmVector *coord, int ip) const
Returns the first parameter of primary creep.
Definition gmpMaterialWDTCreep.h:105
GaussAttributeIds
IDs for material Gauss attributes.
Definition gmpMaterialWDTCreep.h:58
@ NUM_GA_IDS
The number of Gauss attribute ids above.
Definition gmpMaterialWDTCreep.h:66
@ ECOLD_GA_ID
Id for retrieving the creep strain accessor at the previous state (old creep strain)
Definition gmpMaterialWDTCreep.h:60
@ SDV2_GA_ID
Base Id for Gauss attribute(s) used to store the damage variable at the current state
Definition gmpMaterialWDTCreep.h:63
@ EC_GA_ID
Base Id for Gauss attribute(s) used to store the calculated creep strain at the current state.
Definition gmpMaterialWDTCreep.h:59
@ SDV_GA_ID
Base Id for Gauss attribute(s) used to store the damage variable at the current state.
Definition gmpMaterialWDTCreep.h:61
@ SDVOLD_GA_ID
Id for retrieving the damage variable accessor at the previous state.
Definition gmpMaterialWDTCreep.h:62
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 gmpMaterialWDTCreep.h:89
virtual double stressExponential(const GmElement *e, const GmVector *coord, int ip) const
Returns the stress exponential.
Definition gmpMaterialWDTCreep.h:129
virtual double tertiarycreepConstant(const GmElement *e, const GmVector *coord, int ip) const
Returns the tertiary creep parameter.
Definition gmpMaterialWDTCreep.h:123
virtual double firstdamageConstant(const GmElement *e, const GmVector *coord, int ip) const
Returns the first damage constant.
Definition gmpMaterialWDTCreep.h:135
NodeAttributeIds
IDs for creep material node attributes.
Definition gmpMaterialWDTCreep.h:72
@ NUM_NA_IDS
The number of node attribute ids above.
Definition gmpMaterialWDTCreep.h:76
@ T_NA_ID
Base Id for node attribute(s) used to store the calculated stress.
Definition gmpMaterialWDTCreep.h:73
virtual double secondarycreepConstant(const GmElement *e, const GmVector *coord, int ip) const
Returns the secondary creep parameter.
Definition gmpMaterialWDTCreep.h:117
virtual double seconddamageConstant(const GmElement *e, const GmVector *coord, int ip) const
Returns the second damage constant.
Definition gmpMaterialWDTCreep.h:141
GmpMaterialWDTCreep(int typeIndex, QString typeName, const GmLogCategory &logger)
Constructor. Gets as parameters the material index and its name.
Definition gmpMaterialWDTCreep.h:82
virtual bool isIsotropic() const
Returns true if the material is isotropic, false otherwise.
Definition gmpMaterialWDTCreep.h:102
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
Declaration of the GmpMechanicalMaterialElastic class.
Declaration of the GmpMechanicPoint class.
Declaration of useful configuration definitions for the plugin library.