24#ifndef _GEMA_PLUGIN_HYDRAULIC_MATERIAL_INTERFACE_MULTIPHASE_FLOW_H_
25#define _GEMA_PLUGIN_HYDRAULIC_MATERIAL_INTERFACE_MULTIPHASE_FLOW_H_
27#include <gmpFemPhysicsCommonMaterial.h>
83 return propertyAc(GAP_ID)->scalarValueAt(e, coord, ip);
91 return gaussAttrAc(AnOLD_GA_ID)->scalarValueAt(e, ip, coord);
99 if (propertyAc(KTTOP_ID) == NULL)
103 return propertyAc(KTTOP_ID)->scalarValueAt(e, coord, ip);
111 if (propertyAc(KTBOT_ID) == NULL)
115 return propertyAc(KTBOT_ID)->scalarValueAt(e, coord, ip);
123 if (propertyAc(IOPEN_ID) == NULL)
127 return propertyAc(IOPEN_ID)->scalarValueAt(e, coord, ip);
131 virtual double cubicLaw(
const GmElement* e,
const GmVector* coord,
int ip)
const;
137 virtual bool initialCondition(
const GmElement* e,
const GmVector* coord,
int ip)
const;
Definition gmpHydraulicMaterialTwoPhase.h:30
virtual const QVariantMap * materialMetaDataMap()
Returns a pointer to the material attribute map, built when the function is called for the first time...
Definition gmpHydraulicMaterialTwoPhase.cpp:22
@ NUM_PROPERTY_IDS
The number of property ids above.
Definition gmpHydraulicMaterialTwoPhase.h:70
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)
Definition gmpHydraulicMaterialTwoPhase.cpp:164
Definition gmpMaterialInterfaceMultiPhaseFlow.h:35
GmpMaterialInterfaceMultiPhaseFlow(int typeIndex, QString typeName, const GmLogCategory &logger)
Constructor. Gets as parameters the material index and its name.
Definition gmpMaterialInterfaceMultiPhaseFlow.h:62
virtual double transversalPermeabilityBottomFace(const GmElement *e, const GmVector *coord, int ip) const
Returns the transversal permeability at the top face of the discontinuity.
Definition gmpMaterialInterfaceMultiPhaseFlow.h:107
virtual double oldFractureAperture(const GmElement *e, const GmVector *coord, int ip) const
Returns the initial fracture opening.
Definition gmpMaterialInterfaceMultiPhaseFlow.h:87
InterfaceGaussAttributeIds
Definition gmpMaterialInterfaceMultiPhaseFlow.h:53
@ An_GA_ID
Base Id for Gauss attribute(s) used to store the normal aperture.
Definition gmpMaterialInterfaceMultiPhaseFlow.h:54
@ NUM_GA_IDS
The number of property ids above.
Definition gmpMaterialInterfaceMultiPhaseFlow.h:58
TwoPhaseInterfacePropertyIds
IDs for saturated material element properties.
Definition gmpMaterialInterfaceMultiPhaseFlow.h:40
@ NUM_PROPERTY_IDS
The number of property ids above.
Definition gmpMaterialInterfaceMultiPhaseFlow.h:47
@ KTBOT_ID
Id for retrieving the transversal permeability at the top face.
Definition gmpMaterialInterfaceMultiPhaseFlow.h:43
@ KTTOP_ID
Id for retrieving the transversal permeability at the top face.
Definition gmpMaterialInterfaceMultiPhaseFlow.h:42
@ IOPEN_ID
Id for retrieving the initially open element accessor.
Definition gmpMaterialInterfaceMultiPhaseFlow.h:44
virtual double transversalPermeabilityTopFace(const GmElement *e, const GmVector *coord, int ip) const
Returns the transversal permeability at the top face of the discontinuity.
Definition gmpMaterialInterfaceMultiPhaseFlow.h:95
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.
Definition gmpMaterialInterfaceMultiPhaseFlow.h:66
virtual double fractureOpening(const GmElement *e, const GmVector *coord, int ip) const
Returns the initial fracture opening.
Definition gmpMaterialInterfaceMultiPhaseFlow.h:79
virtual double initiallyOpenElem(const GmElement *e, const GmVector *coord, int ip) const
Returns the initially open element
Definition gmpMaterialInterfaceMultiPhaseFlow.h:119
Declaration of useful configuration definitions for the plugin library.
Declaration of the GmpHydraulicInterfaceTwoPhaseFlow classes.
Declaration of the GmpHydraulicMaterialTwoPhase class.
Declaration of the GmpMaterialInterfaceFlow class.