24#ifndef _GEMA_PLUGIN_MECHANICALMATERIAL_MACREEP_H_
25#define _GEMA_PLUGIN_MECHANICALMATERIAL_MACREEP_H_
28#include <gmpFemPhysics.h>
93 return propertyAc(C1_ID)->scalarValueAt(e, coord, ip);
99 return propertyAc(C2_ID)->scalarValueAt(e, coord, ip);
105 return propertyAc(A1_ID)->scalarValueAt(e, coord, ip);
111 return propertyAc(A2_ID)->scalarValueAt(e, coord, ip);
117 return propertyAc(N_ID)->scalarValueAt(e, coord, ip);
123 return propertyAc(B_ID)->scalarValueAt(e, coord, ip);
129 return propertyAc(R_ID)->scalarValueAt(e, coord, ip);
Definition gmpMaterialMACreep.h:35
virtual double firstprimarycreepConstant(const GmElement *e, const GmVector *coord, int ip) const
Returns the first parameter of primary creep.
Definition gmpMaterialMACreep.h:91
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 gmpMaterialMACreep.h:75
GmpMaterialMACreep(int typeIndex, QString typeName, const GmLogCategory &logger)
Constructor. Gets as parameters the material index and its name.
Definition gmpMaterialMACreep.h:68
virtual bool isIsotropic() const
Returns true if the material is isotropic, false otherwise.
Definition gmpMaterialMACreep.h:88
virtual double secondprimarycreepConstant(const GmElement *e, const GmVector *coord, int ip) const
Returns the second parameter of primary creep.
Definition gmpMaterialMACreep.h:97
virtual double seconddamageConstant(const GmElement *e, const GmVector *coord, int ip) const
Returns the second damage constant.
Definition gmpMaterialMACreep.h:127
virtual double firstsecondarycreepConstant(const GmElement *e, const GmVector *coord, int ip) const
Returns the first parameter of secondary creep.
Definition gmpMaterialMACreep.h:103
virtual ~GmpMaterialMACreep()
Virtual destructor.
Definition gmpMaterialMACreep.h:72
GaussAttributeIds
IDs for material Gauss attributes.
Definition gmpMaterialMACreep.h:54
@ EC_GA_ID
Base Id for Gauss attribute(s) used to store the calculated creep strain at the current state.
Definition gmpMaterialMACreep.h:55
@ SDVOLD_GA_ID
Id for retrieving the damage variable accessor at the previous state.
Definition gmpMaterialMACreep.h:58
@ NUM_GA_IDS
The number of Gauss attribute ids above.
Definition gmpMaterialMACreep.h:62
@ ECOLD_GA_ID
Id for retrieving the creep strain accessor at the previous state (old creep strain)
Definition gmpMaterialMACreep.h:56
@ SDV_GA_ID
Base Id for Gauss attribute(s) used to store the damage variable at the current state.
Definition gmpMaterialMACreep.h:57
ElementPropertyIds
IDs for material element properties.
Definition gmpMaterialMACreep.h:39
@ N_ID
Id for retrieving the stress exponential.
Definition gmpMaterialMACreep.h:44
@ NUM_PROPERTY_IDS
The number of property ids above.
Definition gmpMaterialMACreep.h:49
@ C2_ID
Id for retrieving the second parameter of primary creep equation.
Definition gmpMaterialMACreep.h:41
@ R_ID
Id for retrieving the second damage parameter.
Definition gmpMaterialMACreep.h:46
@ B_ID
Id for retrieving the first damage parameter.
Definition gmpMaterialMACreep.h:45
@ A2_ID
Id for retrieving the first parameter of tertiary creep equation.
Definition gmpMaterialMACreep.h:43
@ A1_ID
Id for retrieving the first parameter of secondary creep equation.
Definition gmpMaterialMACreep.h:42
virtual double firsttertiarycreepConstant(const GmElement *e, const GmVector *coord, int ip) const
Returns the first parameter of tertiary creep.
Definition gmpMaterialMACreep.h:109
virtual double firstdamageConstant(const GmElement *e, const GmVector *coord, int ip) const
Returns the first damage constant.
Definition gmpMaterialMACreep.h:121
virtual double stressExponential(const GmElement *e, const GmVector *coord, int ip) const
Returns the stress exponential.
Definition gmpMaterialMACreep.h:115
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.