version 3.8
freeflow/navierstokes/energy/model.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//
31#ifndef DUMUX_FREEFLOW_NAVIER_STOKES_ENERGY_MODEL_HH
32#define DUMUX_FREEFLOW_NAVIER_STOKES_ENERGY_MODEL_HH
33
34#include "indices.hh"
35#include "iofields.hh"
36
37namespace Dumux {
38
45template<class IsothermalT>
46struct NavierStokesEnergyModelTraits : public IsothermalT
47{
49 using IsothermalTraits = IsothermalT;
50
52 static constexpr int numEq() { return IsothermalTraits::numEq()+1; }
53
55 static constexpr bool enableEnergyBalance() { return true; }
56
58 using Indices = NavierStokesEnergyIndices<typename IsothermalTraits::Indices, numEq()>;
59};
60
61} // end namespace Dumux
62
63#endif
Indices for the non-isothermal Navier-Stokes model.
Definition: freeflow/navierstokes/energy/indices.hh:26
Definition: adapt.hh:17
Defines the primary variable and equation indices used by the isothermal tracer model.
Adds I/O fields specific to the tracer model.
Specifies a number properties of non-isothermal free-flow flow models based on the specifics of a giv...
Definition: freeflow/navierstokes/energy/model.hh:47
IsothermalT IsothermalTraits
Export the isothermal model traits.
Definition: freeflow/navierstokes/energy/model.hh:49
static constexpr int numEq()
We solve for one more equation, i.e. the energy balance.
Definition: freeflow/navierstokes/energy/model.hh:52
static constexpr bool enableEnergyBalance()
We additionally solve for the equation balance.
Definition: freeflow/navierstokes/energy/model.hh:55