MechanicalFemPhysics
The GeMA Mechanical FEM Physics Plugin
Public Member Functions | Static Public Member Functions | Protected Types | List of all members
GmpMechanicalMaterialPorousElastic Class Reference
Inheritance diagram for GmpMechanicalMaterialPorousElastic:
Inheritance graph
[legend]
Collaboration diagram for GmpMechanicalMaterialPorousElastic:
Collaboration graph
[legend]

Public Member Functions

 GmpMechanicalMaterialPorousElastic (int typeIndex, QString typeName, const GmLogCategory &logger)
 Constructor. Gets as parameters the material index and its name.
 
virtual ~GmpMechanicalMaterialPorousElastic ()
 Virtual destructor.
 
virtual const QVariantMap * materialMetaDataMap ()
 Returns a pointer to the material attribute map, built when the function is called for the first time. More...
 
virtual bool mechanicalConstitutiveModel (const GmElement *e, GmMatrix &Dep, const GmpMechanicPoint *mp, const GmVector *coord, const GmVector &, unsigned nc, bool ips) const
 Evaluates stress and tangent matrix according to the material behavior adopted.
 
virtual bool isIsotropic () const
 Returns true if the material is isotropic, false otherwise.
 
virtual double swellingCompressionCoefficient (const GmElement *e, const GmVector *coord, int ip) const
 Returns the material elastic modulus.
 
virtual void elasticMatrixKG (const GmElement *, unsigned, GmMatrix &, const GmVector *, unsigned, int, const GmVector *=NULL) const
 
- Public Member Functions inherited from GmpMechanicalMaterialElastic
 GmpMechanicalMaterialElastic (int typeIndex, QString typeName, const GmLogCategory &logger)
 Constructor. Gets as parameters the material index and its name.
 
virtual ~GmpMechanicalMaterialElastic ()
 Virtual destructor.
 
virtual bool checkLoadedData (const GmElement *e) const
 
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 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.
 
- Static Public Member Functions inherited from GmpMechanicalMaterialElastic
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 { ksc_ID = GmpMechanicalMaterialElastic::NUM_PROPERTY_IDS, NUM_PROPERTY_IDS }
 IDs for material element properties. More...
 
enum  GaussAttributeIds { Pht_GA_ID, PhtOLD_GA_ID, NUM_GA_IDS }
 IDs for material Gauss attributes. More...
 
- Protected Types inherited from GmpMechanicalMaterialElastic
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
ksc_ID 

Id for retrieving the swelling/recompression coefficient accessor.

NUM_PROPERTY_IDS 

The number of property ids above.

◆ GaussAttributeIds

IDs for material Gauss attributes.

Enumerator
Pht_GA_ID 

Base Id for Gauss attribute(s) used to store the calculated porosity at the current state.

PhtOLD_GA_ID 

Id for retrieving the porosity accessor at the previous state (old porosity)

NUM_GA_IDS 

The number of Gauss attribute ids above.

Member Function Documentation

◆ materialMetaDataMap()

const QVariantMap * GmpMechanicalMaterialPorousElastic::materialMetaDataMap ( )
virtual

Returns a pointer to the material attribute map, built when the function is called for the first time.

This table includes the attributes treated by the base class, GmpMechanicalMaterial, adding the Young modulus 'E' and Poisson Ratio 'nu'

Reimplemented from GmpMechanicalMaterialElastic.


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