28#ifndef DUMUX_LOWREKEPSILON_NC_MODEL_HH
29#define DUMUX_LOWREKEPSILON_NC_MODEL_HH
68template<
int dimension,
int nComp,
bool useMoles,
int replaceCompEqIdx>
73 static constexpr int numEq() {
return dimension+nComp+2; }
87template<
class TypeTag>
92 static constexpr int dimension = GridView::dimension;
94 static constexpr int numComponents = FluidSystem::numComponents;
102template<
class TypeTag>
110 static_assert(FSY::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid system");
111 static_assert(FST::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid state");
112 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
113 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
117 template<
class BaseTraits,
class DT>
118 struct NCTraits :
public BaseTraits {
using DiffusionType = DT; };
126template<
class TypeTag>
136template<
class TypeTag>
146template<
class TypeTag>
160template<
class TypeTag>
165 static constexpr int dim = GridView::dimension;
167 static constexpr int numComponents = FluidSystem::numComponents;
176template<
class TypeTag>
184 static_assert(FSY::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid system");
185 static_assert(FST::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid state");
186 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
187 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
191 template<
class BaseTraits,
class DT>
192 struct NCNITraits :
public BaseTraits {
using DiffusionType = DT; };
199template<
class TypeTag>
209template<
class TypeTag>
219template<
class TypeTag>
A single-phase, multi-component free-flow model.
@ lowrekepsilon
Definition turbulencemodel.hh:38
LowReKEpsilonResidualImpl< TypeTag, BaseLocalResidual, GetPropType< TypeTag, Properties::GridGeometry >::discMethod > LowReKEpsilonResidual
The local residual class for the low-Reynolds k-epsilon model. This is a convenience alias for the ac...
Definition freeflow/rans/twoeq/lowrekepsilon/localresidual.hh:46
LowReKEpsilonFluxVariablesImpl< TypeTag, BaseFluxVariables, GetPropType< TypeTag, Properties::GridGeometry >::discMethod > LowReKEpsilonFluxVariables
The flux variables class for the low-Reynolds k-epsilon model. This is a convenience alias for that a...
Definition freeflow/rans/twoeq/lowrekepsilon/fluxvariables.hh:44
FreeflowNCResidualImpl< TypeTag, GetPropType< TypeTag, Properties::GridGeometry >::discMethod > FreeflowNCResidual
The local residual class for the multi-component free-flow model (balance equations)....
Definition freeflow/compositional/localresidual.hh:46
FreeflowNCFluxVariablesImpl< TypeTag, GetPropType< TypeTag, Properties::GridGeometry >::discMethod > FreeflowNCFluxVariables
The flux variables class for the multi-component free-flow model. This is a convenience alias for tha...
Definition freeflow/compositional/fluxvariables.hh:44
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:153
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(....
Definition propertysystem.hh:149
Definition common/properties.hh:48
Type tag for numeric models.
Definition grid.hh:36
Traits class encapsulating model specifications.
Definition common/properties.hh:66
A class helping models to define input and output fields.
Definition common/properties.hh:76
Definition common/properties.hh:89
The secondary variables within a sub-control volume.
Definition common/properties.hh:118
Container storing the different types of flux variables.
Definition common/properties.hh:124
Adds I/O fields specific to the FreeflowNC model.
Definition freeflow/compositional/iofields.hh:39
The type tags for the single-phase, multi-component isothermal low-Re k-epsilon model.
Definition lowrekepsilonncmodel.hh:52
std::tuple< NavierStokesNC > InheritsFrom
Definition lowrekepsilonncmodel.hh:52
Traits for the low-Reynolds k-epsilon multi-component modelstates some specifics of the isothermal mu...
Definition lowrekepsilonncmodel.hh:70
static constexpr int numEq()
Definition lowrekepsilonncmodel.hh:73
static constexpr bool usesTurbulenceModel()
The model does include a turbulence model.
Definition lowrekepsilonncmodel.hh:76
static constexpr auto turbulenceModel()
return the type of turbulence model used
Definition lowrekepsilonncmodel.hh:79
RANSTwoEqIndices< dimension, nComp > Indices
the indices
Definition lowrekepsilonncmodel.hh:83
LowReKEpsilonNCModelTraits< dimension, numComponents, useMoles, replaceCompEqIdx > type
Definition lowrekepsilonncmodel.hh:98
LowReKEpsilonVolumeVariables< NCTraits< BaseTraits, DT >, NCVolVars > type
Definition lowrekepsilonncmodel.hh:122
LowReKEpsilonResidual< TypeTag, BaseLocalResidual > type
Definition lowrekepsilonncmodel.hh:132
LowReKEpsilonFluxVariables< TypeTag, BaseFluxVariables > type
Definition lowrekepsilonncmodel.hh:142
FreeflowNCIOFields< LowReKEpsilonIOFields, true > type
Definition lowrekepsilonncmodel.hh:147
The type tags for the single-phase, multi-component non-isothermal low-Re k-epsilon models.
Definition lowrekepsilonncmodel.hh:156
std::tuple< LowReKEpsilonNC, NavierStokesNCNI > InheritsFrom
Definition lowrekepsilonncmodel.hh:156
FreeflowNIModelTraits< IsothermalModelTraits > type
Definition lowrekepsilonncmodel.hh:172
LowReKEpsilonVolumeVariables< NCNITraits< BaseTraits, DT >, NCNIVolVars > type
Definition lowrekepsilonncmodel.hh:195
LowReKEpsilonResidual< TypeTag, BaseLocalResidual > type
Definition lowrekepsilonncmodel.hh:205
LowReKEpsilonFluxVariables< TypeTag, BaseFluxVariables > type
Definition lowrekepsilonncmodel.hh:215
FreeflowNonIsothermalIOFields< IsothermalIOFields, true > type
Definition lowrekepsilonncmodel.hh:225
Traits for the multi-component free-flow model.
Definition navierstokesncmodel.hh:88
Volume variables for the single-phase, multi-component free-flow model.
Definition freeflow/compositional/volumevariables.hh:40
Traits class for the volume variables of the Navier-Stokes model.
Definition freeflow/navierstokes/model.hh:125
Adds I/O fields specific to non-isothermal free-flow models.
Definition freeflow/nonisothermal/iofields.hh:38
Specifies a number properties of non-isothermal free-flow flow models based on the specifics of a giv...
Definition freeflow/nonisothermal/model.hh:59
The common indices for isothermal two-equation RANS models.
Definition freeflow/rans/twoeq/indices.hh:41
Adds I/O fields for the low-Re k-epsilon turbulence model.
Definition freeflow/rans/twoeq/lowrekepsilon/iofields.hh:36
Volume variables for the isothermal single-phase low-Re k-epsilons model.
Definition freeflow/rans/twoeq/lowrekepsilon/volumevariables.hh:40
Declares all properties used in Dumux.
A single-phase, isothermal low-Reynolds k-epsilon model.
Adds I/O fields specific to the FreeflowNC model.
Adds I/O fields specific to non-isothermal free-flow models.