Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV > Struct Template Reference

The primary variable and equation indices for the three-phase black-oil model. More...

#include <blackoilvariableandequationindices.hh>

Static Public Attributes

static constexpr int numPhases = 3
 Number of phases active at all times. More...
 
static constexpr bool oilEnabled = true
 All phases are enabled. More...
 
static constexpr bool waterEnabled = true
 
static constexpr bool gasEnabled = true
 
static constexpr bool enableSolvent = numSolventsV > 0
 Are solvents involved? More...
 
static constexpr bool enableExtbo = numExtbosV > 0
 Is extbo invoked? More...
 
static constexpr bool enablePolymer = numPolymersV > 0
 Are polymers involved? More...
 
static constexpr bool enableEnergy = numEnergyV > 0
 Shall energy be conserved? More...
 
static constexpr bool enableMICP = false
 No bioeffects for three phase indices. More...
 
static constexpr bool enableBiofilm = false
 
static constexpr int numBioInWat = 0
 
static constexpr int numSolvents = enableSolvent ? numSolventsV : 0
 Number of solvent components to be considered. More...
 
static constexpr int numExtbos = enableExtbo ? numExtbosV : 0
 Number of components to be considered for extbo. More...
 
static constexpr int numPolymers = enablePolymer ? numPolymersV : 0
 Number of polymer components to be considered. More...
 
static constexpr int numEnergy = enableEnergy ? numEnergyV : 0
 Number of energy equations to be considered. More...
 
static constexpr int numFoam = enableFoam? 1 : 0
 Number of foam equations to be considered. More...
 
static constexpr int numBrine = enableBrine? 1 : 0
 Number of salt equations to be considered. More...
 
static constexpr int numEq
 The number of equations. More...
 
static constexpr int waterSwitchIdx = PVOffset + 0
 Index of the switching variable which determines the composistion of the water phase. More...
 
static constexpr int pressureSwitchIdx = PVOffset + 1
 Index of the switching variable which determines the pressure. More...
 
static constexpr int compositionSwitchIdx = PVOffset + 2
 Index of the switching variable which determines the composition of the hydrocarbon phases. More...
 
static constexpr int solventSaturationIdx
 Index of the primary variable for the first solvent. More...
 
static constexpr int zFractionIdx
 Index of the primary variable for the first extbo component. More...
 
static constexpr int polymerConcentrationIdx
 Index of the primary variable for the first polymer. More...
 
static constexpr int polymerMoleWeightIdx
 Index of the primary variable for the second polymer primary variable (molecular weight) More...
 
static constexpr int microbialConcentrationIdx = -1000
 No bioeffects for three phase indices. More...
 
static constexpr int oxygenConcentrationIdx = -1000
 
static constexpr int ureaConcentrationIdx = -1000
 
static constexpr int biofilmVolumeFractionIdx = -1000
 
static constexpr int calciteVolumeFractionIdx = -1000
 
static constexpr int foamConcentrationIdx
 Index of the primary variable for the foam. More...
 
static constexpr int saltConcentrationIdx
 Index of the primary variable for the brine. More...
 
static constexpr int temperatureIdx
 Index of the primary variable for temperature. More...
 
static constexpr int conti0EqIdx = PVOffset + 0
 Index of the continuity equation of the first phase. More...
 
static constexpr int contiSolventEqIdx
 Index of the continuity equation for the first solvent component. More...
 
static constexpr int contiZfracEqIdx
 Index of the continuity equation for the first extbo component. More...
 
static constexpr int contiPolymerEqIdx
 Index of the continuity equation for the first polymer component. More...
 
static constexpr int contiPolymerMWEqIdx
 Index of the continuity equation for the second polymer component (molecular weight) More...
 
static constexpr int contiMicrobialEqIdx = -1000
 No bioeffects for three phase indices. More...
 
static constexpr int contiOxygenEqIdx = -1000
 
static constexpr int contiUreaEqIdx = -1000
 
static constexpr int contiBiofilmEqIdx = -1000
 
static constexpr int contiCalciteEqIdx = -1000
 
