CoupledTHFemPhysics
The GeMA Coupled Thermo-Hydraulic FEM Physics Plugin
Loading...
Searching...
No Matches
GmpCoupledTHMaterial Class Reference

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

#include <gmpCoupledTHMaterial.h>

Inheritance diagram for GmpCoupledTHMaterial:
Collaboration diagram for GmpCoupledTHMaterial:

Public Member Functions

 GmpCoupledTHMaterial (int typeIndex, QString typeName, const GmLogCategory &logger)
 Constructor. Gets as parameters the material index and its name.
 
virtual ~GmpCoupledTHMaterial ()
 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 *hydro)
 Sets the thermal, hydraulic and mechanical materials for this coupled material. Materials CAN be NULL for a physics.
 
GmpHydraulicMaterial * hydro () const
 Returns the thermal material or NULL if none was configured.
 
virtual bool thermoHydraulicConstitutiveModel (const GmElement *e, GmMatrix &Ded, const GmVector *coord, const GmVector &Time, double Tg, unsigned nc, bool ips) const
 
virtual bool setInitialConditions (const GmElement *e, const GmVector *coord, int ip) const
 Set the initial conditions required by the isotropic damage material.
 
virtual double solidBulkModulus (const GmElement *e, const GmVector *coord, int ip) const
 Returns the solid grain bulk modulus.
 
virtual double fluidDensity (const GmElement *e, const GmVector *coord, int ip) const
 Returns the fluid density.
 
virtual double fluidHeatCapacity (const GmElement *e, const GmVector *coord, int ip) const
 Returns the fluid heat capacity.
 

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 { KSS_ID , RHOF_ID , CPF_ID , NUM_PROPERTY_IDS }
 IDs for material element properties. More...
 

Private Attributes

GmpFemPhysicsCommonMaterial * _thermoMaterial
 Thermal material.
 
GmpFemPhysicsCommonMaterial * _hydroMaterial
 hydraulic material.
 

Detailed Description

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

Member Enumeration Documentation

◆ ElementPropertyIds

IDs for material element properties.

Enumerator
KSS_ID 

Id for retrieving the solid graind bulk Modulus accessor.

RHOF_ID 

Id for retrieving the fluid density accessor.

CPF_ID 

Id for retrieving the fluid specific heat capacity.

NUM_PROPERTY_IDS 

The number of property ids above.

Member Function Documentation

◆ fluidHeatCapacity()

double GmpCoupledTHMaterial::fluidHeatCapacity ( const GmElement * e,
const GmVector * coord,
int ip ) const
virtual

Returns the fluid heat capacity.

Returns the specific fluid heat capacity.

◆ hydro()

GmpHydraulicMaterial * GmpCoupledTHMaterial::hydro ( ) const
inline

Returns the thermal material or NULL if none was configured.

Returns the hydraulic material or NULL if none was configured.


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