v0.8.23
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MixTransport::GenericMaterial Struct Referenceabstract

Generic material model for unsaturated water transport. More...

#include <users_modules/basic_finite_elements/mix_transport/src/UnsaturatedFlow.hpp>

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

Public Member Functions

virtual ~GenericMaterial ()
 
virtual double initalPcEval () 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 ()
 

Public Attributes

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

static double ePsilon0 = 0
 Regularization parameter. More...
 
static double ePsilon1 = 0
 Regularization parameter. More...
 

Detailed Description

Generic material model for unsaturated water transport.

Note
This is abstact class, no physical material model is implemented here.

Definition at line 35 of file UnsaturatedFlow.hpp.

Constructor & Destructor Documentation

◆ ~GenericMaterial()

virtual MixTransport::GenericMaterial::~GenericMaterial ( )
virtual
Examples
UnsaturatedFlow.hpp.

Definition at line 37 of file UnsaturatedFlow.hpp.

37 {}

Member Function Documentation

◆ calC()

virtual MoFEMErrorCode MixTransport::GenericMaterial::calC ( )
virtual

Reimplemented in MixTransport::MaterialWithAutomaticDifferentiation, and MixTransport::MaterialDarcy.

Examples
UnsaturatedFlow.hpp.

Definition at line 81 of file UnsaturatedFlow.hpp.

