No Matches
Public Member Functions | Static Public Member Functions | List of all members
MixTransport::MaterialDarcy Struct Reference

#include <users_modules/tutorials/cor-0to1/src/MaterialUnsaturatedFlow.hpp>

Inheritance diagram for MixTransport::MaterialDarcy:
Collaboration diagram for MixTransport::MaterialDarcy:

Public Member Functions

 MaterialDarcy (const CommonMaterialData &data)
MoFEMErrorCode calK ()
MoFEMErrorCode calDiffK ()
MoFEMErrorCode calC ()
MoFEMErrorCode calDiffC ()
MoFEMErrorCode calTheta ()
virtual MoFEMErrorCode calSe ()
- Public Member Functions inherited from MixTransport::CommonMaterialData
 CommonMaterialData ()
double initialPcEval () const
 Initialize head. More...
void addOptions (po::options_description &o, const std::string &prefix)
void printMatParameters (const int id, const std::string &prefix) const
- Public Member Functions inherited from MixTransport::GenericMaterial
virtual ~GenericMaterial ()
virtual double initialPcEval () const =0
 Initialize head. More...
virtual void printMatParameters (const int id, const std::string &prefix) const =0
virtual MoFEMErrorCode calK ()
virtual MoFEMErrorCode calDiffK ()
virtual MoFEMErrorCode calC ()
virtual MoFEMErrorCode calDiffC ()
virtual MoFEMErrorCode calTheta ()
virtual MoFEMErrorCode calSe ()

Static Public Member Functions

static boost::shared_ptr< CommonMaterialDatacreateMatPtr (const CommonMaterialData &data)

Additional Inherited Members

- Public Types inherited from MixTransport::CommonMaterialData
typedef boost::function< boost::shared_ptr< CommonMaterialData >(const CommonMaterialData &data)> RegisterHook
- Public Attributes inherited from MixTransport::CommonMaterialData
int blockId
 Block Id. More...
std::string matName
 material name More...
double Ks
 Saturated hydraulic conductivity [m/day]. More...
double hS
 minimum capillary height [m] More...
double thetaS
 saturated water content More...
double thetaR
 residual water contents More...
double thetaM
 model parameter More...
double alpha
 model parameter More...
double n
 model parameter More...
double Ah
 Initial hydraulic head coefficient. More...
double AhZ
 Initial hydraulic head coefficient. More...
double AhZZ
 Initial hydraulic head coefficient. More...
- Public Attributes inherited from MixTransport::GenericMaterial
double sCale
 Scale time dependent eq. More...
double h
 hydraulic head More...
double h_t
 rate of hydraulic head More...
double K
 Hydraulic conductivity [L/s]. More...
double diffK
 Derivative of hydraulic conductivity [L/s * L^2/F]. More...
double C
 Capacity [S^2/L^2]. More...
double diffC
 Derivative of capacity [S^2/L^2 * L^2/F ]. More...
double tHeta
 Water content. More...
double Se
 Effective saturation. More...
Range tEts
 Elements with this material. More...
double x
double y
double z
 in meters (L) More...
- Static Public Attributes inherited from MixTransport::GenericMaterial
static double ePsilon0 = 0
 Regularization parameter. More...
static double ePsilon1 = 0
 Regularization parameter. More...
static double scaleZ = 1
 Scale z direction. More...

Detailed Description

Definition at line 102 of file MaterialUnsaturatedFlow.hpp.

Constructor & Destructor Documentation

◆ MaterialDarcy()

MixTransport::MaterialDarcy::MaterialDarcy ( const CommonMaterialData data)

Member Function Documentation

◆ calC()

MoFEMErrorCode MixTransport::MaterialDarcy::calC ( )

Reimplemented from MixTransport::GenericMaterial.

Definition at line 123 of file MaterialUnsaturatedFlow.hpp.

123 {
125 C = ePsilon1;
127 }
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:447
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:440
double C
Capacity [S^2/L^2].
static double ePsilon1
Regularization parameter.

◆ calDiffC()

MoFEMErrorCode MixTransport::MaterialDarcy::calDiffC ( )

Reimplemented from MixTransport::GenericMaterial.

Definition at line 129 of file MaterialUnsaturatedFlow.hpp.

129 {
131 diffC = 0;
133 }
double diffC
Derivative of capacity [S^2/L^2 * L^2/F ].

◆ calDiffK()

MoFEMErrorCode MixTransport::MaterialDarcy::calDiffK ( )

Reimplemented from MixTransport::GenericMaterial.

Definition at line 117 of file MaterialUnsaturatedFlow.hpp.

117 {
119 diffK = 0;
121 };
double diffK
Derivative of hydraulic conductivity [L/s * L^2/F].

◆ calK()

MoFEMErrorCode MixTransport::MaterialDarcy::calK ( )

Reimplemented from MixTransport::GenericMaterial.

Definition at line 111 of file MaterialUnsaturatedFlow.hpp.

111 {
113 K = Ks;
115 };
double Ks
Saturated hydraulic conductivity [m/day].
double K
Hydraulic conductivity [L/s].

◆ calSe()

virtual MoFEMErrorCode MixTransport::MaterialDarcy::calSe ( )

Reimplemented from MixTransport::GenericMaterial.

Definition at line 141 of file MaterialUnsaturatedFlow.hpp.

141 {
143 Se = 1;
145 }
double Se
Effective saturation.

◆ calTheta()

MoFEMErrorCode MixTransport::MaterialDarcy::calTheta ( )

Reimplemented from MixTransport::GenericMaterial.

Definition at line 135 of file MaterialUnsaturatedFlow.hpp.

135 {
137 tHeta = thetaS;
139 }
double thetaS
saturated water content

◆ createMatPtr()

static boost::shared_ptr< CommonMaterialData > MixTransport::MaterialDarcy::createMatPtr ( const CommonMaterialData data)

Definition at line 105 of file MaterialUnsaturatedFlow.hpp.

105 {
106 return boost::shared_ptr<CommonMaterialData>(new MaterialDarcy(data));
107 }
MaterialDarcy(const CommonMaterialData &data)

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