|
My Project
|
Defines the primary variable and equation indices for the compositional multi-phase model based on flash calculations. More...
#include <flashindices.hh>
Static Public Attributes | |
| 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. | |
| static const int | conti0EqIdx = PVOffset |
| Index of the mass conservation equation for the first component. | |
| 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 | 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. | |
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.
| PVOffset | The first index in a primary variable vector. |