81  {
83  SETERRQ(PETSC_COMM_SELF, MOFEM_NOT_IMPLEMENTED,
84  "Not implemented how to calculate capacity");
86  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:476
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:406

◆ calDiffC()

virtual MoFEMErrorCode MixTransport::GenericMaterial::calDiffC ( )
virtual

Reimplemented in MixTransport::MaterialWithAutomaticDifferentiation, and MixTransport::MaterialDarcy.

Examples
UnsaturatedFlow.hpp.

Definition at line 88 of file UnsaturatedFlow.hpp.

88  {
90  SETERRQ(PETSC_COMM_SELF, MOFEM_NOT_IMPLEMENTED,
91  "Not implemented how to calculate capacity");
93  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:476
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:406

◆ calDiffK()

virtual MoFEMErrorCode MixTransport::GenericMaterial::calDiffK ( )
virtual

Reimplemented in MixTransport::MaterialWithAutomaticDifferentiation, and MixTransport::MaterialDarcy.

Examples
UnsaturatedFlow.hpp.

Definition at line 73 of file UnsaturatedFlow.hpp.

73  {
75  SETERRQ(PETSC_COMM_SELF, MOFEM_NOT_IMPLEMENTED,
76  "Not implemented how to calculate derivative of hydraulic "
77  "conductivity");
79  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:476
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:406

◆ calK()

virtual MoFEMErrorCode MixTransport::GenericMaterial::calK ( )
virtual

Reimplemented in MixTransport::MaterialWithAutomaticDifferentiation, and MixTransport::MaterialDarcy.

Examples
UnsaturatedFlow.hpp.

Definition at line 66 of file UnsaturatedFlow.hpp.

66  {
68  SETERRQ(PETSC_COMM_SELF, MOFEM_NOT_IMPLEMENTED,
69  "Not implemented how to calculate hydraulic conductivity");
71  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:476
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:406

◆ calSe()

virtual MoFEMErrorCode MixTransport::GenericMaterial::calSe ( )
virtual

Reimplemented in MixTransport::MaterialWithAutomaticDifferentiation, and MixTransport::MaterialDarcy.

Examples
UnsaturatedFlow.hpp.

Definition at line 102 of file UnsaturatedFlow.hpp.

102  {
104  SETERRQ(PETSC_COMM_SELF, MOFEM_NOT_IMPLEMENTED,
105  "Not implemented how to calculate capacity");
107  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:476
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:406

◆ calTheta()

virtual MoFEMErrorCode MixTransport::GenericMaterial::calTheta ( )
virtual

Reimplemented in MixTransport::MaterialWithAutomaticDifferentiation, and MixTransport::MaterialDarcy.

Examples
UnsaturatedFlow.hpp.

Definition at line 95 of file UnsaturatedFlow.hpp.

95  {
97  SETERRQ(PETSC_COMM_SELF, MOFEM_NOT_IMPLEMENTED,
98  "Not implemented how to calculate capacity");
100  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:476
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:406

◆ initalPcEval()

virtual double MixTransport::GenericMaterial::initalPcEval ( ) const
pure virtual

Initialize head.

Returns
value of head

Implemented in MixTransport::CommonMaterialData.

Examples
UnsaturatedFlow.hpp.

◆ printMatParameters()

virtual void MixTransport::GenericMaterial::printMatParameters ( const int  id,
const std::string &  prefix 
) const
pure virtual

Member Data Documentation

◆ C

double MixTransport::GenericMaterial::C

Capacity [S^2/L^2].

Examples
UnsaturatedFlow.hpp.

Definition at line 49 of file UnsaturatedFlow.hpp.

◆ diffC

double MixTransport::GenericMaterial::diffC

Derivative of capacity [S^2/L^2 * L^2/F ].

Examples
UnsaturatedFlow.hpp.

Definition at line 50 of file UnsaturatedFlow.hpp.

◆ diffK

double MixTransport::GenericMaterial::diffK

Derivative of hydraulic conductivity [L/s * L^2/F].

Examples
UnsaturatedFlow.hpp.

Definition at line 48 of file UnsaturatedFlow.hpp.

◆ ePsilon0

double GenericMaterial::ePsilon0 = 0
static

Regularization parameter.

Examples
UnsaturatedFlow.hpp.

Definition at line 39 of file UnsaturatedFlow.hpp.

◆ ePsilon1

double GenericMaterial::ePsilon1 = 0
static

Regularization parameter.

Examples
UnsaturatedFlow.hpp.

Definition at line 40 of file UnsaturatedFlow.hpp.

◆ h

double MixTransport::GenericMaterial::h

hydraulic head

Examples
UnsaturatedFlow.hpp.

Definition at line 44 of file UnsaturatedFlow.hpp.

◆ h_t

double MixTransport::GenericMaterial::h_t

rate of hydraulic head

Examples
UnsaturatedFlow.hpp.

Definition at line 45 of file UnsaturatedFlow.hpp.

◆ K

double MixTransport::GenericMaterial::K

Hydraulic conductivity [L/s].

Examples
UnsaturatedFlow.hpp.

Definition at line 47 of file UnsaturatedFlow.hpp.

◆ sCale

double MixTransport::GenericMaterial::sCale

Scale time dependent eq.

Examples
UnsaturatedFlow.hpp.

Definition at line 41 of file UnsaturatedFlow.hpp.

◆ Se

double MixTransport::GenericMaterial::Se

Effective saturation.

Examples
UnsaturatedFlow.hpp.

Definition at line 52 of file UnsaturatedFlow.hpp.

◆ tEts

Range MixTransport::GenericMaterial::tEts

Elements with this material.

Examples
UnsaturatedFlow.hpp.

Definition at line 54 of file UnsaturatedFlow.hpp.

◆ tHeta

double MixTransport::GenericMaterial::tHeta

Water content.

Examples
UnsaturatedFlow.hpp.

Definition at line 51 of file UnsaturatedFlow.hpp.

◆ x

double MixTransport::GenericMaterial::x
Examples
UnsaturatedFlow.hpp.

Definition at line 56 of file UnsaturatedFlow.hpp.

◆ y

double MixTransport::GenericMaterial::y
Examples
UnsaturatedFlow.hpp.

Definition at line 56 of file UnsaturatedFlow.hpp.

◆ z

double MixTransport::GenericMaterial::z

in meters (L)

Examples
UnsaturatedFlow.hpp.

Definition at line 56 of file UnsaturatedFlow.hpp.


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