28#ifndef EWOMS_BLACK_OIL_TWO_PHASE_INDICES_HH
29#define EWOMS_BLACK_OIL_TWO_PHASE_INDICES_HH
84 static constexpr int numFoam = enableFoam? 1 : 0;
87 static constexpr int numBrine = enableBrine? 1 : 0;
189 }
else if (!waterEnabled) {
202 static unsigned activeToCanonicalComponentIndex(
unsigned compIdx)
209 }
else if (!waterEnabled) {
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242
The primary variable and equation indices for the black-oil model.
Definition blackoiltwophaseindices.hh:50
static constexpr int conti0EqIdx
Index of the continuity equation of the first phase.
Definition blackoiltwophaseindices.hh:221
static constexpr int contiCalciteEqIdx
Index of the continuity equation for the fifth MICP component.
Definition blackoiltwophaseindices.hh:257
static constexpr int contiFoamEqIdx
Index of the continuity equation for the foam component.
Definition blackoiltwophaseindices.hh:261
static constexpr int ureaConcentrationIdx
Index of the primary variable for the third MICP component.
Definition blackoiltwophaseindices.hh:154
static constexpr int biofilmConcentrationIdx
Index of the primary variable for the fourth MICP component.
Definition blackoiltwophaseindices.hh:158
static constexpr int contiMicrobialEqIdx
Index of the continuity equation for the first MICP component.
Definition blackoiltwophaseindices.hh:241
static constexpr int contiOxygenEqIdx
Index of the continuity equation for the second MICP component.
Definition blackoiltwophaseindices.hh:245
static constexpr bool enablePolymer
Are polymers involved?
Definition blackoiltwophaseindices.hh:63
static constexpr int temperatureIdx
Index of the primary variable for temperature.
Definition blackoiltwophaseindices.hh:174
static constexpr int numEq
The number of equations.
Definition blackoiltwophaseindices.hh:96
static constexpr bool enableSolvent
Are solvents involved?
Definition blackoiltwophaseindices.hh:57
static constexpr bool oilEnabled
Is phase enabled or not.
Definition blackoiltwophaseindices.hh:52
static constexpr bool enableEnergy
Shall energy be conserved?
Definition blackoiltwophaseindices.hh:66
static constexpr int contiBiofilmEqIdx
Index of the continuity equation for the fourth MICP component.
Definition blackoiltwophaseindices.hh:253
static constexpr int numBrine
Number of salt equations to be considered.
Definition blackoiltwophaseindices.hh:87
static constexpr int contiBrineEqIdx
Index of the continuity equation for the salt component.
Definition blackoiltwophaseindices.hh:265
static constexpr int polymerConcentrationIdx
Index of the primary variable for the first polymer.
Definition blackoiltwophaseindices.hh:138
static constexpr int numSolvents
Number of solvent components to be considered.
Definition blackoiltwophaseindices.hh:72
static constexpr int numPolymers
Number of polymer components to be considered.
Definition blackoiltwophaseindices.hh:78
static constexpr int compositionSwitchIdx
Index of the switching variable which determines the composition of the hydrocarbon phases.
Definition blackoiltwophaseindices.hh:127
static constexpr int polymerMoleWeightIdx
Index of the primary variable for the second polymer primary variable (molecular weight)
Definition blackoiltwophaseindices.hh:142
static constexpr int calciteConcentrationIdx
Index of the primary variable for the fifth MICP component.
Definition blackoiltwophaseindices.hh:162
static constexpr int foamConcentrationIdx
Index of the primary variable for the foam.
Definition blackoiltwophaseindices.hh:166
static constexpr bool enableExtbo
Is extbo invoked?
Definition blackoiltwophaseindices.hh:60
static constexpr int numMICPs
Number of MICP components to be considered.
Definition blackoiltwophaseindices.hh:93
static constexpr int contiPolymerEqIdx
Index of the continuity equation for the first polymer component.
Definition blackoiltwophaseindices.hh:233
static constexpr int contiEnergyEqIdx
Index of the continuity equation for energy.
Definition blackoiltwophaseindices.hh:269
static constexpr int contiPolymerMWEqIdx
Index of the continuity equation for the second polymer component (molecular weight)
Definition blackoiltwophaseindices.hh:237
static constexpr bool enableMICP
Is MICP involved?
Definition blackoiltwophaseindices.hh:69
static constexpr int oxygenConcentrationIdx
Index of the primary variable for the second MICP component.
Definition blackoiltwophaseindices.hh:150
static constexpr int numFoam
Number of foam equations to be considered.
Definition blackoiltwophaseindices.hh:84
static constexpr int pressureSwitchIdx
Index of the switching variable which determines the pressure.
Definition blackoiltwophaseindices.hh:119
static constexpr int numEnergy
Number of energy equations to be considered.
Definition blackoiltwophaseindices.hh:81
static constexpr int contiUreaEqIdx
Index of the continuity equation for the third MICP component.
Definition blackoiltwophaseindices.hh:249
static constexpr int microbialConcentrationIdx
Index of the primary variable for the first MICP component.
Definition blackoiltwophaseindices.hh:146
static constexpr int numExtbos
Number of components to be considered for extbo.
Definition blackoiltwophaseindices.hh:75
static unsigned canonicalToActiveComponentIndex(unsigned compIdx)
returns the index of "active" component
Definition blackoiltwophaseindices.hh:182
static constexpr int solventSaturationIdx
Index of the primary variable for the first solvent.
Definition blackoiltwophaseindices.hh:130
static constexpr int contiZfracEqIdx
Index of the continuity equation for the first extbo component.
Definition blackoiltwophaseindices.hh:229
static constexpr int zFractionIdx
Index of the primary variable for the first extbo component.
Definition blackoiltwophaseindices.hh:134
static constexpr int saltConcentrationIdx
Index of the primary variable for the salt.
Definition blackoiltwophaseindices.hh:170
static constexpr int contiSolventEqIdx
Index of the continuity equation for the first solvent component.
Definition blackoiltwophaseindices.hh:225
static constexpr int numPhases
The number of fluid phases.
Definition blackoiltwophaseindices.hh:90
static constexpr int waterSwitchIdx
Index of the switching variable which determines the composistion of the water phase.
Definition blackoiltwophaseindices.hh:111