13#ifndef DUMUX_NONEQUILIBRIUM_MODEL_HH
14#define DUMUX_NONEQUILIBRIUM_MODEL_HH
43template<
class ET,
bool chem,
bool therm,
int numEF,
int numES, NusseltFormulation nf, SherwoodFormulation sf>
47 static constexpr int numTransportEq() {
return chem ? ET::numFluidPhases()*ET::numFluidComponents() : ET::numFluidComponents(); }
62 static_assert(!(ET::enableEnergyBalance() && therm),
"It is not possible to use a nonisothermal model assuming local thermal equilibrium in combination with a model using thermal non-equilibrium");
82template<
class TypeTag>
83struct ModelTraits<TypeTag, TTag::NonEquilibrium>
87 static constexpr bool enableTNE = getPropValue<TypeTag, Properties::EnableThermalNonEquilibrium>();
88 static constexpr bool enableCNE = getPropValue<TypeTag, Properties::EnableChemicalNonEquilibrium>();
89 static constexpr int numEF = getPropValue<TypeTag, Properties::NumEnergyEqFluid>();
90 static constexpr int numES = getPropValue<TypeTag, Properties::NumEnergyEqSolid>();
91 static constexpr auto nf = getPropValue<TypeTag, Properties::NusseltFormulation>();
92 static constexpr auto ns = getPropValue<TypeTag, Properties::SherwoodFormulation>();
98template<
class TypeTag>
99struct EnableThermalNonEquilibrium<TypeTag, TTag::NonEquilibrium> {
static constexpr bool value =
true; };
100template<
class TypeTag>
101struct EnableChemicalNonEquilibrium<TypeTag, TTag::NonEquilibrium> {
static constexpr bool value =
true; };
104template<
class TypeTag>
105struct NumEnergyEqSolid<TypeTag, TTag::NonEquilibrium> {
static constexpr int value = 1; };
106template<
class TypeTag>
109template<
class TypeTag>
111template<
class TypeTag>
113template<
class TypeTag>
116template<
class TypeTag>
117struct FluidState<TypeTag, TTag::NonEquilibrium>
127template<
class TypeTag>
131template<
class TypeTag>
132struct IOFields<TypeTag, TTag::NonEquilibrium>
141template<
class TypeTag>
152template<
class TypeTag>
Definition: porousmediumflow/nonisothermal/localresidual.hh:25
This file contains the parts of the local residual to calculate the heat conservation in the thermal ...
Definition: porousmediumflow/nonequilibrium/thermal/localresidual.hh:34
Definition: box/fourierslawnonequilibrium.hh:30
The primary variable and equation indices for the MpNc model.
Definition: porousmediumflow/nonequilibrium/indices.hh:24
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system witho...
Definition: nonequilibrium.hh:31
This class stores the velocities which are used to compute Reynolds numbers for the source terms of n...
Definition: porousmediumflow/nonequilibrium/gridvariables.hh:38
Definition: porousmediumflow/nonequilibrium/iofields.hh:21
Definition: porousmediumflow/nonequilibrium/localresidual.hh:26
Defines all properties used in Dumux.
Collection of functions, calculating dimensionless numbers.
Diffusive heat flux according to non-equilibrium Fourier's law.
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:296
NusseltFormulation
A container for possible values of the property for selecting which Nusselt parametrization to choose...
Definition: dimensionlessnumbers.hh:31
SherwoodFormulation
A container for possible values of the property for selecting which Sherwood parametrization to choos...
Definition: dimensionlessnumbers.hh:40
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system witho...
The local residual for the kinetic mass transfer module of the compositional multi-phase model.
This file contains the parts of the local residual to calculate the heat conservation in the thermal ...
Adds I/O fields specific to the tracer model.
Defines the indices for the elastic model.
Local residual for the hyperelastic model.
Specifies a number properties of porous-medium flow non-equilibrium models.
Definition: porousmediumflow/nonequilibrium/model.hh:45
static constexpr bool enableCompositionalDispersion()
Definition: porousmediumflow/nonequilibrium/model.hh:53
static constexpr NusseltFormulation nusseltFormulation()
Definition: porousmediumflow/nonequilibrium/model.hh:59
static constexpr bool enableEnergyBalance()
Definition: porousmediumflow/nonequilibrium/model.hh:55
static constexpr SherwoodFormulation sherwoodFormulation()
Definition: porousmediumflow/nonequilibrium/model.hh:60
static constexpr int numTransportEq()
Definition: porousmediumflow/nonequilibrium/model.hh:47
static constexpr int numEq()
Definition: porousmediumflow/nonequilibrium/model.hh:46
static constexpr bool enableChemicalNonEquilibrium()
Definition: porousmediumflow/nonequilibrium/model.hh:57
static constexpr bool enableThermalDispersion()
Definition: porousmediumflow/nonequilibrium/model.hh:54
static constexpr int numEnergyEqFluid()
Definition: porousmediumflow/nonequilibrium/model.hh:49
static constexpr int numEnergyEq()
Definition: porousmediumflow/nonequilibrium/model.hh:51
static constexpr int numEnergyEqSolid()
Definition: porousmediumflow/nonequilibrium/model.hh:50
static constexpr bool enableThermalNonEquilibrium()
Definition: porousmediumflow/nonequilibrium/model.hh:56
Definition: porousmediumflow/nonequilibrium/model.hh:74