version 3.8
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//
54#ifndef DUMUX_NONISOTHERMAL_MODEL_HH
55#define DUMUX_NONISOTHERMAL_MODEL_HH
56
57#include <string>
59
60namespace Dumux {
61
69template<class IsothermalT, class TDM = void>
70struct PorousMediumFlowNIModelTraits : public IsothermalT
71{
73 using IsothermalTraits = IsothermalT;
74
77
79 static constexpr int numEq() { return IsothermalTraits::numEq()+1; }
81 static constexpr int numEnergyEq() { return 1; }
83 static constexpr bool enableEnergyBalance() { return true; }
85 using Indices = EnergyIndices< typename IsothermalTraits::Indices, numEq()>;
86};
87
88} // end namespace Dumux
89
90#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:71
static constexpr int numEq()
We solve for one more equation, i.e. the energy balance.
Definition: porousmediumflow/nonisothermal/model.hh:79
IsothermalT IsothermalTraits
Export the isothermal model traits.
Definition: porousmediumflow/nonisothermal/model.hh:73
static constexpr bool enableEnergyBalance()
We additionally solve for the equation balance.
Definition: porousmediumflow/nonisothermal/model.hh:83
TDM ThermalDispersionModel
Export the thermal dispersion tensor type.
Definition: porousmediumflow/nonisothermal/model.hh:76
static constexpr int numEnergyEq()
only one energy equation is needed when assuming thermal equilibrium
Definition: porousmediumflow/nonisothermal/model.hh:81