version 3.10-dev
freeflow/nonisothermal/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_NI_MODEL_HH
32#define DUMUX_FREEFLOW_NI_MODEL_HH
33
34#include <string>
35#include "indices.hh"
36
37namespace Dumux {
38
45template<class IsothermalTraits>
46struct FreeflowNIModelTraits : public IsothermalTraits
47{
49 static constexpr int numEq() { return IsothermalTraits::numEq()+1; }
50
52 static constexpr bool enableEnergyBalance() { return true; }
53
55 using Indices = FreeflowNonIsothermalIndices<typename IsothermalTraits::Indices, numEq()>;
56};
57
58} // end namespace Dumux
59
60#endif
Indices for the non-isothermal Navier-Stokes model.
Definition: freeflow/nonisothermal/indices.hh:26
Definition: adapt.hh:17
Defines the primary variable and equation indices used by the isothermal tracer model.
Specifies a number properties of non-isothermal free-flow flow models based on the specifics of a giv...
Definition: freeflow/nonisothermal/model.hh:47
static constexpr int numEq()
We solve for one more equation, i.e. the energy balance.
Definition: freeflow/nonisothermal/model.hh:49
static constexpr bool enableEnergyBalance()
We additionally solve for the equation balance.
Definition: freeflow/nonisothermal/model.hh:52