28#ifndef OPM_BLACK_OIL_VARIABLE_AND_EQUATION_INDICES_HH
29#define OPM_BLACK_OIL_VARIABLE_AND_EQUATION_INDICES_HH
53 static constexpr bool waterEnabled =
true;
54 static constexpr bool gasEnabled =
true;
70 static constexpr bool enableBiofilm =
false;
71 static constexpr int numBioInWat = 0;
86 static constexpr int numFoam = enableFoam? 1 : 0;
89 static constexpr int numBrine = enableBrine? 1 : 0;
143 static constexpr int oxygenConcentrationIdx = -1000;
144 static constexpr int ureaConcentrationIdx = -1000;
145 static constexpr int biofilmVolumeFractionIdx = -1000;
146 static constexpr int calciteVolumeFractionIdx = -1000;
187 static constexpr int contiOxygenEqIdx = -1000;
188 static constexpr int contiUreaEqIdx = -1000;
189 static constexpr int contiBiofilmEqIdx = -1000;
190 static constexpr int contiCalciteEqIdx = -1000;
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilbioeffectsmodules.hh:43
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:240
The primary variable and equation indices for the three-phase black-oil model.
Definition blackoilvariableandequationindices.hh:47
static constexpr int numBrine
Number of salt equations to be considered.
Definition blackoilvariableandequationindices.hh:89
static constexpr bool enableExtbo
Is extbo invoked?
Definition blackoilvariableandequationindices.hh:60
static constexpr int compositionSwitchIdx
Index of the switching variable which determines the composition of the hydrocarbon phases.
Definition blackoilvariableandequationindices.hh:123
static constexpr int numPhases
Number of phases active at all times.
Definition blackoilvariableandequationindices.hh:49
static constexpr int contiMicrobialEqIdx
No bioeffects for three phase indices.
Definition blackoilvariableandequationindices.hh:186
static constexpr int contiZfracEqIdx
Index of the continuity equation for the first extbo component.
Definition blackoilvariableandequationindices.hh:174
static constexpr int numFoam
Number of foam equations to be considered.
Definition blackoilvariableandequationindices.hh:86
static constexpr int numExtbos
Number of components to be considered for extbo.
Definition blackoilvariableandequationindices.hh:77
static constexpr int numEq
The number of equations.
Definition blackoilvariableandequationindices.hh:92
static constexpr int contiPolymerMWEqIdx
Index of the continuity equation for the second polymer component (molecular weight)
Definition blackoilvariableandequationindices.hh:182
static constexpr int saltConcentrationIdx
Index of the primary variable for the brine.
Definition blackoilvariableandequationindices.hh:153
static constexpr int waterSwitchIdx
Index of the switching variable which determines the composistion of the water phase.
Definition blackoilvariableandequationindices.hh:105
static constexpr int polymerConcentrationIdx
Index of the primary variable for the first polymer.
Definition blackoilvariableandequationindices.hh:134
static constexpr int temperatureIdx
Index of the primary variable for temperature.
Definition blackoilvariableandequationindices.hh:157
static constexpr int zFractionIdx
Index of the primary variable for the first extbo component.
Definition blackoilvariableandequationindices.hh:130
static constexpr int numSolvents
Number of solvent components to be considered.
Definition blackoilvariableandequationindices.hh:74
static constexpr int foamConcentrationIdx
Index of the primary variable for the foam.
Definition blackoilvariableandequationindices.hh:149
static constexpr int numPolymers
Number of polymer components to be considered.
Definition blackoilvariableandequationindices.hh:80
static constexpr int contiEnergyEqIdx
Index of the continuity equation for energy.
Definition blackoilvariableandequationindices.hh:201
static constexpr int numEnergy
Number of energy equations to be considered.
Definition blackoilvariableandequationindices.hh:83
static constexpr bool enableMICP
No bioeffects for three phase indices.
Definition blackoilvariableandequationindices.hh:69
static constexpr int contiFoamEqIdx
Index of the continuity equation for the foam component.
Definition blackoilvariableandequationindices.hh:193
static constexpr int conti0EqIdx
Index of the continuity equation of the first phase.
Definition blackoilvariableandequationindices.hh:166
static constexpr int microbialConcentrationIdx
No bioeffects for three phase indices.
Definition blackoilvariableandequationindices.hh:142
static constexpr int solventSaturationIdx
Index of the primary variable for the first solvent.
Definition blackoilvariableandequationindices.hh:126
static constexpr bool oilEnabled
All phases are enabled.
Definition blackoilvariableandequationindices.hh:52
static constexpr int contiPolymerEqIdx
Index of the continuity equation for the first polymer component.
Definition blackoilvariableandequationindices.hh:178
static constexpr int polymerMoleWeightIdx
Index of the primary variable for the second polymer primary variable (molecular weight)
Definition blackoilvariableandequationindices.hh:138
static constexpr int contiSolventEqIdx
Index of the continuity equation for the first solvent component.
Definition blackoilvariableandequationindices.hh:170
static constexpr bool enableEnergy
Shall energy be conserved?
Definition blackoilvariableandequationindices.hh:66
static constexpr bool enableSolvent
Are solvents involved?
Definition blackoilvariableandequationindices.hh:57
static constexpr int pressureSwitchIdx
Index of the switching variable which determines the pressure.
Definition blackoilvariableandequationindices.hh:113
static constexpr int contiBrineEqIdx
Index of the continuity equation for the salt water component.
Definition blackoilvariableandequationindices.hh:197
static constexpr bool enablePolymer
Are polymers involved?
Definition blackoilvariableandequationindices.hh:63