static constexpr int contiFoamEqIdx
 Index of the continuity equation for the foam component. More...
 
static constexpr int contiBrineEqIdx
 Index of the continuity equation for the salt water component. More...
 
static constexpr int contiEnergyEqIdx
 Index of the continuity equation for energy. More...
 

Detailed Description

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
struct Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >

The primary variable and equation indices for the three-phase black-oil model.

Member Data Documentation

◆ biofilmVolumeFractionIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::biofilmVolumeFractionIdx = -1000
staticconstexpr

◆ calciteVolumeFractionIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::calciteVolumeFractionIdx = -1000
staticconstexpr

◆ compositionSwitchIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::compositionSwitchIdx = PVOffset + 2
staticconstexpr

Index of the switching variable which determines the composition of the hydrocarbon phases.

Depending on the phases present, this variable is either interpreted as the saturation of the gas phase, as the mole fraction of the gas component in the oil phase or as the mole fraction of the oil component in the gas phase.

◆ conti0EqIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::conti0EqIdx = PVOffset + 0
staticconstexpr

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 numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::contiBiofilmEqIdx = -1000
staticconstexpr

◆ contiBrineEqIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::contiBrineEqIdx
staticconstexpr
Initial value:
=
enableBrine ? PVOffset + numPhases + numSolvents + numExtbos + numPolymers + numFoam : -1000
static constexpr int numPhases
Number of phases active at all times.
Definition: blackoilvariableandequationindices.hh:49
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 numSolvents
Number of solvent components to be considered.
Definition: blackoilvariableandequationindices.hh:74
static constexpr int numPolymers
Number of polymer components to be considered.
Definition: blackoilvariableandequationindices.hh:80

Index of the continuity equation for the salt water component.

◆ contiCalciteEqIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::contiCalciteEqIdx = -1000
staticconstexpr

◆ contiEnergyEqIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::contiEnergyEqIdx
staticconstexpr
Initial value:
=
static constexpr int numBrine
Number of salt equations to be considered.
Definition: blackoilvariableandequationindices.hh:89
static constexpr bool enableEnergy
Shall energy be conserved?
Definition: blackoilvariableandequationindices.hh:66

Index of the continuity equation for energy.

◆ contiFoamEqIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::contiFoamEqIdx
staticconstexpr
Initial value:
=
enableFoam ? PVOffset + numPhases + numSolvents + numExtbos + numPolymers : -1000

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 numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::contiMicrobialEqIdx = -1000
staticconstexpr

No bioeffects for three phase indices.

◆ contiOxygenEqIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::contiOxygenEqIdx = -1000
staticconstexpr

◆ contiPolymerEqIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::contiPolymerEqIdx
staticconstexpr
Initial value:
=
enablePolymer ? PVOffset + numPhases + numSolvents + numExtbos : -1000
static constexpr bool enablePolymer
Are polymers involved?
Definition: blackoilvariableandequationindices.hh:63

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 numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::contiPolymerMWEqIdx
staticconstexpr
Initial value:
=
numPolymers > 1 ? contiPolymerEqIdx + 1 : -1000
static constexpr int contiPolymerEqIdx
Index of the continuity equation for the first polymer component.
Definition: blackoilvariableandequationindices.hh:178

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 numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::contiSolventEqIdx
staticconstexpr
Initial value:
=
enableSolvent ? PVOffset + numPhases : -1000
static constexpr bool enableSolvent
Are solvents involved?
Definition: blackoilvariableandequationindices.hh:57

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 numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::contiUreaEqIdx = -1000
staticconstexpr

◆ contiZfracEqIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::contiZfracEqIdx
staticconstexpr
Initial value:
=
enableExtbo ? PVOffset + numPhases + numSolvents : -1000
static constexpr bool enableExtbo
Is extbo invoked?
Definition: blackoilvariableandequationindices.hh:60

Index of the continuity equation for the first extbo component.

◆ enableBiofilm

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr bool Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::enableBiofilm = false
staticconstexpr

◆ enableEnergy

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr bool Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::enableEnergy = numEnergyV > 0
staticconstexpr

Shall energy be conserved?

