|
static constexpr bool | oilEnabled = canonicalCompIdx == 0 |
| Is phase enabled or not.
|
|
static constexpr bool | waterEnabled = canonicalCompIdx == 1 |
|
static constexpr bool | gasEnabled = canonicalCompIdx == 2 |
|
static constexpr bool | enableSolvent = numSolventsV > 0 |
| Are solvents involved?
|
|
static constexpr bool | enableExtbo = numExtbosV > 0 |
| Is extbo invoked?
|
|
static constexpr bool | enablePolymer = numPolymersV > 0 |
| Are polymers involved?
|
|
static constexpr bool | enableEnergy = numEnergyV > 0 |
| Shall energy be conserved?
|
|
static constexpr bool | enableMICP = numMICPsV > 0 |
| Is MICP involved?
|
|
static constexpr int | numSolvents = enableSolvent ? numSolventsV : 0 |
| Number of solvent components to be considered.
|
|
static constexpr int | numExtbos = enableExtbo ? numExtbosV : 0 |
| Number of components to be considered for extbo.
|
|
static constexpr int | numPolymers = enablePolymer ? numPolymersV : 0 |
| Number of polymer components to be considered.
|
|
static constexpr int | numEnergy = enableEnergy ? numEnergyV : 0 |
| Number of energy equations to be considered.
|
|
static constexpr int | numFoam = enableFoam? 1 : 0 |
| Number of foam equations to be considered.
|
|
static constexpr int | numBrine = enableBrine? 1 : 0 |
| Number of salt equations to be considered.
|
|
static constexpr int | numPhases = 1 |
| The number of fluid phases.
|
|
static constexpr int | numMICPs = enableMICP ? numMICPsV : 0 |
| Number of MICP components to be considered.
|
|
static constexpr int | numEq |
| The number of equations.
|
|
static constexpr int | waterSwitchIdx = -10000 |
| Index of the switching variable which determines the composistion of the water phase.
|
|
static constexpr int | pressureSwitchIdx = PVOffset + 0 |
| Index of the switching variable which determines the pressure.
|
|
static constexpr int | compositionSwitchIdx = -10000 |
| Index of the switching variable which determines the composition of the hydrocarbon phases.
|
|
static constexpr int | solventSaturationIdx |
| Index of the primary variable for the first solvent.
|
|
static constexpr int | zFractionIdx |
| Index of the primary variable for the first extbo component.
|
|
static constexpr int | polymerConcentrationIdx |
| Index of the primary variable for the first polymer.
|
|
static constexpr int | polymerMoleWeightIdx |
| Index of the primary variable for the second polymer primary variable (molecular weight)
|
|
static constexpr int | microbialConcentrationIdx |
| Index of the primary variable for the first MICP component.
|
|
static constexpr int | oxygenConcentrationIdx |
| Index of the primary variable for the second MICP component.
|
|
static constexpr int | ureaConcentrationIdx |
| Index of the primary variable for the third MICP component.
|
|
static constexpr int | biofilmConcentrationIdx |
| Index of the primary variable for the fourth MICP component.
|
|
static constexpr int | calciteConcentrationIdx |
| Index of the primary variable for the fifth MICP component.
|
|
static constexpr int | foamConcentrationIdx |
| Index of the primary variable for the foam.
|
|
static constexpr int | saltConcentrationIdx |
| Index of the primary variable for the salt.
|
|
static constexpr int | temperatureIdx |
| Index of the primary variable for temperature.
|
|
static constexpr int | conti0EqIdx = PVOffset + 0 |
| Index of the continuity equation of the first (and only) phase.
|
|
static constexpr int | contiSolventEqIdx |
| Index of the continuity equation for the first solvent component.
|
|
static constexpr int | contiZfracEqIdx |
| Index of the continuity equation for the first extbo component.
|
|
static constexpr int | contiPolymerEqIdx |
| Index of the continuity equation for the first polymer component.
|
|
static constexpr int | contiPolymerMWEqIdx |
| Index of the continuity equation for the second polymer component (molecular weight)
|
|
static constexpr int | contiMicrobialEqIdx |
| Index of the continuity equation for the first MICP component.
|
|
static constexpr int | contiOxygenEqIdx |
| Index of the continuity equation for the second MICP component.
|
|
static constexpr int | contiUreaEqIdx |
| Index of the continuity equation for the third MICP component.
|
|
static constexpr int | contiBiofilmEqIdx |
| Index of the continuity equation for the fourth MICP component.
|
|
static constexpr int | contiCalciteEqIdx |
| Index of the continuity equation for the fifth MICP component.
|
|
static constexpr int | contiFoamEqIdx |
| Index of the continuity equation for the foam component.
|
|
static constexpr int | contiBrineEqIdx |
| Index of the continuity equation for the salt component.
|
|
static constexpr int | contiEnergyEqIdx |
| Index of the continuity equation for energy.
|
|
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned canonicalCompIdx, unsigned numMICPsV>
struct Opm::BlackOilOnePhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, canonicalCompIdx, numMICPsV >
The primary variable and equation indices for the black-oil model.
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned canonicalCompIdx, unsigned numMICPsV>
int Opm::BlackOilOnePhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, canonicalCompIdx, numMICPsV >::pressureSwitchIdx = PVOffset + 0 |
|
staticconstexpr |
Index of the switching variable which determines the pressure.
Depending on the phases present, this variable is either interpreted as the pressure of the oil phase, gas phase (if no oil) or water phase (if only water)
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned canonicalCompIdx, unsigned numMICPsV>
int Opm::BlackOilOnePhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, canonicalCompIdx, numMICPsV >::waterSwitchIdx = -10000 |
|
staticconstexpr |
Index of the switching variable which determines the composistion of the water phase.
Depending on the phases present, this variable is either interpreted as water saturation or vapporized water in gas phase.
- Note
- For one-phase models this is disabled.