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

The indices for the \(p_n-S_n\) formulation of the isothermal two-phase model. More...

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

Inheritance diagram for Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pnsn, PVOffset >:

Description

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

The indices for the \(p_n-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 vairable in a solution vector
static const int saturationIdx = PVOffset + 1
 index for the primary saturation variable in a solution vector
static const int pnIdx = PVOffset + 0
 index of the nonwetting phase pressure
static const int snIdx = PVOffset + 1
 index of the nonwetting phase saturation
static const int contiNEqIdx = PVOffset + 0
 index of the continuity equation of the nonwetting phase
static const int pressureEqIdx = contiNEqIdx
 index of the pressure equation (total mass balance)
static const int contiWEqIdx = PVOffset + 1
 index of the continuity equation of the wetting phase
static const int satEqIdx = contiWEqIdx
 index of the continuity equation of the nonwetting 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 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 nonwetting 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 nonwetting phase saturation.
static const int saturationNw
 Indicates nonwetting phase saturation.
static const int pressureW
 Indicates wetting phase pressure.
static const int pressureN
 Indicates nonwetting phase pressure.
static const int pressureNw
 Indicates nonwetting phase pressure.
static const int pressureGlobal
 Indicates global-pressure.
static const int velocityW
 Indicates wetting phase velocity.
static const int velocityN
 Indicates nonwetting phase velocity.
static const int velocityNw
 Indicates nonwetting phase velocity.
static const int velocityTotal
 Indicates total velocity.

Member Data Documentation

◆ contiNEqIdx

template<int PVOffset>
const int Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pnsn, PVOffset >::contiNEqIdx = PVOffset + 0
static

index of the continuity equation of the nonwetting phase

◆ contiWEqIdx

template<int PVOffset>
const int Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pnsn, PVOffset >::contiWEqIdx = PVOffset + 1
static

index of the continuity equation of the wetting phase

◆ nPhaseIdx

index of the nonwetting phase in a phase vector

◆ pGlobalSn

pGlobal and sn as primary variables

◆ pGlobalSw

pGlobal and sw as primary variables

◆ pnIdx

template<int PVOffset>
const int Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pnsn, PVOffset >::pnIdx = PVOffset + 0
static

index of the nonwetting phase pressure

◆ pnsn

pn and sn as primary variables

◆ pnsw

pn and sw as primary variables

◆ pressureEqIdx

template<int PVOffset>
const int Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pnsn, PVOffset >::pressureEqIdx = contiNEqIdx
static

index of the pressure equation (total mass balance)

◆ pressureGlobal

Indicates global-pressure.

◆ pressureIdx

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

index for the primary pressure vairable in a solution vector

◆ pressureN

Indicates nonwetting phase pressure.

◆ pressureNw

Indicates nonwetting 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::pnsn, PVOffset >::satEqIdx = contiWEqIdx
static

index of the continuity equation of the nonwetting phase (saturation equation)

◆ saturationIdx

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

index for the primary saturation variable in a solution vector

◆ saturationN

Indicates nonwetting phase saturation.

◆ saturationNw

Indicates nonwetting phase saturation.

◆ saturationW

Indicates wetting phase saturation.

◆ snIdx

template<int PVOffset>
const int Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pnsn, 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::pnsn, PVOffset >::transportEqIdx = satEqIdx
static

index of the saturation transport equation

◆ velocityN

Indicates nonwetting phase velocity.

◆ velocityNw

Indicates nonwetting 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: