Defines the primary variable and equation indices for the compositional multi-phase model based on flash calculations.
More...
#include <flashindices.hh>
|
|
static const int | numEq = numComponents + EnergyIndices::numEq_ |
| | number of equations/primary variables
|
| |
| static const int | cTot0Idx = PVOffset |
| | Index of the total concentration of the first component in the pore space. More...
|
| |
| static const int | conti0EqIdx = PVOffset |
| | Index of the mass conservation equation for the first component. More...
|
| |
|
static constexpr bool | waterEnabled = enableWater |
| | All phases active (note: immiscible/"dummy" water phase)
|
| |
|
static constexpr bool | gasEnabled = true |
| |
|
static constexpr bool | oilEnabled = true |
| |
|
static constexpr int | numPhases = enableWater ? 3 : 2 |
| | number of active phases
|
| |
|
static constexpr int | numEq = numComponents + EnergyIndices::numEq_ + (enableWater ? 1 : 0) |
| | number of equations/primary variables
|
| |
|
static constexpr int | pressure0Idx = PVOffset |
| | Index of the pressure.
|
| |
|
static constexpr int | z0Idx = pressure0Idx + 1 |
| | Index of the molefraction of the first component.
|
| |
|
static constexpr int | water0Idx = enableWater ? z0Idx + numComponents - 1 : -1000 |
| | Index of water saturation.
|
| |
| static constexpr int | conti0EqIdx = PVOffset |
| | Index of the mass conservation equation for the first component. More...
|
| |
|
static constexpr bool | enableMICP = false |
| | MICP implementation is an extension of the black-oil model.
|
| |
template<class TypeTag, int PVOffset>
class Opm::FlashIndices< TypeTag, PVOffset >
Defines the primary variable and equation indices for the compositional multi-phase model based on flash calculations.
Defines the primary variable and equation indices for the compositional multi-phase model based on PT flash calculations.
- Template Parameters
-
| PVOffset | The first index in a primary variable vector. |
◆ conti0EqIdx [1/2]
template<class TypeTag , int PVOffset>
Index of the mass conservation equation for the first component.
◆ conti0EqIdx [2/2]
template<class TypeTag , int PVOffset>
Index of the mass conservation equation for the first component.
◆ cTot0Idx
template<class TypeTag , int PVOffset>
Index of the total concentration of the first component in the pore space.
The documentation for this class was generated from the following file: