27#ifndef _GEMA_PLUGIN_MECHANICALMATERIAL_CAP_GENERAL_YIELD_SURFACE_H_
28#define _GEMA_PLUGIN_MECHANICALMATERIAL_CAP_GENERAL_YIELD_SURFACE_H_
30#include "gmpMaterialElastoplasticMultiSurface.h"
32#include "gmpFemPhysics.h"
100 return propertyAc(COH_ID)->scalarValueAt(e, coord, ip);
103 virtual double frictionAngle(
const GmElement* e,
const GmVector* coord,
int ip)
const
105 return propertyAc(PHI_ID)->scalarValueAt(e, coord, ip);
110 return propertyAc(PSI_ID)->scalarValueAt(e, coord, ip);
115 return propertyAc(ALPHA_ID)->scalarValueAt(e, coord, ip);
120 return propertyAc(BETA_ID)->scalarValueAt(e, coord, ip);
125 return propertyAc(GAMMA_ID)->scalarValueAt(e, coord, ip);
130 return propertyAc(A_ID)->scalarValueAt(e, coord, ip);
135 return propertyAc(INITIALCENTER_ID)->scalarValueAt(e, coord, ip);
140 return propertyAc(RATIO_ID)->scalarValueAt(e, coord, ip);
155 return wAccc->scalarValueAt(e, coord, ip);
170 return dAccc->scalarValueAt(e, coord, ip);
180 virtual double capSurfaceCriterion(
const GmElement*,
const GmVector&,
const double,
const GmVector*,
int,
unsigned)
const;
192 virtual double capSurfacePlasticFPotential(
const GmElement*,
const GmVector&,
const double,
const GmVector*,
int,
unsigned)
const;
204 virtual bool capSurfaceHardeningEvolutionDerivative_Stress(
const GmElement*,
GmVector&,
const GmVector&,
const double,
const GmVector*,
int,
unsigned,
bool)
const;
218 virtual int numberActiveSurface(
GmVector,
const double)
const;
Definition gmpMaterialCapGeneralYieldSurface.h:36
virtual double secondShapeFactor(const GmElement *e, const GmVector *coord, int ip) const
Returns the second shape factor.
Definition gmpMaterialCapGeneralYieldSurface.h:118
virtual double volumetricStrainRate(const GmElement *e, const GmVector *coord, int ip) const
Returns the volumetric strain rate with respect to the compressive hydrostatic strain.
Definition gmpMaterialCapGeneralYieldSurface.h:159
virtual double dilationAngle(const GmElement *e, const GmVector *coord, int ip) const
Returns the material dilation angle.
Definition gmpMaterialCapGeneralYieldSurface.h:108
virtual double maxVolumetricStrain(const GmElement *e, const GmVector *coord, int ip) const
Returns the ultimate compressive volumetric strain.
Definition gmpMaterialCapGeneralYieldSurface.h:144
virtual bool isIsotropic() const
Returns true if the material is isotropic, false otherwise.
Definition gmpMaterialCapGeneralYieldSurface.h:92
virtual double fourthShapeFactor(const GmElement *e, const GmVector *coord, int ip) const
Returns the fourth shape factor.
Definition gmpMaterialCapGeneralYieldSurface.h:128
virtual double cohesion(const GmElement *e, const GmVector *coord, int ip) const
Returns the material cohesion.
Definition gmpMaterialCapGeneralYieldSurface.h:98
virtual double ratioSemiaxes(const GmElement *e, const GmVector *coord, int ip) const
Returns the ratio between the semiaxes.
Definition gmpMaterialCapGeneralYieldSurface.h:138
virtual double firstShapeFactor(const GmElement *e, const GmVector *coord, int ip) const
Returns the first shape factor.
Definition gmpMaterialCapGeneralYieldSurface.h:113
ElementPropertyIds
IDs for material element properties.
Definition gmpMaterialCapGeneralYieldSurface.h:40
@ RATIO_ID
Id for retrieving the ratio between the semiaxes.
Definition gmpMaterialCapGeneralYieldSurface.h:49
@ PHI_ID
Id for retrieving the friction angle accessor.
Definition gmpMaterialCapGeneralYieldSurface.h:42
@ A_ID
Id for retrieving the fourth shape factor.
Definition gmpMaterialCapGeneralYieldSurface.h:47
@ ALPHA_ID
Id for retrieving the first shape factor.
Definition gmpMaterialCapGeneralYieldSurface.h:44
@ INITIALCENTER_ID
Id for retrieving the initial center of the ellipse.
Definition gmpMaterialCapGeneralYieldSurface.h:48
@ MAXVSTRAIN_ID
Id for retrieving the ultimate compressive volumetric strain.
Definition gmpMaterialCapGeneralYieldSurface.h:50
@ BETA_ID
Id for retrieving the second shape factor.
Definition gmpMaterialCapGeneralYieldSurface.h:45
@ VSTRAINRATE_ID
Id for retrieving the volumetric strain rate with respect to the compressive hydrostatic strain.
Definition gmpMaterialCapGeneralYieldSurface.h:51
@ PSI_ID
Id for retrieving the dilatance angle accessor.
Definition gmpMaterialCapGeneralYieldSurface.h:43
@ GAMMA_ID
Id for retrieving the third shape factor.
Definition gmpMaterialCapGeneralYieldSurface.h:46
@ NUM_PROPERTY_IDS
The number of property ids above.
Definition gmpMaterialCapGeneralYieldSurface.h:54
virtual double thirdShapeFactor(const GmElement *e, const GmVector *coord, int ip) const
Returns the third shape factor.
Definition gmpMaterialCapGeneralYieldSurface.h:123
GaussAttributeIds
IDs for material Gauss attributes.
Definition gmpMaterialCapGeneralYieldSurface.h:59
@ NUM_GA_IDS
The number of Gauss attribute ids above.
Definition gmpMaterialCapGeneralYieldSurface.h:63
virtual double initialCenterEllipse(const GmElement *e, const GmVector *coord, int ip) const
Returns the center of the ellipse.
Definition gmpMaterialCapGeneralYieldSurface.h:133
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 gmpMaterialCapGeneralYieldSurface.h:76
GmpMaterialCapGeneralYieldSurface(int typeIndex, QString typeName, const GmLogCategory &logger)
Constructor. Gets as parameters the material index and its name.
Definition gmpMaterialCapGeneralYieldSurface.h:69
virtual ~GmpMaterialCapGeneralYieldSurface()
Virtual destructor.
Definition gmpMaterialCapGeneralYieldSurface.h:73
virtual bool mechanicalConstitutiveModel(const GmElement *, GmMatrix &, const GmpMechanicPoint *, const GmVector *, const GmVector &, unsigned, bool) const
Returns the updated stresses after the return mapping process.
Definition gmpMaterialElastoplastic.cpp:82
@ NUM_GA_IDS
The number of gauss attributes.
Definition gmpMaterialElastoplastic.h:92
virtual double yieldStrengthRatio(const GmElement *e, const GmVector &S, const GmVector *coord, int ip, unsigned sc) const =0
Returns the Yield Strength Ratio (Ysr)
virtual const QVariantMap * materialMetaDataMap()
Returns a pointer to the material/Gauus attribute map, built when the function is called for the firs...
Definition gmpMaterialElastoplastic.cpp:45
Definition gmpMaterialElastoplasticMultiSurface.h:34
Definition gmpMechanicPoint.h:33
@ 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 GmpMechanicPoint class.