The indices for the \(p_w-S_n\) formulation of the isothermal two-phase model.
More...
template<int formulation = SequentialTwoPCommonIndices::pwsn, int PVOffset = 0>
struct Dumux::SequentialTwoPIndices< formulation, PVOffset >
The indices for the \(p_w-S_n\) formulation of the isothermal two-phase model.
- Template Parameters
-
| formulation | Index of the formulation |
| PVOffset | The first index in a primary variable vector. |
|
| 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 | pwIdx = PVOffset + 0 |
| | index of the wetting phase pressure
|
| static const int | snIdx = PVOffset + 1 |
| | index of the nonwetting phase saturation
|
| static const int | contiWEqIdx = PVOffset + 0 |
| | index of the continuity equation of the wetting phase
|
| static const int | pressureEqIdx = contiWEqIdx |
| | index of the pressure equation (total mass balance)
|
| static const int | contiNEqIdx = PVOffset + 1 |
| | index of the continuity equation of the non-wetting phase
|
| static const int | satEqIdx = contiNEqIdx |
| | 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 | pwsn = 0 |
| | pw and sn as primary variables
|
| static const int | pnsw = 1 |
| | pn and sw as primary variables
|
| static const int | pwsw = 2 |
| | pw and sw as primary variables
|
| static const int | pnsn = 3 |
| | pn and sn as primary variables
|
| static const int | pGlobalSw = 4 |
| | pGlobal and sw as primary variables
|
| static const int | pGlobalSn = 5 |
| | pGlobal and sn as primary variables
|
| static const int | wPhaseIdx = 0 |
| | index of the wetting phase in a phase vector
|
| static const int | nPhaseIdx = 1 |
| | index of the non-wetting phase in a phase vector
|
| static const int | totalPhaseIdx = 2 |
| | index of the total phase (wetting + nonwetting)
|
| static const int | saturationW = 0 |
| | Indicates wetting phase saturation.
|
| static const int | saturationN = 1 |
| | Indicates non-wetting phase saturation.
|
| static const int | saturationNw = saturationN |
| | Indicates non-wetting phase saturation.
|
| static const int | pressureW = 0 |
| | Indicates wetting phase pressure.
|
| static const int | pressureN = 1 |
| | Indicates non-wetting phase pressure.
|
| static const int | pressureNw = pressureN |
| | Indicates non-wetting phase pressure.
|
| static const int | pressureGlobal = 2 |
| | Indicates global-pressure.
|
| static const int | velocityW = 0 |
| | Indicates wetting phase velocity.
|
| static const int | velocityN = 1 |
| | Indicates non-wetting phase velocity.
|
| static const int | velocityNw = velocityN |
| | Indicates non-wetting phase velocity.
|
| static const int | velocityTotal = 2 |
| | Indicates total velocity.
|