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

Basic class for the coupled thermo-hydraulic physics plugin object. More...

#include <gmpCoupledTHFemPhysics.h>

Inheritance diagram for GmpCoupledTHFemPhysics:
Collaboration diagram for GmpCoupledTHFemPhysics:

Public Member Functions

 GmpCoupledTHFemPhysics (const char *pluginType, GmSimulationData *simulation, QString id, QString description, const GmpFemPhysicsCommonMaterialFactory *matFactory, const GmLogCategory &logger)
 Constructor. Will be called by the plugin loading code.
 
virtual ~GmpCoupledTHFemPhysics ()
 Destructor.
 
virtual const char * pluginName () const
 
virtual const char * pluginType () const
 
virtual const QVariantMap * physicsMetaDataMap ()
 Returns a reference for the single thermo-hydraulic physics attribute map, built when the function is called for the first time.
 
void fillFluidConductivityMatrix (GmMatrix &Kf, const GmElement *e, const GmVector *ip, int ipIndex)
 Fills the pore fluid conductivity matrix _kfMat evaluating accessor at the integration point ip of element e (ncoord can be NULL if accessors do not accept user functions), taking in consideration that the accessor might return scalars or vectors.
 
virtual bool fixedNodalForcesBc (QVector< int > &nodes, QVector< int > &dof, QVector< double > &values) const
 
virtual bool fixedNodalDofsBc (QVector< int > &nodes, QVector< int > &dof, QVector< double > &values, bool *constantValues) const
 

Protected Types

enum  PhysicsAttributeIds { ISOPARAMETRIC_ID , REFERENCE_T_ID , NUM_ATTRI_IDS }
 IDs for physics attributes. More...
 
enum  StateVarIds { P_ID , T_ID , NUM_STATEVAR_IDS }
 IDs for thermic and hydraulic physics state vars. More...
 
enum  NodeAttributeIds { TREF_NA_ID , NUM_NA_IDS }
 IDs for thermo-mechanical node attributes. More...
 
enum  ElementPropertyIds {
  KF_ID , ALPHA_ID , ALPHAF_ID , RHOF_ID ,
  CPF_ID , NUM_PROPER_IDS
}
 IDs for physics element properties. More...
 

Protected Member Functions

virtual bool checkAndLoadPrivateData (LuaTable &table)
 Overloads default checkAndLoadPrivateData() to be able to setup materials.
 

Protected Attributes

const char * _pluginType
 The plugin type name.
 
GmpThermoFemPhysics * _thermoPhys
 The thermo physics providing parameters and matrices to the coupling TH equation.
 
GmpHydraulic * _hydroPhys
 The hydraulic physics providing parameters and B matrix to the coupling TH equation.
 

Detailed Description

Basic class for the coupled thermo-hydraulic physics plugin object.

Member Enumeration Documentation

◆ ElementPropertyIds

IDs for physics element properties.

Enumerator
KF_ID 

Id for retrieving the thermal expansion factor accessor.

ALPHA_ID 

Id for retrieving the accessor of thermal expansion coef. of the solid.

ALPHAF_ID 

Id for retrieving the accessor of the thermal expansion coef. of the pore fluid.

RHOF_ID 

Id for retrieving the accessor of the density of the pore fluid.

CPF_ID 

Id for retrieving the accessor of specific heat capacity of the pore fluid (transient analysis)

NUM_PROPER_IDS 

The number of property ids above.

◆ NodeAttributeIds

IDs for thermo-mechanical node attributes.

Enumerator
TREF_NA_ID 

Base Id for node attribute(s) used to store the reference temperature.

NUM_NA_IDS 

The number of node attribute ids above.

◆ PhysicsAttributeIds

IDs for physics attributes.

Enumerator
ISOPARAMETRIC_ID 

Id for retrieving the isoParametric physics attribute.

REFERENCE_T_ID 

Id for retrieving the referenceT physics attribute.

NUM_ATTRI_IDS 

The number of physics attribute ids above.

◆ StateVarIds

IDs for thermic and hydraulic physics state vars.

Enumerator
P_ID 

Id for retrieving the accessor to the displacement state var.

T_ID 

Id for retrieving the accessor to the temperature state var.

NUM_STATEVAR_IDS 

The number of state var ids above.

Member Function Documentation

◆ physicsMetaDataMap()

const QVariantMap * GmpCoupledTHFemPhysics::physicsMetaDataMap ( )
virtual

Returns a reference for the single thermo-hydraulic physics attribute map, built when the function is called for the first time.

Reimplemented in GmpCoupledThermoHydraulic.


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