◆ enableExtbo

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr bool Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::enableExtbo = numExtbosV > 0
staticconstexpr

Is extbo invoked?

◆ enableMICP

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr bool Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::enableMICP = false
staticconstexpr

No bioeffects for three phase indices.

◆ enablePolymer

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr bool Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::enablePolymer = numPolymersV > 0
staticconstexpr

Are polymers involved?

◆ enableSolvent

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr bool Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::enableSolvent = numSolventsV > 0
staticconstexpr

Are solvents involved?

◆ foamConcentrationIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::foamConcentrationIdx
staticconstexpr
Initial value:
=
enableFoam ? PVOffset + numPhases + numSolvents + numExtbos + numPolymers : -1000

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 numBioCompV>
constexpr bool Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::gasEnabled = true
staticconstexpr

◆ microbialConcentrationIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::microbialConcentrationIdx = -1000
staticconstexpr

No bioeffects for three phase indices.

◆ numBioInWat

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::numBioInWat = 0
staticconstexpr

◆ numBrine

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::numBrine = enableBrine? 1 : 0
staticconstexpr

Number of salt equations to be considered.

◆ numEnergy

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::numEnergy = enableEnergy ? numEnergyV : 0
staticconstexpr

Number of energy equations to be considered.

◆ numEq

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::numEq
staticconstexpr
Initial value:
static constexpr int numEnergy
Number of energy equations to be considered.
Definition: blackoilvariableandequationindices.hh:83

The number of equations.

◆ numExtbos

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::numExtbos = enableExtbo ? numExtbosV : 0
staticconstexpr

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 numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::numFoam = enableFoam? 1 : 0
staticconstexpr

Number of foam equations to be considered.

◆ numPhases

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::numPhases = 3
staticconstexpr

Number of phases active at all times.

◆ numPolymers

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::numPolymers = enablePolymer ? numPolymersV : 0
staticconstexpr

Number of polymer components to be considered.

◆ numSolvents

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::numSolvents = enableSolvent ? numSolventsV : 0
staticconstexpr

Number of solvent components to be considered.

◆ oilEnabled

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr bool Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::oilEnabled = true
staticconstexpr

All phases are enabled.

◆ oxygenConcentrationIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::oxygenConcentrationIdx = -1000
staticconstexpr

◆ polymerConcentrationIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::polymerConcentrationIdx
staticconstexpr
Initial value:
=
enablePolymer ? PVOffset + numPhases + numSolvents : -1000

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 numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::polymerMoleWeightIdx
staticconstexpr
Initial value:
=
static constexpr int polymerConcentrationIdx
Index of the primary variable for the first polymer.
Definition: blackoilvariableandequationindices.hh:134

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 numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::pressureSwitchIdx = PVOffset + 1
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)

◆ saltConcentrationIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::saltConcentrationIdx
staticconstexpr
Initial value:
=
enableBrine ? PVOffset + numPhases + numSolvents + numExtbos + numExtbos + numPolymers + numFoam : -1000

Index of the primary variable for the brine.

◆ solventSaturationIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::solventSaturationIdx
staticconstexpr
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 numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::temperatureIdx
staticconstexpr
Initial value:

Index of the primary variable for temperature.

◆ ureaConcentrationIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::ureaConcentrationIdx = -1000
staticconstexpr

◆ waterEnabled

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr bool Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::waterEnabled = true
staticconstexpr

◆ waterSwitchIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::waterSwitchIdx = PVOffset + 0
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

◆ zFractionIdx

template<unsigned numSolventsV, unsigned numExtbosV, unsigned numPolymersV, unsigned numEnergyV, bool enableFoam, bool enableBrine, unsigned PVOffset, unsigned numBioCompV>
constexpr int Opm::BlackOilVariableAndEquationIndices< numSolventsV, numExtbosV, numPolymersV, numEnergyV, enableFoam, enableBrine, PVOffset, numBioCompV >::zFractionIdx
staticconstexpr
Initial value:
=
enableExtbo ? PVOffset + numPhases + numSolvents : -1000

Index of the primary variable for the first extbo component.


The documentation for this struct was generated from the following file: