3.4
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Static Public Attributes | List of all members
Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pnsw, PVOffset > Struct Template Reference

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

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

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

Description

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

The indices for the \(p_n-S_w\) 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 More...
 
static const int saturationIdx = PVOffset + 1
 index for the primary saturation variable in a solution vector More...
 
static const int pnIdx = PVOffset + 0
 index of the nonwetting phase pressure More...
 
static const int swIdx = PVOffset + 1
 index of the wetting phase saturation More...
 
static const int contiNEqIdx = PVOffset + 0
 index of the continuity equation of the nonwetting phase More...
 
static const int pressureEqIdx = contiNEqIdx
 index of the pressure equation (total mass balance) More...
 
static const int contiWEqIdx = PVOffset + 1
 index of the continuity equation of the wetting phase More...
 
static const int satEqIdx = contiWEqIdx
 index of the continuity equation of the nonwetting phase (saturation equation) More...
 
static const int transportEqIdx = satEqIdx
 index of the saturation transport equation More...
 
static const int pwsn = 0
 pw and sn as primary variables More...
 
static const int pnsw = 1
 pn and sw as primary variables More...
 
static const int pwsw = 2
 pw and sw as primary variables More...
 
static const int pnsn = 3
 pn and sn as primary variables More...
 
static const int pGlobalSw = 4
 pGlobal and sw as primary variables More...
 
static const int pGlobalSn = 5
 pGlobal and sn as primary variables More...
 
static const int wPhaseIdx = 0
 index of the wetting phase in a phase vector More...
 
static const int nPhaseIdx = 1
 index of the nonwetting phase in a phase vector More...
 
static const int totalPhaseIdx = 2
 index of the total phase (wetting + nonwetting) More...
 
static const int saturationW = 0
 Indicates wetting phase saturation. More...
 
static const int saturationN = 1
 Indicates nonwetting phase saturation. More...
 
static const int saturationNw = saturationN
 Indicates nonwetting phase saturation. More...
 
static const int pressureW = 0
 Indicates wetting phase pressure. More...
 
static const int pressureN = 1
 Indicates nonwetting phase pressure. More...
 
static const int pressureNw = pressureN
 Indicates nonwetting phase pressure. More...
 
static const int pressureGlobal = 2
 Indicates global-pressure. More...
 
static const int velocityW = 0
 Indicates wetting phase velocity. More...
 
static const int velocityN = 1
 Indicates nonwetting phase velocity. More...
 
static const int velocityNw = velocityN
 Indicates nonwetting phase velocity. More...
 
static const int velocityTotal = 2
 Indicates total velocity. More...
 

Member Data Documentation

◆ contiNEqIdx

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

index of the continuity equation of the nonwetting phase

◆ contiWEqIdx

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

index of the continuity equation of the wetting phase

◆ nPhaseIdx

const int Dumux::SequentialTwoPCommonIndices::nPhaseIdx = 1
staticinherited

index of the nonwetting phase in a phase vector

◆ pGlobalSn

const int Dumux::SequentialTwoPCommonIndices::pGlobalSn = 5
staticinherited

pGlobal and sn as primary variables

◆ pGlobalSw

const int Dumux::SequentialTwoPCommonIndices::pGlobalSw = 4
staticinherited

pGlobal and sw as primary variables

◆ pnIdx

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

index of the nonwetting phase pressure

◆ pnsn

const int Dumux::SequentialTwoPCommonIndices::pnsn = 3
staticinherited

pn and sn as primary variables

◆ pnsw

const int Dumux::SequentialTwoPCommonIndices::pnsw = 1
staticinherited

pn and sw as primary variables

◆ pressureEqIdx

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

index of the pressure equation (total mass balance)

◆ pressureGlobal

const int Dumux::SequentialTwoPCommonIndices::pressureGlobal = 2
staticinherited

Indicates global-pressure.

◆ pressureIdx

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

index for the primary pressure variable in a solution vector

◆ pressureN

const int Dumux::SequentialTwoPCommonIndices::pressureN = 1
staticinherited

Indicates nonwetting phase pressure.

◆ pressureNw

const int Dumux::SequentialTwoPCommonIndices::pressureNw = pressureN
staticinherited

Indicates nonwetting phase pressure.

◆ pressureW

const int Dumux::SequentialTwoPCommonIndices::pressureW = 0
staticinherited

Indicates wetting phase pressure.

◆ pwsn

const int Dumux::SequentialTwoPCommonIndices::pwsn = 0
staticinherited

pw and sn as primary variables

◆ pwsw

const int Dumux::SequentialTwoPCommonIndices::pwsw = 2
staticinherited

pw and sw as primary variables

◆ satEqIdx

template<int PVOffset>
const int Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pnsw, PVOffset >::satEqIdx = contiWEqIdx
static

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

◆ saturationIdx

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

index for the primary saturation variable in a solution vector

◆ saturationN

const int Dumux::SequentialTwoPCommonIndices::saturationN = 1
staticinherited

Indicates nonwetting phase saturation.

◆ saturationNw

const int Dumux::SequentialTwoPCommonIndices::saturationNw = saturationN
staticinherited

Indicates nonwetting phase saturation.

◆ saturationW

const int Dumux::SequentialTwoPCommonIndices::saturationW = 0
staticinherited

Indicates wetting phase saturation.

◆ swIdx

template<int PVOffset>
const int Dumux::SequentialTwoPIndices< SequentialTwoPCommonIndices::pnsw, PVOffset >::swIdx = PVOffset + 1
static

index of the wetting phase saturation

◆ totalPhaseIdx

const int Dumux::SequentialTwoPCommonIndices::totalPhaseIdx = 2
staticinherited

index of the total phase (wetting + nonwetting)

◆ transportEqIdx

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

index of the saturation transport equation

◆ velocityN

const int Dumux::SequentialTwoPCommonIndices::velocityN = 1
staticinherited

Indicates nonwetting phase velocity.

◆ velocityNw

const int Dumux::SequentialTwoPCommonIndices::velocityNw = velocityN
staticinherited

Indicates nonwetting phase velocity.

◆ velocityTotal

const int Dumux::SequentialTwoPCommonIndices::velocityTotal = 2
staticinherited

Indicates total velocity.

◆ velocityW

const int Dumux::SequentialTwoPCommonIndices::velocityW = 0
staticinherited

Indicates wetting phase velocity.

◆ wPhaseIdx

const int Dumux::SequentialTwoPCommonIndices::wPhaseIdx = 0
staticinherited

index of the wetting phase in a phase vector


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