version 3.10.0
Loading...
Searching...
No Matches
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-FileCopyrightText: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
58
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; }
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
static constexpr int numEq()
Definition porousmediumflow/1p/model.hh:61
OnePIndices<> Indices
Per default, we use the indices without offset.
Definition porousmediumflow/1p/model.hh:59
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
OnePModelTraits IsothermalTraits
Definition porousmediumflow/nonisothermal/model.hh:78
static constexpr bool enableEnergyBalance()
We additionally solve for the equation balance.
Definition porousmediumflow/nonisothermal/model.hh:88
void ThermalDispersionModel
Definition porousmediumflow/nonisothermal/model.hh:81
EnergyIndices< typename IsothermalTraits::Indices, numEq()> Indices
Definition porousmediumflow/nonisothermal/model.hh:90
static constexpr int numEnergyEq()
only one energy equation is needed when assuming thermal equilibrium
Definition porousmediumflow/nonisothermal/model.hh:86