51#ifndef DUMUX_SST_MODEL_HH
52#define DUMUX_SST_MODEL_HH
76template<
int dimension>
80 static constexpr int dim() {
return dimension; }
84 static constexpr int numEq() {
return dim()+1+2; }
108template<
class TypeTag>
109struct ModelTraits<TypeTag, TTag::
SST>
113 static constexpr int dim = GridView::dimension;
119template<
class TypeTag>
120struct FluxVariables<TypeTag, TTag::
SST>
129template<
class TypeTag>
130struct LocalResidual<TypeTag, TTag::
SST>
139template<
class TypeTag>
140struct VolumeVariables<TypeTag, TTag::
SST>
148 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
149 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
150 static_assert(!FSY::isMiscible(),
"The Navier-Stokes model only works with immiscible fluid systems.");
159template<
class TypeTag>
174template<
class TypeTag>
175struct ModelTraits<TypeTag, TTag::SSTNI>
179 static constexpr int dim = GridView::dimension;
186template<
class TypeTag>
187struct VolumeVariables<TypeTag, TTag::SSTNI>
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>
The flux variables class for the Navier-Stokes model using the staggered grid discretization.
Definition: freeflow/navierstokes/fluxvariables.hh:23
Element-wise calculation of the Navier-Stokes residual for models using the staggered discretization.
Definition: freeflow/navierstokes/localresidual.hh:23
Volume variables for the single-phase Navier-Stokes model.
Definition: freeflow/navierstokes/volumevariables.hh:26
The flux variables class for the SST model using the staggered grid discretization.
Definition: freeflow/rans/twoeq/sst/fluxvariables.hh:22
Element-wise calculation of the residual for SST models using the staggered discretization.
Definition: freeflow/rans/twoeq/sst/localresidual.hh:24
Volume variables for the isothermal single-phase SST 2-Eq model.
Definition: freeflow/rans/twoeq/sst/volumevariables.hh:30
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.
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:296
Base class for the flux variables in porous medium models.
Adds I/O fields specific to the tracer model.
Element-wise calculation of the local residual for problems using fully implicit tracer model.
Python wrapper for volume variables (finite volume schemes)
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
The common indices for the isothermal Navier-Stokes model.
Definition: freeflow/navierstokes/indices.hh:25
Traits class for the volume variables of the Navier-Stokes model.
Definition: freeflow/navierstokes/model.hh:111
Traits for the Reynolds-averaged Navier-Stokes model.
Definition: freeflow/rans/model.hh:61
Traits for the sst model.
Definition: freeflow/rans/twoeq/sst/model.hh:78
static constexpr int numEq()
Definition: freeflow/rans/twoeq/sst/model.hh:84
static constexpr int dim()
The dimension of the model.
Definition: freeflow/rans/twoeq/sst/model.hh:80
static constexpr int numFluidComponents()
The number of components.
Definition: freeflow/rans/twoeq/sst/model.hh:87
static constexpr auto turbulenceModel()
return the type of turbulence model used
Definition: freeflow/rans/twoeq/sst/model.hh:93
The type tag for the single-phase, isothermal SST model.
Definition: freeflow/rans/twoeq/sst/model.hh:104
std::tuple< RANS > InheritsFrom
Definition: freeflow/rans/twoeq/sst/model.hh:104
The type tag for the single-phase, non-isothermal SST 2-Eq. model.
Definition: freeflow/rans/twoeq/sst/model.hh:170
std::tuple< SST, RANSNI > InheritsFrom
Definition: freeflow/rans/twoeq/sst/model.hh:170
The common indices for isothermal two-equation RANS models.
Definition: freeflow/rans/twoeq/indices.hh:29
Adds I/O fields for the Reynolds-Averaged Navier-Stokes model.
Definition: freeflow/rans/twoeq/sst/iofields.hh:24
The available free flow turbulence models in Dumux.