MechanicalFemPhysics
The GeMA Mechanical FEM Physics Plugin
Loading...
Searching...
No Matches
GmpMechanicalMaterialElastic Class Reference
Inheritance diagram for GmpMechanicalMaterialElastic:
Collaboration diagram for GmpMechanicalMaterialElastic:

Public Member Functions

 GmpMechanicalMaterialElastic (int typeIndex, QString typeName, const GmLogCategory &logger)
 Constructor. Gets as parameters the material index and its name.
 
virtual ~GmpMechanicalMaterialElastic ()
 Virtual destructor.
 
virtual const QVariantMap * materialMetaDataMap ()
 Returns a pointer to the material attribute map, built when the function is called for the first time.
 
virtual bool checkLoadedData (const GmElement *e) const
 
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.
 
virtual void tangentModulus (const GmElement *e, GmMatrix &Dep, const GmpMechanicPoint *mp, const GmVector *coord, unsigned nc, unsigned ips) const
 Returns the constitutive tangent matrix.
 
virtual bool isIsotropic () const
 Returns true if the material is isotropic, false otherwise.
 
virtual double elasticModulus (const GmElement *e, const GmVector *coord, int ip) const
 Returns the material elastic modulus.
 
virtual double poissonRatio (const GmElement *e, const GmVector *coord, int ip) const
 Returns the material poisson ratio.
 
virtual void stiffness (const GmElement *, unsigned, GmMatrix &, const GmVector *, unsigned, int) const
 
virtual void flexibility (const GmElement *, unsigned, GmMatrix &, const GmVector *, unsigned, int) const
 
double bulkModulus (const GmElement *e, const GmVector *coord, int ip) const
 Returns the bulk modulus (K) from Young's modulus (E) and Poisson's Coefficient (nu)
 
double shearModulus (const GmElement *e, const GmVector *coord, int ip) const
 Returns the shear modulus (G) from Young's modulus (E) and Poisson's Coefficient (nu)
 
double lameModulus (const GmElement *e, const GmVector *coord, int ip) const
 Returns the lame modulus(lame) from Young's modulus (E) and Poisson's Coefficient(nu)
 
virtual void spatialc (const GmMatrix &C, const GmMatrix &F, GmMatrix &c, int d) const
 
- Public Member Functions inherited from GmpMechanicalMaterial
 GmpMechanicalMaterial (int typeIndex, QString typeName, const GmLogCategory &logger)
 Constructor. Gets as parameters the material index and its name.
 
virtual ~GmpMechanicalMaterial ()
 Virtual destructor.
 
virtual bool setInitialConditions (const GmElement *e, GmpMechanicPoint *mp, const GmVector *coord, unsigned sc) const
 Sets the initial conditions required by Solid materials.
 
virtual bool updateDeformationGradient (GmMatrix &F, const GmElement *e, const GmVector *coord, int ip, bool ips=false) const
 
virtual bool calcDerivedResults (const GmElement *e, GmpMechanicPoint *mp, const GmVector *coord, unsigned sc) const
 Calculates the derived results required by materials.
 

Static Public Member Functions

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.
 

Protected Types

enum  ElementPropertyIds {
  E_ID , NU_ID , DM_ID , K0_ID ,
  NUM_PROPERTY_IDS
}
 IDs for material element properties. More...
 

Member Enumeration Documentation

◆ ElementPropertyIds

IDs for material element properties.

Enumerator
E_ID 

Id for retrieving the Young's Modulus accessor.

NU_ID 

Id for retrieving the Poisson's ratio accessor.

DM_ID 

Id for retrieving the stress strain matrix accessor.

K0_ID 

Id for retrieving the K0 value accessor.

NUM_PROPERTY_IDS 

The number of property ids above.

Member Function Documentation

◆ elasticModulus()

virtual double GmpMechanicalMaterialElastic::elasticModulus ( const GmElement * e,
const GmVector * coord,
int ip ) const
inlinevirtual

Returns the material elastic modulus.

Reimplemented in GmpMaterialCreep.

◆ isIsotropic()

◆ materialMetaDataMap()

◆ mechanicalConstitutiveModel()

◆ poissonRatio()

virtual double GmpMechanicalMaterialElastic::poissonRatio ( const GmElement * e,
const GmVector * coord,
int ip ) const
inlinevirtual

Returns the material poisson ratio.

Reimplemented in GmpMaterialCreep.

◆ tangentModulus()

void GmpMechanicalMaterialElastic::tangentModulus ( const GmElement * e,
GmMatrix & Dep,
const GmpMechanicPoint * mp,
const GmVector * coord,
unsigned nc,
unsigned ips ) const
virtual

Returns the constitutive tangent matrix.

Reimplemented from GmpMechanicalMaterial.


The documentation for this class was generated from the following files: