3.3.0
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Member Functions | List of all members
Dumux::MpLinearMaterial< numPhasesV, ScalarT, ParamsT > Class Template Reference

Implements a linear saturation-capillary pressure relation. More...

#include <dumux/material/fluidmatrixinteractions/mp/mplinearmaterial.hh>

Description

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

Public Types

enum  { numPhases = numPhasesV }
 
using Params = ParamsT
 
using Scalar = typename Params::Scalar
 

Static Public Member Functions

template<class ContainerT , class FluidState >
static void capillaryPressures (ContainerT &values, const Params &params, 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 &params, const FluidState &state, int wPhaseIdx=0)
 The relative permeability of all phases. More...
 

Member Typedef Documentation

◆ Params

template<int numPhasesV, class ScalarT , class ParamsT = MpLinearMaterialParams<numPhasesV, ScalarT>>
using Dumux::MpLinearMaterial< numPhasesV, ScalarT, ParamsT >::Params = ParamsT

◆ Scalar

template<int numPhasesV, class ScalarT , class ParamsT = MpLinearMaterialParams<numPhasesV, ScalarT>>
using Dumux::MpLinearMaterial< numPhasesV, ScalarT, ParamsT >::Scalar = typename Params::Scalar

Member Enumeration Documentation

◆ anonymous enum

template<int numPhasesV, class ScalarT , class ParamsT = MpLinearMaterialParams<numPhasesV, ScalarT>>
anonymous enum
Enumerator
numPhases 

Member Function Documentation

◆ capillaryPressures()

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
valuesContainer for the return values
paramsArray of Parameters
stateThe fluid state
wPhaseIdxThe phase index of the wetting phase

◆ relativePermeabilities()

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
valuesContainer for the return values
paramsArray of Parameters
stateThe fluid state
wPhaseIdxThe phase index of the wetting phase

The documentation for this class was generated from the following file: