Plugins
|
Implements a van Genuchten-Mualem model. More...
#include <van_genuchten.h>
Public Types | |
typedef IRichardsModel< VanGenuchtenModel > | base_type |
typedef VanGenuchtenParameters | parameter_type |
typedef IParameterizedModel< VanGenuchtenParameters > | parameterized_model_type |
Public Member Functions | |
VanGenuchtenModel (const parameter_type &p) | |
Public Member Functions inherited from ug::Richards::IRichardsModel< VanGenuchtenModel > | |
double | Conductivity (double H) |
Conductivity K = Ks*kr. More... | |
double | dConductivity_dH (double H) |
double | dSaturation_dH (double H) const |
void | get_conductivities (const double *H, double *K, double *dKdH, size_t n) const |
void | get_conductivity (double H, double &K, double &dKdH) const |
Calls Conductivity_. More... | |
void | get_relative_permeabilities (const double *H, double *K, double *dKdH, size_t n) const |
void | get_relative_permeability (double H, double &Kr, double &dKrdH) const |
Calls RelativePermeability_. More... | |
void | get_saturation (double H, double &S, double &dSdH) const |
Calls Saturation_. More... | |
void | get_saturations (const double *H, double *S, double *dSdH, size_t n) const |
double | Saturation (double H) const |
Public Member Functions inherited from ug::Richards::IParameterizedModel< VanGenuchtenParameters > | |
std::string | config_string () const |
const VanGenuchtenParameters & | get_parameters () const |
IParameterizedModel () | |
IParameterizedModel (const VanGenuchtenParameters &p) | |
void | set_parameters (const VanGenuchtenParameters &p) |
Public Attributes | |
friend | base_type |
friend | parameterized_model_type |
Public Attributes inherited from ug::Richards::IParameterizedModel< VanGenuchtenParameters > | |
VanGenuchtenParameters | m_param |
Protected Member Functions | |
dual | Conductivity_ (dual psi_) const |
dual | EffSaturation_ (dual psi_) const |
Effective saturation: $0 \le \hat S \le 1$. More... | |
dual | RelativePermeability_ (dual psi_) const |
Relative permeability: $0 \le k_r \le 1$. More... | |
dual | Saturation_ (dual psi_) const |
Rescaled Saturation: $$ S:=\theta_r+ (\theta_s - \theta_r) * \hat S$$. More... | |
Protected Member Functions inherited from ug::Richards::IRichardsModel< VanGenuchtenModel > | |
void | get_value_and_deriv (TFunc F, double H, double &f, double &df) const |
VanGenuchtenModel * | me () |
const VanGenuchtenModel * | me () const |
Implements a van Genuchten-Mualem model.
typedef IParameterizedModel<VanGenuchtenParameters> ug::Richards::VanGenuchtenModel::parameterized_model_type |
|
inline |
Effective saturation: $0 \le \hat S \le 1$.
References ug::Richards::VanGenuchtenFunctions::ComputeEffectiveSaturation(), ug::Richards::IParameterizedModel< VanGenuchtenParameters >::m_param, and p.
Referenced by RelativePermeability_(), and Saturation_().
Relative permeability: $0 \le k_r \le 1$.
References EffSaturation_(), ug::Richards::IParameterizedModel< VanGenuchtenParameters >::m_param, p, and ug::Richards::UGCheckValues().
Referenced by Conductivity_().
Rescaled Saturation: $$ S:=\theta_r+ (\theta_s - \theta_r) * \hat S$$.
References EffSaturation_(), ug::Richards::IParameterizedModel< VanGenuchtenParameters >::m_param, p, and ug::Richards::UGCheckValues().