Implementation of the Brooks-Corey capillary pressure <-> saturation relation. More...
#include <BrooksCorey.hpp>
Public Types | |
typedef TraitsT | Traits |
typedef ParamsT | Params |
typedef Traits::Scalar | Scalar |
Public Member Functions | |
static_assert (numPhases==2,"The Brooks-Corey capillary pressure law only applies ""to the case of two fluid phases") | |
static_assert (Traits::numPhases==2,"The number of fluid phases must be two if you want to use ""this material law!") | |
Static Public Member Functions | |
template<class Container , class FluidState > | |
static void | capillaryPressures (Container &values, const Params ¶ms, const FluidState &fs) |
The capillary pressure-saturation curves. | |
template<class Container , class FluidState > | |
static void | saturations (Container &values, const Params ¶ms, const FluidState &fs) |
Calculate the saturations of the phases starting from their pressure differences. | |
template<class Container , class FluidState > | |
static void | relativePermeabilities (Container &values, const Params ¶ms, const FluidState &fs) |
The relative permeability-saturation curves. | |
template<class FluidState , class Evaluation = typename FluidState::Scalar> | |
static Evaluation | pcnw (const Params ¶ms, const FluidState &fs) |
The capillary pressure-saturation curve according to Brooks and Corey. | |
template<class Evaluation > | |
static Evaluation | twoPhaseSatPcnw (const Params ¶ms, const Evaluation &Sw) |
template<class Evaluation > | |
static Evaluation | twoPhaseSatPcnwInv (const Params ¶ms, const Evaluation &pcnw) |
template<class FluidState , class Evaluation = typename FluidState::Scalar> | |
static Evaluation | Sw (const Params ¶ms, const FluidState &fs) |
The saturation-capillary pressure curve according to Brooks & Corey. | |
template<class Evaluation > | |
static Evaluation | twoPhaseSatSw (const Params ¶ms, const Evaluation &pc) |
template<class FluidState , class Evaluation = typename FluidState::Scalar> | |
static Evaluation | Sn (const Params ¶ms, const FluidState &fs) |
Calculate the non-wetting phase saturations depending on the phase pressures. | |
template<class Evaluation > | |
static Evaluation | twoPhaseSatSn (const Params ¶ms, const Evaluation &pc) |
template<class FluidState , class Evaluation = typename FluidState::Scalar> | |
static Evaluation | krw (const Params ¶ms, const FluidState &fs) |
The relative permeability for the wetting phase of the medium implied by the Brooks-Corey parameterization. | |
template<class Evaluation > | |
static Evaluation | twoPhaseSatKrw (const Params ¶ms, const Evaluation &Sw) |
template<class Evaluation > | |
static Evaluation | twoPhaseSatKrwInv (const Params ¶ms, const Evaluation &krw) |
template<class FluidState , class Evaluation = typename FluidState::Scalar> | |
static Evaluation | krn (const Params ¶ms, const FluidState &fs) |
The relative permeability for the non-wetting phase of the medium as implied by the Brooks-Corey parameterization. | |
template<class Evaluation > | |
static Evaluation | twoPhaseSatKrn (const Params ¶ms, const Evaluation &Sw) |
template<class Evaluation > | |
static Evaluation | twoPhaseSatKrnInv (const Params ¶ms, const Evaluation &krn) |
Static Public Attributes | |
static const int | numPhases = Traits::numPhases |
The number of fluid phases to which this material law applies. | |
static const bool | implementsTwoPhaseApi = true |
Specify whether this material law implements the two-phase convenience API. | |
static const bool | implementsTwoPhaseSatApi = true |
Specify whether this material law implements the two-phase convenience API which only depends on the phase saturations. | |
static const bool | isSaturationDependent = true |
Specify whether the quantities defined by this material law are saturation dependent. | |
static const bool | isPressureDependent = false |
Specify whether the quantities defined by this material law are dependent on the absolute pressure. | |
static const bool | isTemperatureDependent = false |
Specify whether the quantities defined by this material law are temperature dependent. | |
static const bool | isCompositionDependent = false |
Specify whether the quantities defined by this material law are dependent on the phase composition. |
Implementation of the Brooks-Corey capillary pressure <-> saturation relation.
This class provides the "raw" curves as static members and doesn't concern itself converting absolute to effective saturations and vice versa.
static Evaluation Opm::BrooksCorey< TraitsT, ParamsT >::krn | ( | const Params & | params, | |
const FluidState & | fs | |||
) | [inline, static] |
The relative permeability for the non-wetting phase of the medium as implied by the Brooks-Corey parameterization.
params | The parameters of the capillary pressure curve (for Brooks-Corey: Entry pressure and shape factor) |
static Evaluation Opm::BrooksCorey< TraitsT, ParamsT >::krw | ( | const Params & | params, | |
const FluidState & | fs | |||
) | [inline, static] |
The relative permeability for the wetting phase of the medium implied by the Brooks-Corey parameterization.
params | The parameters of the capillary pressure curve (for Brooks-Corey: Entry pressure and shape factor) |
static Evaluation Opm::BrooksCorey< TraitsT, ParamsT >::pcnw | ( | const Params & | params, | |
const FluidState & | fs | |||
) | [inline, static] |
The capillary pressure-saturation curve according to Brooks and Corey.
The empirical Brooks-Corey capillary pressure-saturation function is defined as
params | The parameters of the capillary pressure curve (for Brooks-Corey: Entry pressure and shape factor) |
static void Opm::BrooksCorey< TraitsT, ParamsT >::relativePermeabilities | ( | Container & | values, | |
const Params & | params, | |||
const FluidState & | fs | |||
) | [inline, static] |
The relative permeability-saturation curves.
values | A random access container which stores the relative permeability of each fluid phase. | |
params | The parameter object expressing the coefficients required by the material law. | |
fs | The fluid state for which the relative permeabilities ought to be calculated |
static Evaluation Opm::BrooksCorey< TraitsT, ParamsT >::Sw | ( | const Params & | params, | |
const FluidState & | fs | |||
) | [inline, static] |
The saturation-capillary pressure curve according to Brooks & Corey.
This is the inverse of the capillary pressure-saturation curve:
params | The parameters of the capillary pressure curve (for Brooks-Corey: Entry pressure and shape factor) |