version 3.8
freeflow/rans/twoeq/indices.hh
Go to the documentation of this file.
1// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2// vi: set et ts=4 sw=4 sts=4:
3//
4// SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
12#ifndef DUMUX_RANS_TWO_EQ_INDICES_HH
13#define DUMUX_RANS_TWO_EQ_INDICES_HH
14
16
17namespace Dumux {
18
19// \{
27template<int dimension, int numComponents>
28struct RANSTwoEqIndices : public NavierStokesIndices<dimension>
29{
30public:
31 static constexpr auto turbulentKineticEnergyEqIdx = dimension + numComponents;
33 static constexpr auto dissipationEqIdx = turbulentKineticEnergyEqIdx + 1;
34 static constexpr auto dissipationIdx = dissipationEqIdx;
35};
36
37// \}
38} // end namespace
39
40#endif
Definition: adapt.hh:17
The common indices for the isothermal Navier-Stokes model.
Definition: freeflow/navierstokes/indices.hh:25
The common indices for isothermal two-equation RANS models.
Definition: freeflow/rans/twoeq/indices.hh:29
static constexpr auto turbulentKineticEnergyIdx
Definition: freeflow/rans/twoeq/indices.hh:32
static constexpr auto turbulentKineticEnergyEqIdx
Definition: freeflow/rans/twoeq/indices.hh:31
static constexpr auto dissipationEqIdx
Definition: freeflow/rans/twoeq/indices.hh:33
static constexpr auto dissipationIdx
Definition: freeflow/rans/twoeq/indices.hh:34