28#ifndef EWOMS_BLACK_OIL_INDICES_HH
29#define EWOMS_BLACK_OIL_INDICES_HH
53 static constexpr bool waterEnabled =
true;
54 static constexpr bool gasEnabled =
true;
84 static constexpr int numFoam = enableFoam? 1 : 0;
87 static constexpr int numBrine = enableBrine? 1 : 0;
100 static constexpr unsigned activeToCanonicalComponentIndex(
unsigned compIdx)
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 blackoilindices.hh:47
static constexpr int biofilmConcentrationIdx
Index of the primary variable for the fourth MICP component.
Definition blackoilindices.hh:162
static constexpr int numEq
The number of equations.
Definition blackoilindices.hh:93
static constexpr int zFractionIdx
Index of the primary variable for the first extbo component.
Definition blackoilindices.hh:138
static constexpr int microbialConcentrationIdx
Index of the primary variable for the first MICP component.
Definition blackoilindices.hh:150
static constexpr int temperatureIdx
Index of the primary variable for temperature.
Definition blackoilindices.hh:178
static constexpr int contiUreaEqIdx
Index of the continuity equation for the third MICP component.
Definition blackoilindices.hh:215
static constexpr int numEnergy
Number of energy equations to be considered.
Definition blackoilindices.hh:81
static constexpr int contiMicrobialEqIdx
Index of the continuity equation for the first MICP component.
Definition blackoilindices.hh:207
static constexpr int ureaConcentrationIdx
Index of the primary variable for the third MICP component.
Definition blackoilindices.hh:158
static constexpr int polymerMoleWeightIdx
Index of the primary variable for the second polymer primary variable (molecular weight)
Definition blackoilindices.hh:146
static constexpr int contiBrineEqIdx
Index of the continuity equation for the salt water component.
Definition blackoilindices.hh:231
static constexpr int numSolvents
Number of solvent components to be considered.
Definition blackoilindices.hh:72
static constexpr int contiSolventEqIdx
Index of the continuity equation for the first solvent component.
Definition blackoilindices.hh:191
static constexpr int contiBiofilmEqIdx
Index of the continuity equation for the fourth MICP component.
Definition blackoilindices.hh:219
static constexpr int contiCalciteEqIdx
Index of the continuity equation for the fifth MICP component.
Definition blackoilindices.hh:223
static constexpr int saltConcentrationIdx
Index of the primary variable for the brine.
Definition blackoilindices.hh:174
static constexpr int numBrine
Number of salt equations to be considered.
Definition blackoilindices.hh:87
static constexpr int numFoam
Number of foam equations to be considered.
Definition blackoilindices.hh:84
static constexpr int pressureSwitchIdx
Index of the switching variable which determines the pressure.
Definition blackoilindices.hh:121
static constexpr int conti0EqIdx
Index of the continuity equation of the first phase.
Definition blackoilindices.hh:187
static constexpr bool oilEnabled
All phases are enabled.
Definition blackoilindices.hh:52
static constexpr int calciteConcentrationIdx
Index of the primary variable for the fifth MICP component.
Definition blackoilindices.hh:166
static constexpr int foamConcentrationIdx
Index of the primary variable for the foam.
Definition blackoilindices.hh:170
static constexpr int polymerConcentrationIdx
Index of the primary variable for the first polymer.
Definition blackoilindices.hh:142
static constexpr bool enableMICP
Is MICP involved?
Definition blackoilindices.hh:69
static constexpr int numMICPs
Number of MICP components to be considered.
Definition blackoilindices.hh:90
static constexpr bool enablePolymer
Are polymers involved?
Definition blackoilindices.hh:63
static constexpr int oxygenConcentrationIdx
Index of the primary variable for the second MICP component.
Definition blackoilindices.hh:154
static constexpr int contiPolymerEqIdx
Index of the continuity equation for the first polymer component.
Definition blackoilindices.hh:199
static constexpr int compositionSwitchIdx
Index of the switching variable which determines the composition of the hydrocarbon phases.
Definition blackoilindices.hh:131
static constexpr int contiFoamEqIdx
Index of the continuity equation for the foam component.
Definition blackoilindices.hh:227
static constexpr int solventSaturationIdx
Index of the primary variable for the first solvent.
Definition blackoilindices.hh:134
static constexpr bool enableExtbo
Is extbo invoked?
Definition blackoilindices.hh:60
static constexpr int contiEnergyEqIdx
Index of the continuity equation for energy.
Definition blackoilindices.hh:235
static constexpr int waterSwitchIdx
Index of the switching variable which determines the composistion of the water phase.
Definition blackoilindices.hh:113
static constexpr int numPolymers
Number of polymer components to be considered.
Definition blackoilindices.hh:78
static constexpr int contiZfracEqIdx
Index of the continuity equation for the first extbo component.
Definition blackoilindices.hh:195
static constexpr int numPhases
Number of phases active at all times.
Definition blackoilindices.hh:49
static constexpr bool enableEnergy
Shall energy be conserved?
Definition blackoilindices.hh:66
static constexpr int contiOxygenEqIdx
Index of the continuity equation for the second MICP component.
Definition blackoilindices.hh:211
static constexpr int contiPolymerMWEqIdx
Index of the continuity equation for the second polymer component (molecular weight)
Definition blackoilindices.hh:203
static constexpr unsigned canonicalToActiveComponentIndex(unsigned compIdx)
returns the index of "active" component
Definition blackoilindices.hh:97
static constexpr int numExtbos
Number of components to be considered for extbo.
Definition blackoilindices.hh:75
static constexpr bool enableSolvent
Are solvents involved?
Definition blackoilindices.hh:57