3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Attributes | List of all members
Dumux::SequentialTwoPTwoCIndices< TypeTag > Struct Template Reference

The common indices for the 2p2c model. More...

#include <dumux/porousmediumflow/2p2c/sequential/properties.hh>

Inheritance diagram for Dumux::SequentialTwoPTwoCIndices< TypeTag >:
Inheritance graph

Description

template<class TypeTag>
struct Dumux::SequentialTwoPTwoCIndices< TypeTag >

The common indices for the 2p2c model.

The indices are all of the 2p model plus boundary condition flags distinguishing between given composition or saturation on the boundary. As we have 3 equations, one pressure and two component transport equations, special equation indices have to be provided for boundary conditions.

Public Types

enum  BoundaryFormulation { saturation =-1 , concentration =-2 }
 Type of value on the Boundary. More...
 

Static Public Attributes

static const int wPhaseIdx = FluidSystem::phase0Idx
 
static const int nPhaseIdx = FluidSystem::phase1Idx
 
static const int wCompIdx = wPhaseIdx
 Component index equals phase index. More...
 
static const int nCompIdx = nPhaseIdx
 Component index equals phase index. More...
 
static const int pressureW = wPhaseIdx
 
static const int pressureN = nPhaseIdx
 
static const int pressureEqIdx = 0
 
static const int transportEqOffset = pressureEqIdx + 1
 Offset to access transport (mass conservation -) equations. More...
 
static const int contiWEqIdx = transportEqOffset + wCompIdx
 Index of the wetting component transport equation. More...
 
static const int contiNEqIdx = transportEqOffset + nCompIdx
 Index of the nonwetting component transport equation. More...
 
static const int satDependent = 0
 
static const int permDependent = 1
 
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 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 non-wetting phase saturation. More...
 
static const int saturationNw = saturationN
 Indicates non-wetting phase saturation. More...
 
static const int pressureNw = pressureN
 Indicates non-wetting 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 non-wetting phase velocity. More...
 
static const int velocityNw = velocityN
 Indicates non-wetting phase velocity. More...
 
static const int velocityTotal = 2
 Indicates total velocity. More...
 

Member Enumeration Documentation

◆ BoundaryFormulation

Type of value on the Boundary.

Enumerator
saturation 
concentration 

Member Data Documentation

◆ contiNEqIdx

template<class TypeTag >
const int Dumux::SequentialTwoPTwoCIndices< TypeTag >::contiNEqIdx = transportEqOffset + nCompIdx
static

Index of the nonwetting component transport equation.

◆ contiWEqIdx

template<class TypeTag >
const int Dumux::SequentialTwoPTwoCIndices< TypeTag >::contiWEqIdx = transportEqOffset + wCompIdx
static

Index of the wetting component transport equation.

◆ nCompIdx

template<class TypeTag >
const int Dumux::SequentialTwoPTwoCIndices< TypeTag >::nCompIdx = nPhaseIdx
static

Component index equals phase index.

◆ nPhaseIdx

template<class TypeTag >
const int Dumux::SequentialTwoPTwoCIndices< TypeTag >::nPhaseIdx = FluidSystem::phase1Idx
static

◆ permDependent

template<class TypeTag >
const int Dumux::SequentialTwoPTwoCIndices< TypeTag >::permDependent = 1
static

◆ 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

◆ 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<class TypeTag >
const int Dumux::SequentialTwoPTwoCIndices< TypeTag >::pressureEqIdx = 0
static

◆ pressureGlobal

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

Indicates global-pressure.

◆ pressureN

template<class TypeTag >
const int Dumux::SequentialTwoPTwoCIndices< TypeTag >::pressureN = nPhaseIdx
static

◆ pressureNw

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

Indicates non-wetting phase pressure.

◆ pressureW

template<class TypeTag >
const int Dumux::SequentialTwoPTwoCIndices< TypeTag >::pressureW = wPhaseIdx
static

◆ 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

◆ satDependent

template<class TypeTag >
const int Dumux::SequentialTwoPTwoCIndices< TypeTag >::satDependent = 0
static

◆ saturationN

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

Indicates non-wetting phase saturation.

◆ saturationNw

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

Indicates non-wetting phase saturation.

◆ saturationW

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

Indicates wetting phase saturation.

◆ totalPhaseIdx

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

index of the total phase (wetting + nonwetting)

◆ transportEqOffset

template<class TypeTag >
const int Dumux::SequentialTwoPTwoCIndices< TypeTag >::transportEqOffset = pressureEqIdx + 1
static

Offset to access transport (mass conservation -) equations.

◆ velocityN

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

Indicates non-wetting phase velocity.

◆ velocityNw

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

Indicates non-wetting 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.

◆ wCompIdx

template<class TypeTag >
const int Dumux::SequentialTwoPTwoCIndices< TypeTag >::wCompIdx = wPhaseIdx
static

Component index equals phase index.

◆ wPhaseIdx

template<class TypeTag >
const int Dumux::SequentialTwoPTwoCIndices< TypeTag >::wPhaseIdx = FluidSystem::phase0Idx
static

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