Public Types |
enum | { wettingPhaseIdx = Traits::wettingPhaseIdx
} |
enum | { nonWettingPhaseIdx = Traits::nonWettingPhaseIdx
} |
typedef EffectiveLawT | EffectiveLaw |
typedef EffectiveLaw::Params | EffectiveLawParams |
typedef EffectiveLaw::Traits | Traits |
typedef ParamsT | Params |
typedef EffectiveLaw::Scalar | Scalar |
Public Member Functions |
| static_assert (numPhases==2,"The endpoint scaling applies to the nested twophase laws, not to ""the threephase one!") |
| static_assert (EffectiveLaw::implementsTwoPhaseApi,"The material laws put into EclEpsTwoPhaseLaw must implement the ""two-phase material law API!") |
| static_assert (EffectiveLaw::implementsTwoPhaseSatApi,"The material laws put into EclEpsTwoPhaseLaw must implement the ""two-phase material law saturation API!") |
Static Public Member Functions |
template<class Container , class FluidState > |
static void | capillaryPressures (Container &, const Params &, const FluidState &) |
| The capillary pressure-saturation curves depending on absolute saturations.
|
template<class Container , class FluidState > |
static void | relativePermeabilities (Container &, const Params &, const FluidState &) |
| The relative permeability-saturation curves depending on absolute saturations.
|
template<class FluidState , class Evaluation = typename FluidState::Scalar> |
static Evaluation | pcnw (const Params &, const FluidState &) |
| The capillary pressure-saturation curve.
|
template<class Evaluation > |
static Evaluation | twoPhaseSatPcnw (const Params ¶ms, const Evaluation &Sw) |
template<class Container , class FluidState > |
static void | saturations (Container &, const Params &, const FluidState &) |
| The saturation-capillary pressure curves.
|
template<class FluidState , class Evaluation = typename FluidState::Scalar> |
static Evaluation | Sw (const Params &, const FluidState &) |
| Calculate wetting liquid phase saturation given that the rest of the fluid state has been initialized.
|
template<class Evaluation > |
static Evaluation | twoPhaseSatSw (const Params &, const Evaluation &) |
template<class FluidState , class Evaluation = typename FluidState::Scalar> |
static Evaluation | Sn (const Params &, const FluidState &) |
| Calculate non-wetting liquid phase saturation given that the rest of the fluid state has been initialized.
|
template<class Evaluation > |
static Evaluation | twoPhaseSatSn (const Params &, const Evaluation &) |
template<class FluidState , class Evaluation = typename FluidState::Scalar> |
static Evaluation | krw (const Params &, const FluidState &) |
| The relative permeability for the wetting phase.
|
template<class Evaluation > |
static Evaluation | twoPhaseSatKrw (const Params ¶ms, const Evaluation &Sw) |
template<class FluidState , class Evaluation = typename FluidState::Scalar> |
static Evaluation | krn (const Params &, const FluidState &) |
| The relative permeability of the non-wetting phase.
|
template<class Evaluation > |
static Evaluation | twoPhaseSatKrn (const Params ¶ms, const Evaluation &Sw) |
Static Public Attributes |
static const int | numPhases = EffectiveLaw::numPhases |
| The number of fluid phases.
|
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.
|
This material law implements the hysteresis model of the ECL file format.