The common indices for the isothermal one-equation turbulence model by Spalart-Allmaras.
More...
template<int dimension, int numComponents>
struct Dumux::OneEqIndices< dimension, numComponents >
- Template Parameters
-
dimension | The dimension of the problem |
numComponents | The number of considered transported components |
|
static constexpr auto | viscosityTildeEqIdx = dimension + numComponents |
|
static constexpr auto | viscosityTildeIdx = viscosityTildeEqIdx |
|
static constexpr int | dimXIdx = 0 |
| Index of the x-component of a vector of size dim.
|
|
static constexpr int | dimYIdx = 1 |
| Index of the y-component of a vector of size dim.
|
|
static constexpr int | dimZIdx = 2 |
| Index of the z-component of a vector of size dim.
|
|
static constexpr int | conti0EqIdx = dimension |
| Index of the total mass balance equation.
|
|
static constexpr int | pressureIdx = conti0EqIdx |
| Index of the pressure in a solution vector.
|
|
static constexpr auto | dim = dimension |
|
static constexpr int | momentumXBalanceIdx = 0 |
| Index of the momentum balance equation.
|
|
static constexpr int | momentumYBalanceIdx = 1 |
| Index of the momentum balance equation.
|
|
static constexpr int | momentumZBalanceIdx = 2 |
| Index of the momentum balance equation.
|
|
static constexpr int | velocityXIdx = 0 |
| Index of the velocity in a solution vector.
|
|
static constexpr int | velocityYIdx = 1 |
| Index of the velocity in a solution vector.
|
|
static constexpr int | velocityZIdx = 2 |
| Index of the velocity in a solution vector.
|
|