OGS
NonWettingPhaseVanGenuchten.h
Go to the documentation of this file.
1
12#pragma once
13
15
16namespace MaterialLib
17{
18namespace PorousMedium
19{
37{
38public:
48 NonWettingPhaseVanGenuchten(const double Snr, const double Snmax,
49 const double m, const double krel_min)
50 : RelativePermeability(1. - Snmax, 1. - Snr),
51 _m(m),
52 _krel_min(krel_min)
53 {
54 }
55
57 std::string getName() const override
58 {
59 return "Non-wetting phase van Genuchten relative permeability model.";
60 }
61
64 double getValue(const double saturation_w) const override;
65
68 double getdValue(const double saturation_w) const override;
69
70private:
71 const double _m;
72 const double _krel_min;
73};
74
75} // namespace PorousMedium
76} // namespace MaterialLib
NonWettingPhaseVanGenuchten(const double Snr, const double Snmax, const double m, const double krel_min)
double getdValue(const double saturation_w) const override
double getValue(const double saturation_w) const override
const double _m
Exponent m, m in [0, 1], n=1/(1-m).
Base class of relative permeability models.