template<int numPhasesV, class ScalarT, class ParamsT = MpLinearMaterialParams<numPhasesV, ScalarT>>
class Dumux::MpLinearMaterial< numPhasesV, ScalarT, ParamsT >
Implements a linear saturation-capillary pressure relation.
Implements a linear saturation-capillary pressure relation for M-phase fluid systems.
- See also
- MpLinearMaterialParams
|
template<class ContainerT , class FluidState > |
static void | capillaryPressures (ContainerT &values, const Params ¶ms, const FluidState &state, int wPhaseIdx=0) |
| The linear capillary pressure-saturation curve. More...
|
|
template<class ContainerT , class FluidState > |
static void | relativePermeabilities (ContainerT &values, const Params ¶ms, const FluidState &state, int wPhaseIdx=0) |
| The relative permeability of all phases. More...
|
|
template<int numPhasesV, class ScalarT , class ParamsT = MpLinearMaterialParams<numPhasesV, ScalarT>>
template<class ContainerT , class FluidState >
static void Dumux::MpLinearMaterial< numPhasesV, ScalarT, ParamsT >::capillaryPressures |
( |
ContainerT & |
values, |
|
|
const Params & |
params, |
|
|
const FluidState & |
state, |
|
|
int |
wPhaseIdx = 0 |
|
) |
| |
|
inlinestatic |
The linear capillary pressure-saturation curve.
This material law is linear:
\[ p_C = (1 - \overline{S}_w) (p_{C,max} - p_{C,entry}) + p_{C,entry} \]
- Parameters
-
values | Container for the return values |
params | Array of Parameters |
state | The fluid state |
wPhaseIdx | The phase index of the wetting phase |
template<int numPhasesV, class ScalarT , class ParamsT = MpLinearMaterialParams<numPhasesV, ScalarT>>
template<class ContainerT , class FluidState >
static void Dumux::MpLinearMaterial< numPhasesV, ScalarT, ParamsT >::relativePermeabilities |
( |
ContainerT & |
values, |
|
|
const Params & |
params, |
|
|
const FluidState & |
state, |
|
|
int |
wPhaseIdx = 0 |
|
) |
| |
|
inlinestatic |
The relative permeability of all phases.
- Parameters
-
values | Container for the return values |
params | Array of Parameters |
state | The fluid state |
wPhaseIdx | The phase index of the wetting phase |