28#ifndef DUMUX_KOMEGA_NC_MODEL_HH
29#define DUMUX_KOMEGA_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;
95 static constexpr bool useMoles = getPropValue<TypeTag, Properties::UseMoles>();
96 static constexpr int replaceCompEqIdx = getPropValue<TypeTag, Properties::ReplaceCompEqIdx>();
102template<
class TypeTag>
111 static_assert(FSY::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid system");
112 static_assert(FST::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid state");
113 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
114 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
123template<
class TypeTag>
133template<
class TypeTag>
143template<
class TypeTag>
157template<
class TypeTag>
162 static constexpr int dim = GridView::dimension;
164 static constexpr int numComponents = FluidSystem::numComponents;
165 static constexpr bool useMoles = getPropValue<TypeTag, Properties::UseMoles>();
166 static constexpr int replaceCompEqIdx = getPropValue<TypeTag, Properties::ReplaceCompEqIdx>();
174template<
class TypeTag>
183 static_assert(FSY::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid system");
184 static_assert(FST::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid state");
185 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
186 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
195template<
class TypeTag>
205template<
class TypeTag>
215template<
class TypeTag>
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
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:65
A class helping models to define input and output fields.
Definition: common/properties.hh:78
Definition: common/properties.hh:91
The secondary variables within a sub-control volume.
Definition: common/properties.hh:174
Container storing the different types of flux variables.
Definition: common/properties.hh:180
Definition: freeflow/compositional/fluxvariables.hh:34
Adds I/O fields specific to the FreeflowNC model.
Definition: dumux/freeflow/compositional/iofields.hh:38
The type tags for the single-phase, multi-component isothermal k-omega model.
Definition: komegancmodel.hh:52
std::tuple< NavierStokesNC > InheritsFrom
Definition: komegancmodel.hh:52
Traits for the k-omega multi-component modelstates some specifics of the isothermal multi-component k...
Definition: komegancmodel.hh:70
static constexpr int numEq()
Definition: komegancmodel.hh:73
static constexpr auto turbulenceModel()
return the type of turbulence model used
Definition: komegancmodel.hh:79
static constexpr bool usesTurbulenceModel()
The model does include a turbulence model.
Definition: komegancmodel.hh:76
The type tags for the single-phase, multi-component non-isothermal k-omega models.
Definition: komegancmodel.hh:153
std::tuple< KOmegaNC, NavierStokesNCNI > InheritsFrom
Definition: komegancmodel.hh:153
Definition: freeflow/compositional/localresidual.hh:36
Traits for the multi-component free-flow model.
Definition: navierstokesncmodel.hh:86
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: dumux/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/komega/fluxvariables.hh:34
Adds I/O fields for the Reynolds-Averaged Navier-Stokes model.
Definition: dumux/freeflow/rans/twoeq/komega/iofields.hh:36
Definition: freeflow/rans/twoeq/komega/localresidual.hh:36
Volume variables for the isothermal single-phase k-omega 2-Eq model.
Definition: freeflow/rans/twoeq/komega/volumevariables.hh:41
Declares all properties used in Dumux.
A single-phase, isothermal k-omega 2-Eq. model.
Adds I/O fields specific to the twop model.