version 3.7
porousmediumflow/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//
41#ifndef DUMUX_NONISOTHERMAL_MODEL_HH
42#define DUMUX_NONISOTHERMAL_MODEL_HH
43
44#include <string>
46
47namespace Dumux {
48
56template<class IsothermalT, class TDM = void>
57struct PorousMediumFlowNIModelTraits : public IsothermalT
58{
60 using IsothermalTraits = IsothermalT;
61
64
66 static constexpr int numEq() { return IsothermalTraits::numEq()+1; }
68 static constexpr int numEnergyEq() { return 1; }
70 static constexpr bool enableEnergyBalance() { return true; }
72 using Indices = EnergyIndices< typename IsothermalTraits::Indices, numEq()>;
73};
74
75} // end namespace Dumux
76
77#endif
Definition: adapt.hh:17
Defines the indices used by the non-isothermal two-phase two-component model.
Indices for the non-isothermal two-phase two-component model.
Definition: porousmediumflow/nonisothermal/indices.hh:27
Specifies a number properties of non-isothermal porous medium flow models based on the specifics of a...
Definition: porousmediumflow/nonisothermal/model.hh:58
static constexpr int numEq()
We solve for one more equation, i.e. the energy balance.
Definition: porousmediumflow/nonisothermal/model.hh:66
IsothermalT IsothermalTraits
Export the isothermal model traits.
Definition: porousmediumflow/nonisothermal/model.hh:60
static constexpr bool enableEnergyBalance()
We additionally solve for the equation balance.
Definition: porousmediumflow/nonisothermal/model.hh:70
TDM ThermalDispersionModel
Export the thermal dispersion tensor type.
Definition: porousmediumflow/nonisothermal/model.hh:63
static constexpr int numEnergyEq()
only one energy equation is needed when assuming thermal equilibrium
Definition: porousmediumflow/nonisothermal/model.hh:68