CoupledHMFemPhysics
The GeMA Coupled Hydro-Mechanical FEM Physics Plugin
Loading...
Searching...
No Matches
GmpHMInterfaceMaterial Class Reference
Inheritance diagram for GmpHMInterfaceMaterial:
Collaboration diagram for GmpHMInterfaceMaterial:

Public Member Functions

 GmpHMInterfaceMaterial (int typeIndex, QString typeName, const GmLogCategory &logger)
 Constructor. Gets as parameters the material index and its name.
 
virtual ~GmpHMInterfaceMaterial ()
 Destructor.
 
virtual void setInitialConditions (const GmElement *e, GmpMechanicPoint *mp, const GmVector *coord, int ip, const double open) const
 Sets the initial conditions for HM interface element.
 
virtual void updateNormalAperture (const GmElement *e, GmpMechanicPoint *mp, int nc, const GmVector *coord, int ip) const
 Updates the normal fracture aperture. An = An_old + (e_new - e_old) where: An = normal Fracture aperture e_new = new aperture e_old = old aperture.
 
virtual bool hydraulicConstitutiveModel (const GmElement *e, GmVector &flowParam, GmpMechanicPoint *mp, const GmVector *coord, int ip) const
 Returns the fluid flow parameters according to the constitutive model adopted Fills the element state which is used to define the fluid flow inside an interface element. Three states are possible: CLOSE_MODE, TIP_MODE and OPEN_MODE.
 
- Public Member Functions inherited from GmpCoupledHMMaterial
 GmpCoupledHMMaterial (int typeIndex, QString typeName, const GmLogCategory &logger)
 Constructor. Gets as parameters the material index and its name.
 
virtual ~GmpCoupledHMMaterial ()
 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 *hydro, GmpFemPhysicsCommonMaterial *mechano)
 Sets the hydraulic and mechanical materials for this material. Materials CAN be NULL for a physics.
 
GmpHydraulicMaterial * hydro () const
 Returns the hydraulic material or NULL if none was configured.
 
GmpHydraulicMaterialTwoPhase * twoPhaseHydro () const
 Returns the Two-Phase hydraulic material or NULL if none was configured.
 
GmpMaterialInterfaceMultiPhaseFlow * twoPhaseInterfaceFlow () const
 Returns the Two-Phase hydraulic material or NULL if none was configured.
 
GmpMaterialInterfaceFlow * interfaceFlow () const
 Returns the hydraulic interface material or NULL if none was configured.
 
GmpMechanicalMaterial * mechanical () const
 Returns the mechancial material or NULL if none was configured or if the material is an interface material.
 
GmpInterfaceMaterial * interface () const
 Returns the mechancial interface material or NULL if none was configured or if the material is not an interface material.
 
GmGaussAccessorgetApertureAccessor () const
 Returns the current aperture accessor.
 
GmGaussAccessorgetOldApertureAccessor () const
 Returns the old aperture accessor.
 
QString flowMaterialTypeName () const
 Returns the flow material type name.
 
virtual void hydroMechanicalConstitutiveModel (const GmElement *e, const GmVector *coord, int ip, GmMatrix &Kper) const
 Fills the hydromechanical constitutive model.
 
virtual void updatePermeabilityPoroElastic (const GmElement *e, const GmVector *coord, int ip, GmMatrix &Kper) const
 Updates permeability tensor of poro elastic model.
 
virtual void updatePermeabilityEquivalentContinuum (const GmElement *e, const GmVector *coord, int ip, GmMatrix &Kper) const
 Updates permeability tensor of equivalent continuum model.
 

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 GmpCoupledHMMaterial
static GmpFemPhysicsCommonMaterial * instance (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 , NUM_PROPERTY_IDS }
 IDs for material element properties. More...
 

Member Enumeration Documentation

◆ ElementPropertyIds

IDs for material element properties.

Enumerator
KSS_ID 

Id for retrieving the solid bulk's Modulus accessor.

NUM_PROPERTY_IDS 

The number of property ids above.

Member Function Documentation

◆ hydraulicConstitutiveModel()

bool GmpHMInterfaceMaterial::hydraulicConstitutiveModel ( const GmElement * e,
GmVector & flowParam,
GmpMechanicPoint * mp,
const GmVector * coord,
int ip ) const
virtual

Returns the fluid flow parameters according to the constitutive model adopted Fills the element state which is used to define the fluid flow inside an interface element. Three states are possible: CLOSE_MODE, TIP_MODE and OPEN_MODE.

CLOSE_MODE allows high normal flow without longitudinal flow TIP_MODE allows normal flow as defined by the user without longitudinal flow OPEN_MODE allows normal and tangential flow as defined by the user

Returns the fluid flow parameters


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