HydroFemPhysics
The GeMA Hydraulic FEM Physics Plugin
Loading...
Searching...
No Matches
GmpHydraulicMaterialMultiPhase Class Referenceabstract
Inheritance diagram for GmpHydraulicMaterialMultiPhase:
Collaboration diagram for GmpHydraulicMaterialMultiPhase:

Public Member Functions

 GmpHydraulicMaterialMultiPhase (int typeIndex, QString typeName, const GmLogCategory &logger)
 Constructor. Gets as parameters the material index and its name.
 
virtual const QVariantMap * materialMetaDataMap ()
 Returns a pointer to the material attribute map, built when the function is called for the first time.
 
virtual void hydraulicConstitutiveModel (const GmElement *e, const GmVector *coord, int ip, GmMatrix &Kw, GmMatrix &Kc, double Sw, const GmpHydraulic::HMaterialPointAccessors &mp, int d) const
 Brief Returns the hydraulic constitutive model (permeability tensor)
 
virtual void permeabilityStiffness (const GmElement *e, const GmVector *coord, int ip, GmMatrix &K) const
 Returns the permeability stiffness matrix.
 
virtual double waterSaturation (const GmElement *e, const GmVector *coord, int ip, double pc) const =0
 Returns the water saturation.
 
virtual double derivativeWaterSaturation (const GmElement *e, const GmVector *coord, int ip, double pc) const =0
 Returns the dSw/dPc.
 
virtual double effectiveSaturation (const GmElement *e, const GmVector *coord, int ip, double Sw) const
 Returns the effective degree of saturation.
 
virtual double waterRelativePermeability (const GmElement *e, const GmVector *coord, int ip, double Sw) const =0
 Returns the water relative permeability.
 
virtual double gasRelativePermeability (const GmElement *e, const GmVector *coord, int ip, double Sw) const =0
 Returns the gas relative permeability.
 
virtual double intrinsicPermeability (const GmElement *e, const GmVector *coord, int ip) const
 Returns the intrinsic permeability.
 
virtual double porosity (const GmElement *e, const GmVector *coord, int ip) const
 Returns the material porosity.
 
double universalGasConstant (const GmElement *e, const GmVector *coord, int ip) const
 Returns the Universal gas constant R.
 
virtual double temperature (const GmElement *e, const GmVector *coord, int ip) const
 Returns the Temperature from property table.
 
virtual double molarMass (const GmElement *e, const GmVector *coord, int ip) const
 Returns the material pore compressibility.
 
virtual double poreCompressibility (const GmElement *e, const GmVector *coord, int ip) const
 Returns the material pore compressibility.
 
virtual double waterBulkModulus (const GmElement *e, const GmVector *coord, int ip) const
 Returns the water bulk modulus.
 
virtual double gasBulkModulus (const GmElement *e, const GmVector *coord, int ip) const
 Returns the bulk modulus of another fluid.
 
virtual double waterViscosity (const GmElement *e, const GmVector *coord, int ip) const
 Returns the water dynamic viscosity.
 
virtual double gasViscosity (const GmElement *e, const GmVector *coord, int ip) const
 Returns the fluid dynamic viscosity.
 
virtual double waterDensity (const GmElement *e, const GmVector *coord, int ip) const
 Returns the water density.
 
virtual double gasDensity (const GmElement *e, const GmVector *coord, int ip) const
 Returns the fluid density.
 
virtual double residualWaterSaturation (const GmElement *e, const GmVector *coord, int ip) const
 Returns the value of the residual water saturation degree.
 
virtual double residualGasSaturation (const GmElement *e, const GmVector *coord, int ip) const
 Returns the value of the residual water saturation degree.
 
virtual double gasEntryPressure (const GmElement *e, const GmVector *coord, int ip) const
 Returns the value of the pressure associated with the gas-entry value.
 

Protected Types

