OGS
|
Base class of relative permeability models.
Definition at line 21 of file RelativePermeability.h.
#include <RelativePermeability.h>
Public Member Functions | |
RelativePermeability (const double Sr, const double Smax) | |
virtual | ~RelativePermeability ()=default |
virtual std::string | getName () const =0 |
Get model name. | |
virtual double | getValue (const double saturation) const =0 |
virtual double | getdValue (const double saturation) const =0 |
Protected Attributes | |
const double | _minor_offset = std::numeric_limits<double>::epsilon() |
const double | _saturation_r |
Residual saturation. | |
const double | _saturation_max |
Maximum saturation. | |
|
inline |
Sr | Residual saturation. |
Smax | Maximum saturation. |
Definition at line 26 of file RelativePermeability.h.
|
virtualdefault |
|
pure virtual |
Get the derivative of relative permeability with respect to saturation.
saturation | Wetting phase saturation |
Implemented in MaterialLib::PorousMedium::NonWettingPhaseBrooksCoreyOilGas, MaterialLib::PorousMedium::NonWettingPhaseVanGenuchten, MaterialLib::PorousMedium::RelativePermeabilityCurve, MaterialLib::PorousMedium::WettingPhaseBrooksCoreyOilGas, and MaterialLib::PorousMedium::WettingPhaseVanGenuchten.
|
pure virtual |
Get model name.
Implemented in MaterialLib::PorousMedium::NonWettingPhaseBrooksCoreyOilGas, MaterialLib::PorousMedium::NonWettingPhaseVanGenuchten, MaterialLib::PorousMedium::RelativePermeabilityCurve, MaterialLib::PorousMedium::WettingPhaseBrooksCoreyOilGas, and MaterialLib::PorousMedium::WettingPhaseVanGenuchten.
|
pure virtual |
Get relative permeability value.
saturation | Wetting phase saturation |
Implemented in MaterialLib::PorousMedium::NonWettingPhaseBrooksCoreyOilGas, MaterialLib::PorousMedium::NonWettingPhaseVanGenuchten, MaterialLib::PorousMedium::RelativePermeabilityCurve, MaterialLib::PorousMedium::WettingPhaseBrooksCoreyOilGas, and MaterialLib::PorousMedium::WettingPhaseVanGenuchten.
|
protected |
A small number for an offset to set the bound of S, the saturation, such that S in [Sr+_minor_offset, Smax-_minor_offset].
Definition at line 47 of file RelativePermeability.h.
Referenced by MaterialLib::PorousMedium::NonWettingPhaseBrooksCoreyOilGas::getdValue(), MaterialLib::PorousMedium::NonWettingPhaseVanGenuchten::getdValue(), MaterialLib::PorousMedium::RelativePermeabilityCurve::getdValue(), MaterialLib::PorousMedium::WettingPhaseBrooksCoreyOilGas::getdValue(), MaterialLib::PorousMedium::WettingPhaseVanGenuchten::getdValue(), MaterialLib::PorousMedium::NonWettingPhaseBrooksCoreyOilGas::getValue(), MaterialLib::PorousMedium::NonWettingPhaseVanGenuchten::getValue(), MaterialLib::PorousMedium::RelativePermeabilityCurve::getValue(), MaterialLib::PorousMedium::WettingPhaseBrooksCoreyOilGas::getValue(), and MaterialLib::PorousMedium::WettingPhaseVanGenuchten::getValue().
|
protected |
Maximum saturation.
Definition at line 50 of file RelativePermeability.h.
Referenced by MaterialLib::PorousMedium::NonWettingPhaseBrooksCoreyOilGas::getdValue(), MaterialLib::PorousMedium::NonWettingPhaseVanGenuchten::getdValue(), MaterialLib::PorousMedium::RelativePermeabilityCurve::getdValue(), MaterialLib::PorousMedium::WettingPhaseBrooksCoreyOilGas::getdValue(), MaterialLib::PorousMedium::WettingPhaseVanGenuchten::getdValue(), MaterialLib::PorousMedium::NonWettingPhaseBrooksCoreyOilGas::getValue(), MaterialLib::PorousMedium::NonWettingPhaseVanGenuchten::getValue(), MaterialLib::PorousMedium::RelativePermeabilityCurve::getValue(), MaterialLib::PorousMedium::WettingPhaseBrooksCoreyOilGas::getValue(), and MaterialLib::PorousMedium::WettingPhaseVanGenuchten::getValue().
|
protected |
Residual saturation.
Definition at line 49 of file RelativePermeability.h.
Referenced by MaterialLib::PorousMedium::NonWettingPhaseBrooksCoreyOilGas::getdValue(), MaterialLib::PorousMedium::NonWettingPhaseVanGenuchten::getdValue(), MaterialLib::PorousMedium::RelativePermeabilityCurve::getdValue(), MaterialLib::PorousMedium::WettingPhaseBrooksCoreyOilGas::getdValue(), MaterialLib::PorousMedium::WettingPhaseVanGenuchten::getdValue(), MaterialLib::PorousMedium::NonWettingPhaseBrooksCoreyOilGas::getValue(), MaterialLib::PorousMedium::NonWettingPhaseVanGenuchten::getValue(), MaterialLib::PorousMedium::RelativePermeabilityCurve::getValue(), MaterialLib::PorousMedium::WettingPhaseBrooksCoreyOilGas::getValue(), and MaterialLib::PorousMedium::WettingPhaseVanGenuchten::getValue().