3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pGlobalSn, PVOffset > Struct Template Reference

The indices for the \(p_{global}-S_n\) formulation of the isothermal two-phase model. More...

#include <dumux/porousmediumflow/2p/sequential/indices.hh>

Inheritance diagram for Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pGlobalSn, PVOffset >:
Inheritance graph

Description

template<int PVOffset>
struct Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pGlobalSn, PVOffset >

The indices for the \(p_{global}-S_n\) formulation of the isothermal two-phase model.

Template Parameters
PVOffsetThe first index in a primary variable vector.

Static Public Attributes

static const int pressureIdx = PVOffset + 0
 index for the primary pressure variable in a solution vector
static const int saturationIdx = PVOffset + 1
 index for the primary saturation variable in a solution vector
static const int pGlobalIdx = PVOffset + 0
 index of the global pressure
static const int snIdx = PVOffset + 1
 index of the nonwetting phase saturation
static const int pressureEqIdx = PVOffset + 0
 index of the pressure equation (total mass balance)
static const int satEqIdx = PVOffset + 1
 index of the continuity equation of the non-wetting phase (saturation equation)
static const int transportEqIdx = satEqIdx
 index of the saturation transport equation
static const int pwIdx
 index of the wetting phase pressure
static const int contiWEqIdx
 index of the continuity equation of the wetting phase
static const int contiNEqIdx
 index of the continuity equation of the non-wetting phase
static const int pwsn
 pw and sn as primary variables
static const int pnsw
 pn and sw as primary variables
static const int pwsw
 pw and sw as primary variables
static const int pnsn
 pn and sn as primary variables
static const int pGlobalSw
 pGlobal and sw as primary variables
static const int pGlobalSn
 pGlobal and sn as primary variables
static const int wPhaseIdx
 index of the wetting phase in a phase vector
static const int nPhaseIdx
 index of the non-wetting phase in a phase vector
static const int totalPhaseIdx
 index of the total phase (wetting + nonwetting)
static const int saturationW
 Indicates wetting phase saturation.
static const int saturationN
 Indicates non-wetting phase saturation.
static const int saturationNw
 Indicates non-wetting phase saturation.
static const int pressureW
 Indicates wetting phase pressure.
static const int pressureN
 Indicates non-wetting phase pressure.
static const int pressureNw
 Indicates non-wetting phase pressure.
static const int pressureGlobal
 Indicates global-pressure.
static const int velocityW
 Indicates wetting phase velocity.
static const int velocityN
 Indicates non-wetting phase velocity.
static const int velocityNw
 Indicates non-wetting phase velocity.
static const int velocityTotal
 Indicates total velocity.

Member Data Documentation

◆ contiNEqIdx

const int Dumux::SequentialTwoPIndices< formulation, PVOffset >::contiNEqIdx
static

index of the continuity equation of the non-wetting phase

◆ contiWEqIdx

const int Dumux::SequentialTwoPIndices< formulation, PVOffset >::contiWEqIdx
static

index of the continuity equation of the wetting phase

◆ nPhaseIdx

index of the non-wetting phase in a phase vector

◆ pGlobalIdx

template<int PVOffset>
const int Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pGlobalSn, PVOffset >::pGlobalIdx = PVOffset + 0
static

index of the global pressure

◆ pGlobalSn

pGlobal and sn as primary variables

◆ pGlobalSw

pGlobal and sw as primary variables

◆ pnsn

pn and sn as primary variables

◆ pnsw

pn and sw as primary variables

◆ pressureEqIdx

template<int PVOffset>
const int Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pGlobalSn, PVOffset >::pressureEqIdx = PVOffset + 0
static

index of the pressure equation (total mass balance)

◆ pressureGlobal

Indicates global-pressure.

◆ pressureIdx

template<int PVOffset>
const int Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pGlobalSn, PVOffset >::pressureIdx = PVOffset + 0
static

index for the primary pressure variable in a solution vector

◆ pressureN

Indicates non-wetting phase pressure.

◆ pressureNw

Indicates non-wetting phase pressure.

◆ pressureW

Indicates wetting phase pressure.

◆ pwIdx

const int Dumux::SequentialTwoPIndices< formulation, PVOffset >::pwIdx
static

index of the wetting phase pressure

◆ pwsn

pw and sn as primary variables

◆ pwsw

pw and sw as primary variables

◆ satEqIdx

template<int PVOffset>
const int Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pGlobalSn, PVOffset >::satEqIdx = PVOffset + 1
static

index of the continuity equation of the non-wetting phase (saturation equation)

◆ saturationIdx

template<int PVOffset>
const int Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pGlobalSn, PVOffset >::saturationIdx = PVOffset + 1
static

index for the primary saturation variable in a solution vector

◆ saturationN

Indicates non-wetting phase saturation.

◆ saturationNw

Indicates non-wetting phase saturation.

◆ saturationW

Indicates wetting phase saturation.

◆ snIdx

template<int PVOffset>
const int Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pGlobalSn, PVOffset >::snIdx = PVOffset + 1
static

index of the nonwetting phase saturation

◆ totalPhaseIdx

index of the total phase (wetting + nonwetting)

◆ transportEqIdx

template<int PVOffset>
const int Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pGlobalSn, PVOffset >::transportEqIdx = satEqIdx
static

index of the saturation transport equation

◆ velocityN

Indicates non-wetting phase velocity.

◆ velocityNw

Indicates non-wetting phase velocity.

◆ velocityTotal

Indicates total velocity.

◆ velocityW

Indicates wetting phase velocity.

◆ wPhaseIdx

index of the wetting phase in a phase vector


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