enum  MultiPhasePropertyIds {
  K_ID , Pht_ID , Bp_ID , Kww_ID ,
  Kgg_ID , Uw_ID , Ug_ID , Rhow_ID ,
  Rhog_ID , R_ID , T_ID , Mg_ID ,
  SWR_ID , SGR_ID , Pd_ID , NUM_PROPERTY_IDS
}
 IDs for saturated material element properties. More...
 

Member Enumeration Documentation

◆ MultiPhasePropertyIds

IDs for saturated material element properties.

Enumerator
K_ID 

Id for retrieving the intrinsic permeability accessor.

Pht_ID 

Id for retrieving the porosity accessor.

Bp_ID 

Id for retrieving the pore compressibility accessor.

Kww_ID 

Id for retrieving the water bulk modulus accessor

Kgg_ID 

Id for retrieving the gas bulk modulus accessor.

Uw_ID 

Id for retrieving the water dynamic viscosity accessor.

Ug_ID 

Id for retrieving the gas dynamic viscosity accessor.

Rhow_ID 

Id for retrieving the water density accessor.

Rhog_ID 

Id for retrieving the gas density accessor.

R_ID 

Id for retrieving the gas density accessor.

T_ID 

Id for retrieving the temperature accessor.

Mg_ID 

Id for retrieving the molar mass accessor.

SWR_ID 

Id for retrieving the residual water saturation degree.

SGR_ID 

Id for retrieving the residual water saturation degree.

Pd_ID 

Id for retrieving the pressure associated with the gas-entry value.

NUM_PROPERTY_IDS 

The number of property ids above.

Member Function Documentation

◆ derivativeWaterSaturation()

virtual double GmpHydraulicMaterialMultiPhase::derivativeWaterSaturation ( const GmElement * e,
const GmVector * coord,
int ip,
double pc ) const
pure virtual

Returns the dSw/dPc.

Implemented in GmpHydraulicMaterialKhoei.

◆ gasRelativePermeability()

virtual double GmpHydraulicMaterialMultiPhase::gasRelativePermeability ( const GmElement * e,
const GmVector * coord,
int ip,
double Sw ) const
pure virtual

Returns the gas relative permeability.

Implemented in GmpHydraulicMaterialKhoei.

◆ hydraulicConstitutiveModel()

void GmpHydraulicMaterialMultiPhase::hydraulicConstitutiveModel ( const GmElement * e,
const GmVector * coord,
int ip,
GmMatrix & Kw,
GmMatrix & Kc,
double Sw,
const GmpHydraulic::HMaterialPointAccessors & mp,
int d ) const
virtual

Brief Returns the hydraulic constitutive model (permeability tensor)

Returns the hydraulic conductivities Kw and Kc. Kw = k * Krw / uw Kc = k * Krc / uc.

◆ materialMetaDataMap()

const QVariantMap * GmpHydraulicMaterialMultiPhase::materialMetaDataMap ( )
virtual

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

This table includes the attributes treated by the base class, GmpHydraulicMaterial, adding the porosity 'Pht' and the pore compressibility 'Bp'

Reimplemented in GmpHydraulicMaterialKhoei.

◆ permeabilityStiffness()

void GmpHydraulicMaterialMultiPhase::permeabilityStiffness ( const GmElement * e,
const GmVector * coord,
int ip,
GmMatrix & K ) const
virtual

Returns the permeability stiffness matrix.

Returns the hydraulic conductivities Kw and Kc. Kw = k * Krw / uw Kg = k * Krg / ug.

Returns the intrinsic permeability matrix K.

◆ waterRelativePermeability()

virtual double GmpHydraulicMaterialMultiPhase::waterRelativePermeability ( const GmElement * e,
const GmVector * coord,
int ip,
double Sw ) const
pure virtual

Returns the water relative permeability.

Implemented in GmpHydraulicMaterialKhoei.

◆ waterSaturation()

virtual double GmpHydraulicMaterialMultiPhase::waterSaturation ( const GmElement * e,
const GmVector * coord,
int ip,
double pc ) const
pure virtual

Returns the water saturation.

Implemented in GmpHydraulicMaterialKhoei.


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