28#ifndef DUMUX_KEPSILON_NC_MODEL_HH
29#define DUMUX_KEPSILON_NC_MODEL_HH
63template<
int dimension,
int nComp,
bool useMoles,
int replaceCompEqIdx>
68 static constexpr int numEq() {
return dimension+nComp+2; }
82template<
class TypeTag>
87 static constexpr int dimension = GridView::dimension;
89 static constexpr int numComponents = FluidSystem::numComponents;
90 static constexpr bool useMoles = getPropValue<TypeTag, Properties::UseMoles>();
91 static constexpr int replaceCompEqIdx = getPropValue<TypeTag, Properties::ReplaceCompEqIdx>();
97template<
class TypeTag>
105 static_assert(FSY::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid system");
106 static_assert(FST::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid state");
107 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
108 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
112 template<
class BaseTraits,
class DT>
113 struct NCTraits :
public BaseTraits {
using DiffusionType = DT; };
121template<
class TypeTag>
131template<
class TypeTag>
141template<
class TypeTag>
155template<
class TypeTag>
160 static constexpr int dim = GridView::dimension;
162 static constexpr int numComponents = FluidSystem::numComponents;
163 static constexpr bool useMoles = getPropValue<TypeTag, Properties::UseMoles>();
164 static constexpr int replaceCompEqIdx = getPropValue<TypeTag, Properties::ReplaceCompEqIdx>();
171template<
class TypeTag>
179 static_assert(FSY::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid system");
180 static_assert(FST::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid state");
181 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
182 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
186 template<
class BaseTraits,
class DT>
187 struct NCNITraits :
public BaseTraits {
using DiffusionType = DT; };
194template<
class TypeTag>
204template<
class TypeTag>
214template<
class TypeTag>
A single-phase, multi-component free-flow model.
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
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
Definition: freeflow/compositional/fluxvariables.hh:34
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 k-epsilon model.
Definition: kepsilonncmodel.hh:52
std::tuple< NavierStokesNC > InheritsFrom
Definition: kepsilonncmodel.hh:52
Traits for the low-Reynolds k-epsilon multi-component model states some specifics of the isothermal m...
Definition: kepsilonncmodel.hh:65
static constexpr int numEq()
Definition: kepsilonncmodel.hh:68
static constexpr bool usesTurbulenceModel()
The model does include a turbulence model.
Definition: kepsilonncmodel.hh:71
static constexpr auto turbulenceModel()
return the type of turbulence model used
Definition: kepsilonncmodel.hh:77
The type tags for the single-phase, multi-component non-isothermal k-epsilon models.
Definition: kepsilonncmodel.hh:151
std::tuple< KEpsilonNC, NavierStokesNCNI > InheritsFrom
Definition: kepsilonncmodel.hh:151
Definition: freeflow/compositional/localresidual.hh:36
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
Definition: freeflow/rans/twoeq/kepsilon/fluxvariables.hh:34
Adds I/O fields for the k-epsilon turbulence model.
Definition: freeflow/rans/twoeq/kepsilon/iofields.hh:36
Definition: freeflow/rans/twoeq/kepsilon/localresidual.hh:36
Volume variables for the isothermal single-phase k-epsilon model.
Definition: freeflow/rans/twoeq/kepsilon/volumevariables.hh:39
Declares all properties used in Dumux.
A single-phase, isothermal k-epsilon model.
Adds I/O fields specific to the tracer model.