CoupledTMFemPhysics
The GeMA Coupled Thermo-Mechanical FEM Physics Plugin
Loading...
Searching...
No Matches
GmpCoupledTMMaterial Class Reference

Basic class for a coupled hydro-mechanical material object, storing references for a mechanical and a hydro material, while also supporting coupling attributes. More...

#include <gmpCoupledTMMaterial.h>

Inheritance diagram for GmpCoupledTMMaterial:
Collaboration diagram for GmpCoupledTMMaterial:

Public Member Functions

 GmpCoupledTMMaterial (int typeIndex, QString typeName, const GmLogCategory &logger)
 Constructor. Gets as parameters the material index and its name.
 
virtual ~GmpCoupledTMMaterial ()
 Destructor.
 
virtual const QVariantMap * materialMetaDataMap ()
 Returns a pointer to the material attribute map, built when the function is called for the first time.
 
void setPhysicsMaterials (GmpFemPhysicsCommonMaterial *thermo, GmpFemPhysicsCommonMaterial *mechano)
 Sets the hydraulic and mechanical materials for this material. Materials CAN be NULL for a physics.
 
GmpMechanicalMaterial * mechanical () const
 Returns the thermal material or NULL if none was configured.
 
GmpInterfaceMaterial * interface () const
 Returns the mechancial interface material or NULL if none was configured or if the material is not an interface material.
 
virtual bool thermoMechanicalConstitutiveModel (const GmElement *e, GmMatrix &Ded, const GmpMechanicPoint *mp, const GmVector *coord, const GmVector &Time, double Tg, unsigned nc, bool ips) const
 
virtual bool setInitialConditions (const GmElement *e, GmpMechanicPoint *mp, const GmVector *coord, unsigned sc) const
 Set the initial conditions required by the isotropic damage material.
 

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.
 

Private Attributes

GmpFemPhysicsCommonMaterial * _thermoMaterial
 Hydraulic material.
 
GmpFemPhysicsCommonMaterial * _mechanoMaterial
 Mechanical material. Ps: The mechanical plugin does not have a base class common to all materials.
 

Detailed Description

Basic class for a coupled hydro-mechanical material object, storing references for a mechanical and a hydro material, while also supporting coupling attributes.

Member Function Documentation

◆ materialMetaDataMap()

const QVariantMap * GmpCoupledTMMaterial::materialMetaDataMap ( )
virtual

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

Reimplemented in GmpMaterialIsotropicTMDamage.

◆ mechanical()

GmpMechanicalMaterial * GmpCoupledTMMaterial::mechanical ( ) const
inline

Returns the thermal material or NULL if none was configured.

Returns the mechancial material or NULL if none was configured or if the material is an interface material.

◆ setInitialConditions()

bool GmpCoupledTMMaterial::setInitialConditions ( const GmElement * e,
GmpMechanicPoint * mp,
const GmVector * coord,
unsigned sc ) const
virtual

Set the initial conditions required by the isotropic damage material.

Reimplemented in GmpMaterialIsotropicTMDamage.


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