My Project
Loading...
Searching...
No Matches
Opm::FlashIndices< TypeTag, PVOffset > Class Template Reference

Defines the primary variable and equation indices for the compositional multi-phase model based on flash calculations. More...

#include <flashindices.hh>

Inheritance diagram for Opm::FlashIndices< TypeTag, PVOffset >:
Opm::EnergyIndices< PVOffset+getPropValue< TypeTag, Properties::NumComponents >(), getPropValue< TypeTag, Properties::EnableEnergy >()> Opm::EnergyIndices< PVOffset+getPropValue< TypeTag, Properties::NumComponents >(), getPropValue< TypeTag, Properties::EnableEnergy >()>

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 = false
 
static constexpr bool gasEnabled = true
 
static constexpr bool oilEnabled = true
 
static constexpr int waterPhaseIdx = -1
 
static constexpr int numPhases = 2
 
static constexpr int pressure0Idx = PVOffset
 Index of the pressure.
 
static constexpr int z0Idx = pressure0Idx + 1
 Index of the molefraction of the first component.
 

Detailed Description

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
PVOffsetThe first index in a primary variable vector.

The documentation for this class was generated from the following files: