My Project
|
Implements a linear saturation-capillary pressure relation. More...
#include <LinearMaterial.hpp>
Public Types | |
typedef TraitsT | Traits |
typedef ParamsT | Params |
typedef Traits::Scalar | Scalar |
Static Public Member Functions | |
template<class ContainerT , class FluidState > | |
static void | capillaryPressures (ContainerT &values, const Params ¶ms, const FluidState &state) |
The linear capillary pressure-saturation curve. More... | |
template<class ContainerT , class FluidState > | |
static void | saturations (ContainerT &, const Params &, const FluidState &) |
The inverse of the capillary pressure. | |
template<class ContainerT , class FluidState > | |
static void | relativePermeabilities (ContainerT &values, const Params &, const FluidState &state) |
The relative permeability of all phases. | |
template<class FluidState , class Evaluation = typename FluidState::Scalar> | |
static Evaluation | pcnw (const Params ¶ms, const FluidState &fs) |
The difference between the pressures of the non-wetting and wetting phase. | |
template<class Evaluation = Scalar> | |
static std::enable_if< Traits::numPhases==2, Evaluation >::type | twoPhaseSatPcnw (const Params ¶ms, const Evaluation &Sw) |
template<class FluidState , class Evaluation = typename FluidState::Scalar> | |
static Evaluation | Sw (const Params &, const FluidState &) |
Calculate wetting phase saturation given that the rest of the fluid state has been initialized. | |
template<class Evaluation = Scalar> | |
static std::enable_if< Traits::numPhases==2, Evaluation >::type | 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 = Scalar> | |
static std::enable_if< Traits::numPhases==2, Evaluation >::type | twoPhaseSatSn (const Params &, const Evaluation &) |
template<class FluidState , class Evaluation = typename FluidState::Scalar> | |
static std::enable_if< Traits::numPhases==3, Evaluation >::type | Sg (const Params &, const FluidState &) |
Calculate gas phase saturation given that the rest of the fluid state has been initialized. More... | |
template<class FluidState , class Evaluation = typename FluidState::Scalar> | |
static Evaluation | krw (const Params &, const FluidState &fs) |
The relative permability of the wetting phase. | |
template<class Evaluation = Scalar> | |
static std::enable_if< Traits::numPhases==2, Evaluation >::type | twoPhaseSatKrw (const Params &, const Evaluation &Sw) |
template<class FluidState , class Evaluation = typename FluidState::Scalar> | |
static Evaluation | krn (const Params &, const FluidState &fs) |
The relative permability of the liquid non-wetting phase. | |
template<class Evaluation = Scalar> | |
static std::enable_if< Traits::numPhases==2, Evaluation >::type | twoPhaseSatKrn (const Params &, const Evaluation &Sw) |
template<class FluidState , class Evaluation = typename FluidState::Scalar> | |
static std::enable_if< Traits::numPhases==3, Evaluation >::type | krg (const Params &, const FluidState &fs) |
The relative permability of the gas phase. More... | |
template<class FluidState , class Evaluation = Scalar> | |
static std::enable_if< Traits::numPhases==3, Evaluation >::type | pcgn (const Params ¶ms, const FluidState &fs) |
The difference between the pressures of the gas and the non-wetting phase. More... | |
Static Public Attributes | |
static const int | numPhases = Traits::numPhases |
The number of fluid phases. | |
static const bool | implementsTwoPhaseApi = (numPhases == 2) |
Specify whether this material law implements the two-phase convenience API. | |
static const bool | implementsTwoPhaseSatApi = (numPhases == 2) |
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. | |
Implements a linear saturation-capillary pressure relation.
Implements a linear saturation-capillary pressure relation for M-phase fluid systems.
|
inlinestatic |
The linear capillary pressure-saturation curve.
This material law is linear:
values | Container for the return values |
params | Parameters |
state | The fluid state |
|
inlinestatic |
The relative permability of the gas phase.
This method is only available for at least three fluid phases
|
inlinestatic |
The difference between the pressures of the gas and the non-wetting phase.
This method is only available for at least three fluid phases
|
inlinestatic |
Calculate gas phase saturation given that the rest of the fluid state has been initialized.
This method is only available for at least three fluid phases