25 #ifndef _GEMA_PLUGIN_MECHANICALMATERIAL_POWERLAWCREEP_H_ 26 #define _GEMA_PLUGIN_MECHANICALMATERIAL_POWERLAWCREEP_H_ 29 #include <gmpFemPhysics.h> 32 #include <gmpMaterialCreep.h> 41 Af_ID = GmpMaterialCreep::ElementPropertyIds::NUM_PROPERTY_IDS,
77 GmpFemPhysicsCommon::ValueList matPLProp = m[
"properties"].value<GmpFemPhysicsCommon::ValueList>();
78 matPLProp.append(GmpFemPhysicsCommon::ScalarValue(Af_ID,
"Af",
QObject::tr(
"Structure factor of PL"),
"",
true));
79 matPLProp.append(GmpFemPhysicsCommon::ScalarValue(An_ID,
"An",
QObject::tr(
"Stress power of PL"),
"",
true));
80 matPLProp.append(GmpFemPhysicsCommon::ScalarValue(Am_ID,
"Am",
QObject::tr(
"Time power of PL"),
"",
true));
81 matPLProp.append(GmpFemPhysicsCommon::ScalarValue(Ak_ID,
"Ak",
QObject::tr(
"Temperature power of PL"),
"",
true));
82 m[
"properties"] = matPLProp;
93 double creepRate = 0.0, A, k, n, m;
102 A = structureFactorPL(e, coord, mp->_index);
103 n = stressPowerPL(e, coord, mp->_index);
104 m = timePowerPL(e, coord, mp->_index);
105 k = temperaturePowerPL(e, coord, mp->_index);
114 if (nodeAttrAc(T_NA_ID) != NULL)
126 creepRate = A * pow(TEMP, k) * pow(MISES, n) * pow(cTime, m);
132 eCreepRate = (A * pow(MISES, n) * pow(TEMP, k) / (m + 1)) * (pow(cTime, (m + 1)) - pow(pTime, (m + 1))) * (1 / dTime);
143 return propertyAc(Am_ID)->scalarValueAt(e, coord, ip);
149 return propertyAc(Af_ID)->scalarValueAt(e, coord, ip);
155 return propertyAc(Ak_ID)->scalarValueAt(e, coord, ip);
161 return propertyAc(An_ID)->scalarValueAt(e, coord, ip);
ElementPropertyIds
IDs for material element properties.
Definition: gmpMaterialCreep.h:39
virtual double fillCreepStrainRate(const GmElement *e, const GmpMechanicPoint *mp, const GmVector *coord, const GmVector &Time, double MISES) const
Computes the creep deformation rate.
Definition: gmpMaterialPowerLawCreep.h:88
double structureFactorPL(const GmElement *e, const GmVector *coord, int ip) const
Returns the power law multiplier.
Definition: gmpMaterialPowerLawCreep.h:147
The number of property ids above.
Definition: gmpMaterialPowerLawCreep.h:47
Definition: gmpMaterialCreep.h:35
double temperaturePowerPL(const GmElement *e, const GmVector *coord, int ip) const
Returns the temperature power for PL.
Definition: gmpMaterialPowerLawCreep.h:153
double stressPowerPL(const GmElement *e, const GmVector *coord, int ip) const
Returns the stress power for PL.
Definition: gmpMaterialPowerLawCreep.h:159
QString tr(const char *sourceText, const char *disambiguation, int n)
Definition: gmpMechanicPoint.h:32
virtual ~GmpMaterialPowerLawCreep()
Virtual destructor.
Definition: gmpMaterialPowerLawCreep.h:57
virtual const QVariantMap * materialMetaDataMap()
Returns a pointer to the material attribute map, built when the function is called for the first time...
Definition: gmpMaterialPowerLawCreep.h:67
virtual double fillTemperatureFromNodalAttr(const GmElement *e, const GmVector *coord) const
Return temperature at integration point using the nodal Temperature field.
Definition: gmpMaterialCreep.cpp:400
Id for retrieving the stress power for DCL accessor.
Definition: gmpMaterialPowerLawCreep.h:42
virtual double temperatureProperty(const GmElement *e, const GmVector *coord, int ip) const
Returns the Temperature from property table.
Definition: gmpMaterialCreep.h:124
GmpMaterialPowerLawCreep(int typeIndex, QString typeName, const GmLogCategory &logger)
Constructor. Gets as parameters the material index and its name.
Definition: gmpMaterialPowerLawCreep.h:53
double timePowerPL(const GmElement *e, const GmVector *coord, int ip) const
Returns the time power for PL.
Definition: gmpMaterialPowerLawCreep.h:141
Declaration of the GmpMechanicPoint class.
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: gmpMaterialPowerLawCreep.h:60
Declaration of usefull configuration definitions for the plugin library.
Id for retrieving the thermal activation energy for DCL accessor.
Definition: gmpMaterialPowerLawCreep.h:43
Definition: gmpMaterialPowerLawCreep.h:35
Id for retrieving the structure factor for UMC accessor.
Definition: gmpMaterialPowerLawCreep.h:44
virtual const QVariantMap * materialMetaDataMap()
Returns a pointer to the material attribute map, built when the function is called for the first time...
Definition: gmpMaterialCreep.cpp:38