My Project
|
The primary variable and equation indices for the compositional multi-phase NCP model. More...
#include <ncpindices.hh>
Static Public Attributes | |
static const int | numEq = numComponents + numPhases + EnergyIndices::numEq_ |
The number of primary variables / equations. | |
static const int | conti0EqIdx = PVOffset |
Index of the equation for the continuity of mass of the first component. | |
static const int | ncp0EqIdx = conti0EqIdx + numComponents |
Index of the first phase NCP equation. | |
static const int | fugacity0Idx = PVOffset |
Index of the primary variable for the fugacity of the first component. | |
static const int | saturation0Idx = fugacity0Idx + numComponents |
Index of the saturation of the first phase in a vector of primary variables. | |
static const int | pressure0Idx = saturation0Idx + numPhases - 1 |
Index of the first phase' pressure in a vector of primary variables. | |
The primary variable and equation indices for the compositional multi-phase NCP model.
|
static |
Index of the equation for the continuity of mass of the first component.
numComponents equations follow...
|
static |
Index of the primary variable for the fugacity of the first component.
numComponents primary variables follow...
|
static |
Index of the first phase NCP equation.
The index for the remaining phases are consecutive.
|
static |
Index of the saturation of the first phase in a vector of primary variables.
The following (numPhases - 1) primary variables represent the saturations for the phases [1, ..., numPhases - 1]