v0.10.0
Public Member Functions | Static Public Member Functions | List of all members
MixTransport::MaterialDarcy Struct Reference

#include <users_modules/tutorials/low/mix_transport/src/MaterialUnsaturatedFlow.hpp>

Inheritance diagram for MixTransport::MaterialDarcy:
[legend]
Collaboration diagram for MixTransport::MaterialDarcy:
[legend]

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 ()
 

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 ( )
virtual

Reimplemented from MixTransport::GenericMaterial.

Definition at line 123 of file MaterialUnsaturatedFlow.hpp.

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

◆ calDiffC()

MoFEMErrorCode MixTransport::MaterialDarcy::calDiffC ( )
virtual

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 ].
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:509
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:516

◆ calDiffK()

MoFEMErrorCode MixTransport::MaterialDarcy::calDiffK ( )
virtual

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].
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:509
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:516

◆ calK()

MoFEMErrorCode MixTransport::MaterialDarcy::calK ( )
virtual

Reimplemented from MixTransport::GenericMaterial.

Definition at line 111 of file MaterialUnsaturatedFlow.hpp.

111  {
113  K = Ks;
115  };
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:509
double Ks
Saturated hydraulic conductivity [m/day].
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:516
double K
Hydraulic conductivity [L/s].

◆ calSe()

virtual MoFEMErrorCode MixTransport::MaterialDarcy::calSe ( )
virtual

Reimplemented from MixTransport::GenericMaterial.

Definition at line 141 of file MaterialUnsaturatedFlow.hpp.

141  {
143  Se = 1;
145  }
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:509
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:516
double Se
Effective saturation.

◆ calTheta()

MoFEMErrorCode MixTransport::MaterialDarcy::calTheta ( )
virtual

Reimplemented from MixTransport::GenericMaterial.

Definition at line 135 of file MaterialUnsaturatedFlow.hpp.

135  {
137  tHeta = thetaS;
139  }
double thetaS
saturated water content
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:509
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:516

◆ createMatPtr()

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

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: