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

Public Member Functions

 GmpMaterialPipeFlow (int typeIndex, QString typeName, const GmLogCategory &logger)
 Constructor. Gets as parameters the material index and its name.
 
virtual const QVariantMap * materialMetaDataMap ()
 
virtual double pipeDiameter (const GmElement *e, const GmVector *coord, int ip) const
 Returns the initial fracture opening.
 
virtual double fluidViscosity (const GmElement *e, const GmVector *coord, int ip) const
 Returns the dynamic fluid viscosity.
 
virtual double fluidSpecificWeight (const GmElement *e, const GmVector *coord, int ip) const
 Returns the specific weight of the fluid.
 
virtual double pipeWallRoughness (const GmElement *e, const GmVector *coord, int ip) const
 Returns the wall roughness of the pipe.
 
virtual double fluidDensity (const GmElement *e, const GmVector *coord, int ip) const
 Returns gravitational accelaration.
 
virtual double frictionFactor (const GmElement *e, const GmVector *coord, int ip, double dp) const
 Returns friction factor as presented by Kaufmann.
 
virtual double interfaceBiotModulus (const GmElement *e, const GmVector *coord, int ip) const
 Returns the discontinuity Biot's Modulus.
 
virtual double pipeConductivity (const GmElement *e, const GmVector *coord, int ip, GmGaussAccessor *DpAcc, GmVector &Pe, double L) const
 Returns the hydraulic conductivity of Pipe [m^4/(kPa*s)].
 
virtual double pipeTangentConductivity (const GmElement *e, const GmVector *coord, int ip, GmGaussAccessor *DpAcc, GmVector &Pe, double L) const
 Returns the hydraulic conductivity of Pipe [m^4/(kPa*s)].
 
virtual void ckeckFlowRegime (const GmElement *e, const GmVector *coord, int ip, GmGaussAccessor *DpAcc, GmVector &Fi) const
 

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  PipePropertyIds {
  Dc_ID , Uf_ID , MFw_ID , GW_ID ,
  W_ID , rhof_ID
}
 IDs for saturated material element properties. More...
 
enum  pipeGaussAttrIds {
  FR_GA_ID , FROLD_GA_ID , QFLOW_GA_ID , RE_GA_ID ,
  NUM_GA_IDS
}
 IDs for Gauss attributes of pipe material. More...
 

Member Enumeration Documentation

◆ pipeGaussAttrIds

IDs for Gauss attributes of pipe material.

Enumerator
FR_GA_ID 

Base Id for Gauss attribute(s) used to store the calculated Flow regime.

FROLD_GA_ID 

Id for retrieving the plastic strain accessor at the previous state (old Flow regime)

RE_GA_ID 

Base Id for Gauss attribute(s) used to store the Reynolds number.

NUM_GA_IDS 

The number of gauss attributes.

◆ PipePropertyIds

IDs for saturated material element properties.

Enumerator
Dc_ID 

Id for retrieving the pipe diameter.

Uf_ID 

Id for retrieving the dynamic fluid viscosity.

MFw_ID 

Id for retrieving the discontinuity Biot's Modulus.

GW_ID 

Id for retrieving the specific weight of the fluid.

W_ID 

Id for retrieving the wall roughness of the pipe.

rhof_ID 

Id for retrieving the water density.

Member Function Documentation

◆ ckeckFlowRegime()

virtual void GmpMaterialPipeFlow::ckeckFlowRegime ( const GmElement * e,
const GmVector * coord,
int ip,
GmGaussAccessor * DpAcc,
GmVector & Fi ) const
inlinevirtual

Check if the flow is laminar or turbulent, and it stores the internal flow rate in each pipe element


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