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

#include <tutorials/cor-0to1/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)
inline

Definition at line 109 of file MaterialUnsaturatedFlow.hpp.

109 : CommonMaterialData(data) {}

Member Function Documentation

◆ calC()

MoFEMErrorCode MixTransport::MaterialDarcy::calC ( )
inlinevirtual

Reimplemented from MixTransport::GenericMaterial.

Definition at line 123 of file MaterialUnsaturatedFlow.hpp.

123  {
125  C = ePsilon1;
127  }

◆ calDiffC()

MoFEMErrorCode MixTransport::MaterialDarcy::calDiffC ( )
inlinevirtual

Reimplemented from MixTransport::GenericMaterial.

Definition at line 129 of file MaterialUnsaturatedFlow.hpp.

129  {
131  diffC = 0;
133  }

◆ calDiffK()

MoFEMErrorCode MixTransport::MaterialDarcy::calDiffK ( )
inlinevirtual

Reimplemented from MixTransport::GenericMaterial.

Definition at line 117 of file MaterialUnsaturatedFlow.hpp.

117  {
119  diffK = 0;
121  };

◆ calK()

MoFEMErrorCode MixTransport::MaterialDarcy::calK ( )
inlinevirtual

Reimplemented from MixTransport::GenericMaterial.

Definition at line 111 of file MaterialUnsaturatedFlow.hpp.

111  {
113  K = Ks;
115  };

◆ calSe()

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

Reimplemented from MixTransport::GenericMaterial.

Definition at line 141 of file MaterialUnsaturatedFlow.hpp.

141  {
143  Se = 1;
145  }

◆ calTheta()

MoFEMErrorCode MixTransport::MaterialDarcy::calTheta ( )
inlinevirtual

Reimplemented from MixTransport::GenericMaterial.

Definition at line 135 of file MaterialUnsaturatedFlow.hpp.

135  {
137  tHeta = thetaS;
139  }

◆ createMatPtr()

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

Definition at line 105 of file MaterialUnsaturatedFlow.hpp.

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

The documentation for this struct was generated from the following file:
MixTransport::GenericMaterial::diffK
double diffK
Derivative of hydraulic conductivity [L/s * L^2/F].
Definition: UnsaturatedFlow.hpp:36
MoFEMFunctionReturnHot
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:460
MixTransport::CommonMaterialData::CommonMaterialData
CommonMaterialData()
Definition: MaterialUnsaturatedFlow.hpp:15
MixTransport::GenericMaterial::diffC
double diffC
Derivative of capacity [S^2/L^2 * L^2/F ].
Definition: UnsaturatedFlow.hpp:38
MixTransport::GenericMaterial::C
double C
Capacity [S^2/L^2].
Definition: UnsaturatedFlow.hpp:37
MixTransport::GenericMaterial::K
double K
Hydraulic conductivity [L/s].
Definition: UnsaturatedFlow.hpp:35
MixTransport::GenericMaterial::ePsilon1
static double ePsilon1
Regularization parameter.
Definition: UnsaturatedFlow.hpp:27
MixTransport::CommonMaterialData::Ks
double Ks
Saturated hydraulic conductivity [m/day].
Definition: MaterialUnsaturatedFlow.hpp:34
MixTransport::GenericMaterial::tHeta
double tHeta
Water content.
Definition: UnsaturatedFlow.hpp:39
MixTransport::MaterialDarcy::MaterialDarcy
MaterialDarcy(const CommonMaterialData &data)
Definition: MaterialUnsaturatedFlow.hpp:109
MixTransport::CommonMaterialData::thetaS
double thetaS
saturated water content
Definition: MaterialUnsaturatedFlow.hpp:36
MoFEMFunctionBeginHot
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:453
MixTransport::GenericMaterial::Se
double Se
Effective saturation.
Definition: UnsaturatedFlow.hpp:40