version 3.11-dev
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-FileCopyrightText: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
39#ifndef DUMUX_FREEFLOW_NAVIER_STOKES_ENERGY_MODEL_HH
40#define DUMUX_FREEFLOW_NAVIER_STOKES_ENERGY_MODEL_HH
41
42#include "indices.hh"
43#include "iofields.hh"
44
45namespace Dumux {
46
53template<class IsothermalT>
54struct NavierStokesEnergyModelTraits : public IsothermalT
55{
57 using IsothermalTraits = IsothermalT;
58
60 static constexpr int numEq() { return IsothermalTraits::numEq()+1; }
61
63 static constexpr bool enableEnergyBalance() { return true; }
64
66 using Indices = NavierStokesEnergyIndices<typename IsothermalTraits::Indices, numEq()>;
67};
68
69} // end namespace Dumux
70
71#endif
Indices for the non-isothermal Navier-Stokes model.
Definition: freeflow/navierstokes/energy/indices.hh:26
Definition: adapt.hh:17
Adds I/O fields specific to the tracer model.
Defines the indices for the elastic 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:55
IsothermalT IsothermalTraits
Export the isothermal model traits.
Definition: freeflow/navierstokes/energy/model.hh:57
static constexpr int numEq()
We solve for one more equation, i.e. the energy balance.
Definition: freeflow/navierstokes/energy/model.hh:60
static constexpr bool enableEnergyBalance()
We additionally solve for the equation balance.
Definition: freeflow/navierstokes/energy/model.hh:63