OGS
WettingPhaseVanGenuchten.h
Go to the documentation of this file.
1
13#pragma once
14
16
17namespace MaterialLib
18{
19namespace PorousMedium
20{
38{
39public:
46 WettingPhaseVanGenuchten(const double Sr, const double Smax, const double m,
47 const double krel_min)
48 : RelativePermeability(Sr, Smax), _m(m), _krel_min(krel_min)
49 {
50 }
51
53 std::string getName() const override
54 {
55 return "Wetting phase van Genuchten relative permeability model.";
56 }
57
59 double getValue(const double saturation) const override;
60
63 double getdValue(const double saturation) const override;
64
65private:
66 const double _m;
67 const double _krel_min;
68};
69
70} // namespace PorousMedium
71} // namespace MaterialLib
Base class of relative permeability models.
double getdValue(const double saturation) const override
const double _krel_min
Minimum relative permeability.
std::string getName() const override
Get model name.
WettingPhaseVanGenuchten(const double Sr, const double Smax, const double m, const double krel_min)
double getValue(const double saturation) const override
Get relative permeability value.
const double _m
Exponent m, m in [0, 1], n=1/(1-m).