OGS
WettingPhaseBrooksCoreyOilGas.h
Go to the documentation of this file.
1
13#pragma once
14
16
17namespace MaterialLib
18{
19namespace PorousMedium
20{
35{
36public:
43 WettingPhaseBrooksCoreyOilGas(const double Sr, const double Smax,
44 const double m, const double krel_min)
45 : RelativePermeability(Sr, Smax), _m(m), _krel_min(krel_min)
46 {
47 }
48
50 std::string getName() const override
51 {
52 return "Wetting phase Brooks-Corey relative permeability model.";
53 }
54
56 double getValue(const double saturation) const override;
57
60 double getdValue(const double saturation) const override;
61
62private:
63 const double _m;
64 const double _krel_min;
65};
66
67} // namespace PorousMedium
68} // namespace MaterialLib
Base class of relative permeability models.
WettingPhaseBrooksCoreyOilGas(const double Sr, const double Smax, const double m, const double krel_min)
double getValue(const double saturation) const override
Get relative permeability value.