Opm::BlackOilTwoPhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, disabledCanonicalCompIdx, numMICPsV > Struct Template Reference The primary variable and equation indices for the black-oil model. More...
Detailed Descriptiontemplate<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV> struct Opm::BlackOilTwoPhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, disabledCanonicalCompIdx, numMICPsV > The primary variable and equation indices for the black-oil model. Member Function Documentation◆ activeToCanonicalComponentIndex()
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
References Opm::BlackOilTwoPhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, disabledCanonicalCompIdx, numMICPsV >::gasEnabled, Opm::BlackOilTwoPhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, disabledCanonicalCompIdx, numMICPsV >::oilEnabled, and Opm::BlackOilTwoPhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, disabledCanonicalCompIdx, numMICPsV >::waterEnabled. ◆ canonicalToActiveComponentIndex()
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
returns the index of "active" component References Opm::BlackOilTwoPhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, disabledCanonicalCompIdx, numMICPsV >::gasEnabled, Opm::BlackOilTwoPhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, disabledCanonicalCompIdx, numMICPsV >::oilEnabled, and Opm::BlackOilTwoPhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, disabledCanonicalCompIdx, numMICPsV >::waterEnabled. Member Data Documentation◆ biofilmConcentrationIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
numMICPs > 3 ? ureaConcentrationIdx + 1 : -1000
static const int ureaConcentrationIdx Index of the primary variable for the third MICP component. Definition: blackoiltwophaseindices.hh:145 static const int numMICPs Number of MICP components to be considered. Definition: blackoiltwophaseindices.hh:85 Index of the primary variable for the fourth MICP component. ◆ calciteConcentrationIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
numMICPs > 4 ? biofilmConcentrationIdx + 1 : -1000
static const int biofilmConcentrationIdx Index of the primary variable for the fourth MICP component. Definition: blackoiltwophaseindices.hh:149 Index of the primary variable for the fifth MICP component. ◆ compositionSwitchIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Index of the switching variable which determines the composition of the hydrocarbon phases.
◆ conti0EqIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Index of the continuity equation of the first phase. ◆ contiBiofilmEqIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
numMICPs > 3 ? contiUreaEqIdx + 1 : -1000
static const int contiUreaEqIdx Index of the continuity equation for the third MICP component. Definition: blackoiltwophaseindices.hh:238 Index of the continuity equation for the fourth MICP component. ◆ contiBrineEqIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
static const int numSolvents Number of solvent components to be considered. Definition: blackoiltwophaseindices.hh:64 static const int numPolymers Number of polymer components to be considered. Definition: blackoiltwophaseindices.hh:70 static const int numFoam Number of foam equations to be considered. Definition: blackoiltwophaseindices.hh:76 static const int numPhases The number of fluid phases. Definition: blackoiltwophaseindices.hh:82 Index of the continuity equation for the salt component. ◆ contiCalciteEqIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
numMICPs > 4 ? contiBiofilmEqIdx + 1 : -1000
static const int contiBiofilmEqIdx Index of the continuity equation for the fourth MICP component. Definition: blackoiltwophaseindices.hh:242 Index of the continuity equation for the fifth MICP component. ◆ contiEnergyEqIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
enableEnergy ? PVOffset + numPhases + numSolvents + numExtbos + numPolymers + numMICPs + numFoam + numBrine: -1000
static const int numBrine Number of salt equations to be considered. Definition: blackoiltwophaseindices.hh:79 static const int numExtbos Number of components to be considered for extbo. Definition: blackoiltwophaseindices.hh:67 static const bool enableEnergy Shall energy be conserved? Definition: blackoiltwophaseindices.hh:58 Index of the continuity equation for energy. ◆ contiFoamEqIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
Index of the continuity equation for the foam component. ◆ contiMicrobialEqIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
static const bool enableMICP Is MICP involved? Definition: blackoiltwophaseindices.hh:61 Index of the continuity equation for the first MICP component. ◆ contiOxygenEqIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
numMICPs > 1 ? contiMicrobialEqIdx + 1 : -1000
static const int contiMicrobialEqIdx Index of the continuity equation for the first MICP component. Definition: blackoiltwophaseindices.hh:230 Index of the continuity equation for the second MICP component. ◆ contiPolymerEqIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
static const bool enablePolymer Are polymers involved? Definition: blackoiltwophaseindices.hh:55 Index of the continuity equation for the first polymer component. ◆ contiPolymerMWEqIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
numPolymers > 1 ? contiPolymerEqIdx + 1 : -1000
static const int contiPolymerEqIdx Index of the continuity equation for the first polymer component. Definition: blackoiltwophaseindices.hh:222 Index of the continuity equation for the second polymer component (molecular weight) ◆ contiSolventEqIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
enableSolvent ? PVOffset + numPhases : -1000
static const bool enableSolvent Are solvents involved? Definition: blackoiltwophaseindices.hh:49 Index of the continuity equation for the first solvent component. ◆ contiUreaEqIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
numMICPs > 2 ? contiOxygenEqIdx + 1 : -1000
static const int contiOxygenEqIdx Index of the continuity equation for the second MICP component. Definition: blackoiltwophaseindices.hh:234 Index of the continuity equation for the third MICP component. ◆ contiZfracEqIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
static const bool enableExtbo Is extbo invoked? Definition: blackoiltwophaseindices.hh:52 Index of the continuity equation for the first extbo component. ◆ enableEnergy
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Shall energy be conserved? ◆ enableExtbo
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Is extbo invoked? ◆ enableMICP
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Is MICP involved? ◆ enablePolymer
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Are polymers involved? ◆ enableSolvent
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Are solvents involved? ◆ foamConcentrationIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
Index of the primary variable for the foam. ◆ gasEnabled
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Referenced by Opm::BlackOilTwoPhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, disabledCanonicalCompIdx, numMICPsV >::activeToCanonicalComponentIndex(), and Opm::BlackOilTwoPhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, disabledCanonicalCompIdx, numMICPsV >::canonicalToActiveComponentIndex(). ◆ microbialConcentrationIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
Index of the primary variable for the first MICP component. ◆ numBrine
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Number of salt equations to be considered. ◆ numEnergy
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Number of energy equations to be considered. ◆ numEq
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
The number of equations. ◆ numExtbos
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Number of components to be considered for extbo. ◆ numFoam
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Number of foam equations to be considered. ◆ numMICPs
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Number of MICP components to be considered. ◆ numPhases
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
The number of fluid phases. ◆ numPolymers
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Number of polymer components to be considered. ◆ numSolvents
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Number of solvent components to be considered. ◆ oilEnabled
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Is phase enabled or not. Referenced by Opm::BlackOilTwoPhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, disabledCanonicalCompIdx, numMICPsV >::activeToCanonicalComponentIndex(), and Opm::BlackOilTwoPhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, disabledCanonicalCompIdx, numMICPsV >::canonicalToActiveComponentIndex(). ◆ oxygenConcentrationIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
numMICPs > 1 ? microbialConcentrationIdx + 1 : -1000
static const int microbialConcentrationIdx Index of the primary variable for the first MICP component. Definition: blackoiltwophaseindices.hh:137 Index of the primary variable for the second MICP component. ◆ polymerConcentrationIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
Index of the primary variable for the first polymer. ◆ polymerMoleWeightIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
numPolymers > 1 ? polymerConcentrationIdx + 1 : -1000
static const int polymerConcentrationIdx Index of the primary variable for the first polymer. Definition: blackoiltwophaseindices.hh:129 Index of the primary variable for the second polymer primary variable (molecular weight) ◆ pressureSwitchIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
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) ◆ saltConcentrationIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
Index of the primary variable for the salt. ◆ solventSaturationIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
enableSolvent ? PVOffset + numPhases : -1000
Index of the primary variable for the first solvent. ◆ temperatureIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
enableEnergy ? PVOffset + numPhases + numSolvents + numExtbos + numPolymers + numMICPs + numFoam + numBrine : - 1000
Index of the primary variable for temperature. ◆ ureaConcentrationIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
numMICPs > 2 ? oxygenConcentrationIdx + 1 : -1000
static const int oxygenConcentrationIdx Index of the primary variable for the second MICP component. Definition: blackoiltwophaseindices.hh:141 Index of the primary variable for the third MICP component. ◆ waterEnabled
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Referenced by Opm::BlackOilTwoPhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, disabledCanonicalCompIdx, numMICPsV >::activeToCanonicalComponentIndex(), and Opm::BlackOilTwoPhaseIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, disabledCanonicalCompIdx, numMICPsV >::canonicalToActiveComponentIndex(). ◆ waterSwitchIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
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
◆ zFractionIdx
template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned disabledCanonicalCompIdx, unsigned numMICPsV>
Initial value:
=
Index of the primary variable for the first extbo component. The documentation for this struct was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||