version 3.10-dev
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//
59#ifndef DUMUX_NONISOTHERMAL_MODEL_HH
60#define DUMUX_NONISOTHERMAL_MODEL_HH
61
62#include <string>
64
65namespace Dumux {
66
74template<class IsothermalT, class TDM = void>
75struct PorousMediumFlowNIModelTraits : public IsothermalT
76{
78 using IsothermalTraits = IsothermalT;
79
82
84 static constexpr int numEq() { return IsothermalTraits::numEq()+1; }
86 static constexpr int numEnergyEq() { return 1; }
88 static constexpr bool enableEnergyBalance() { return true; }
90 using Indices = EnergyIndices< typename IsothermalTraits::Indices, numEq()>;
91};
92
93} // end namespace Dumux
94
95#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:76
static constexpr int numEq()
We solve for one more equation, i.e. the energy balance.
Definition: porousmediumflow/nonisothermal/model.hh:84
IsothermalT IsothermalTraits
Export the isothermal model traits.
Definition: porousmediumflow/nonisothermal/model.hh:78
static constexpr bool enableEnergyBalance()
We additionally solve for the equation balance.
Definition: porousmediumflow/nonisothermal/model.hh:88
TDM ThermalDispersionModel
Export the thermal dispersion tensor type.
Definition: porousmediumflow/nonisothermal/model.hh:81
static constexpr int numEnergyEq()
only one energy equation is needed when assuming thermal equilibrium
Definition: porousmediumflow/nonisothermal/model.hh:86