CoupledHMFemPhysics
The GeMA Coupled Hydro-Mechanical FEM Physics Plugin
Loading...
Searching...
No Matches
GmpCoupledHMFemPhysics Class Reference

Basic class for the coupled hydro-mechanical physics plugin object. More...

#include <gmpCoupledHMFemPhysics.h>

Inheritance diagram for GmpCoupledHMFemPhysics:
Collaboration diagram for GmpCoupledHMFemPhysics:

Public Member Functions

 GmpCoupledHMFemPhysics (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 ~GmpCoupledHMFemPhysics ()
 Destructor.
 
virtual const char * pluginName () const
 
virtual const char * pluginType () const
 
virtual const QVariantMap * physicsMetaDataMap ()
 Returns a reference for the single hydro-mechanical physics attribute map, built when the function is called for the first time.
 
virtual bool supportsStateDumping ()
 
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
 
virtual FemResultType fillElementDataForBc (const GmElement *e, const GmBoundaryCondition *bc, int bcIndex, int bcListIndex, int border, GmpFemMatrixSet &elemMatrices, GmpFemVectorSet &elemVectors)
 

Protected Types

enum  PhysicsAttributeIds { ISOPARAMETRIC_ID , NUM_ATTRI_IDS }
 IDs for physics attributes. More...
 
enum  StateVarIds { U_ID , P_ID , NUM_STATEVAR_IDS }
 IDs for Mechanical and Hydro physics state vars. 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.
 
bool _setInitialCond
 Sets the initial conditions required by the physics.
 
GmpMechanicalPhysics * _mechPhys
 The mechanical physics providing parameters and matrices to the coupling equation.
 
GmpHydraulic * _hydroPhys
 The hydraulic physics providing parameters and matrices to the coupling equation.
 

Detailed Description

Basic class for the coupled hydro-mechanical physics plugin object.

Member Enumeration Documentation

◆ PhysicsAttributeIds

IDs for physics attributes.

Enumerator
ISOPARAMETRIC_ID 

Id for retrieving the isoParametric physics attribute.

NUM_ATTRI_IDS 

The number of physics attribute ids above.

◆ StateVarIds

IDs for Mechanical and Hydro physics state vars.

Enumerator
U_ID 

Id for retrieving the accessor to the displacement state var.

P_ID 

Id for retrieving the accessor to the pore pressure state var.

NUM_STATEVAR_IDS 

The number of state var ids above.

Member Function Documentation

◆ checkAndLoadPrivateData()

bool GmpCoupledHMFemPhysics::checkAndLoadPrivateData ( LuaTable & table)
protectedvirtual

Overloads default checkAndLoadPrivateData() to be able to setup materials.

Reimplemented in GmpHMEmbeddedFracture, and GmpHMEmbeddedFractureConductive.

◆ physicsMetaDataMap()

const QVariantMap * GmpCoupledHMFemPhysics::physicsMetaDataMap ( )
virtual

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

Reimplemented in GmpDualPorosityDualPermeability, GmpHMEmbeddedFracture, GmpHMEmbeddedFractureConductive, GmpHydroMechanical, GmpHydroMechanicalInterface, GmpTwoPhaseHydroMechanical, and GmpTwoPhaseHydroMechanicalInterface.


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