53#ifndef DUMUX_KEPSILON_MODEL_HH
54#define DUMUX_KEPSILON_MODEL_HH
77template<
int dimension>
81 static constexpr int dim() {
return dimension; }
85 static constexpr int numEq() {
return dim()+1+2; }
109template<
class TypeTag>
110struct ModelTraits<TypeTag,
TTag::KEpsilon>
114 static constexpr int dim = GridView::dimension;
120template<
class TypeTag>
121struct FluxVariables<TypeTag,
TTag::KEpsilon>
130template<
class TypeTag>
131struct LocalResidual<TypeTag,
TTag::KEpsilon>
140template<
class TypeTag>
141struct VolumeVariables<TypeTag,
TTag::KEpsilon>
149 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
150 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
151 static_assert(!FSY::isMiscible(),
"The Navier-Stokes model only works with immiscible fluid systems.");
160template<
class TypeTag>
174template<
class TypeTag>
175struct ModelTraits<TypeTag,
TTag::KEpsilonNI>
179 static constexpr int dim = GridView::dimension;
186template<
class TypeTag>
187struct VolumeVariables<TypeTag,
TTag::KEpsilonNI>
195 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
196 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
197 static_assert(!FSY::isMiscible(),
"The Navier-Stokes model only works with immiscible fluid systems.");
206template<
class TypeTag>
Volume variables for the isothermal single-phase k-epsilon model.
Definition freeflow/rans/twoeq/kepsilon/volumevariables.hh:27
Volume variables for the single-phase Navier-Stokes model.
Definition freeflow/navierstokes/volumevariables.hh:26
Defines all properties used in Dumux.
Defines a type tag and some properties for free flow models.
A single-phase, isothermal Reynolds-Averaged Navier-Stokes model.
The common indices for isothermal two-equation RANS models.
The flux variables class for the k-epsilon model. This is a convenience alias for that actual,...
Adds I/O fields for the k-epsilon turbulence model.
The local residual class for the k-epsilon model. This is a convenience alias for the actual,...
K-epsilon turbulence problem base class.
Volume variables for the isothermal single-phase k-epsilon model.
@ kepsilon
Definition turbulencemodel.hh:27
KEpsilonResidualImpl< TypeTag, BaseLocalResidual, typename GetPropType< TypeTag, Properties::GridGeometry >::DiscretizationMethod > KEpsilonResidual
The local residual class for the k-epsilon model. This is a convenience alias for the actual,...
Definition freeflow/rans/twoeq/kepsilon/localresidual.hh:34
KEpsilonFluxVariablesImpl< TypeTag, BaseFluxVariables, typename GetPropType< TypeTag, Properties::GridGeometry >::DiscretizationMethod > KEpsilonFluxVariables
The flux variables class for the k-epsilon model. This is a convenience alias for that actual,...
Definition freeflow/rans/twoeq/kepsilon/fluxvariables.hh:32
NavierStokesResidualImpl< TypeTag, typename GetPropType< TypeTag, Properties::GridGeometry >::DiscretizationMethod > NavierStokesResidual
The local residual class for the Navier-Stokes model (balance equations). This is a convenience alias...
Definition freeflow/navierstokes/localresidual.hh:33
NavierStokesFluxVariablesImpl< TypeTag, typename GetPropType< TypeTag, Properties::GridGeometry >::DiscretizationMethod > NavierStokesFluxVariables
The flux variables class for the Navier-Stokes model. This is a convenience alias for that actual,...
Definition freeflow/navierstokes/fluxvariables.hh:33
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition propertysystem.hh:296
Type tag for numeric models.
Definition grid.hh:24
The energy balance equation for a porous solid.
Definition common/properties.hh:26
Specifies a number properties of non-isothermal free-flow flow models based on the specifics of a giv...
Definition freeflow/nonisothermal/model.hh:47
Adds I/O fields specific to non-isothermal free-flow models.
Definition freeflow/nonisothermal/iofields.hh:26
Adds I/O fields for the k-epsilon turbulence model.
Definition freeflow/rans/twoeq/kepsilon/iofields.hh:24
Traits class for the volume variables of the Navier-Stokes model.
Definition freeflow/navierstokes/model.hh:111
KEpsilonFluxVariables< TypeTag, BaseFluxVariables > type
Definition freeflow/rans/twoeq/kepsilon/model.hh:126
KEpsilonIOFields type
Definition freeflow/rans/twoeq/kepsilon/model.hh:161
FreeflowNonIsothermalIOFields< KEpsilonIOFields, true > type
Definition freeflow/rans/twoeq/kepsilon/model.hh:207
Traits for the k-epsilon model.
Definition freeflow/rans/twoeq/kepsilon/model.hh:79
RANSTwoEqIndices< dim(), numFluidComponents()> Indices
the indices
Definition freeflow/rans/twoeq/kepsilon/model.hh:91
static constexpr int numEq()
Definition freeflow/rans/twoeq/kepsilon/model.hh:85
static constexpr auto turbulenceModel()
return the type of turbulence model used
Definition freeflow/rans/twoeq/kepsilon/model.hh:94
static constexpr int numFluidComponents()
The number of components.
Definition freeflow/rans/twoeq/kepsilon/model.hh:88
static constexpr int dim()
The dimension of the model.
Definition freeflow/rans/twoeq/kepsilon/model.hh:81
KEpsilonResidual< TypeTag, BaseLocalResidual > type
Definition freeflow/rans/twoeq/kepsilon/model.hh:136
KEpsilonModelTraits< dim > type
Definition freeflow/rans/twoeq/kepsilon/model.hh:116
FreeflowNIModelTraits< IsothermalTraits > type
Definition freeflow/rans/twoeq/kepsilon/model.hh:182
Traits for the Reynolds-averaged Navier-Stokes model.
Definition freeflow/rans/model.hh:61
The type tag for the single-phase, isothermal k-epsilon model.
Definition freeflow/rans/twoeq/kepsilon/model.hh:105
std::tuple< RANS > InheritsFrom
Definition freeflow/rans/twoeq/kepsilon/model.hh:105
The type tag for the single-phase, non-isothermal k-epsilon model.
Definition freeflow/rans/twoeq/kepsilon/model.hh:170
std::tuple< KEpsilon, RANSNI > InheritsFrom
Definition freeflow/rans/twoeq/kepsilon/model.hh:170
KEpsilonVolumeVariables< Traits, NSVolVars > type
Definition freeflow/rans/twoeq/kepsilon/model.hh:156
KEpsilonVolumeVariables< Traits, NSVolVars > type
Definition freeflow/rans/twoeq/kepsilon/model.hh:202
The common indices for isothermal two-equation RANS models.
Definition freeflow/rans/twoeq/indices.hh:29
The available free flow turbulence models in Dumux.