79#ifndef DUMUX_ONEEQ_MODEL_HH
80#define DUMUX_ONEEQ_MODEL_HH
103template<
int dimension>
107 static constexpr int dim() {
return dimension; }
135template<
class TypeTag>
140 static constexpr int dim = GridView::dimension;
146template<
class TypeTag>
156template<
class TypeTag>
166template<
class TypeTag>
175 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
176 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
177 static_assert(!FSY::isMiscible(),
"The Navier-Stokes model only works with immiscible fluid systems.");
186template<
class TypeTag>
200template<
class TypeTag>
205 static constexpr int dim = GridView::dimension;
212template<
class TypeTag>
221 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
222 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
223 static_assert(!FSY::isMiscible(),
"The Navier-Stokes model only works with immiscible fluid systems.");
232template<
class TypeTag>
The available free flow turbulence models in Dumux.
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:150
Definition: common/properties.hh:37
Traits class encapsulating model specifications.
Definition: common/properties.hh:53
A class helping models to define input and output fields.
Definition: common/properties.hh:63
Definition: common/properties.hh:74
The secondary variables within a sub-control volume.
Definition: common/properties.hh:107
Container storing the different types of flux variables.
Definition: common/properties.hh:113
The flux variables class for the Navier-Stokes model using the staggered grid discretization.
Definition: freeflow/navierstokes/fluxvariables.hh:35
The common indices for the isothermal Navier-Stokes model.
Definition: freeflow/navierstokes/indices.hh:37
Element-wise calculation of the Navier-Stokes residual for models using the staggered discretization.
Definition: freeflow/navierstokes/localresidual.hh:35
Traits class for the volume variables of the Navier-Stokes model.
Definition: freeflow/navierstokes/model.hh:123
Volume variables for the single-phase Navier-Stokes model.
Definition: freeflow/navierstokes/volumevariables.hh:38
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
Traits for the Reynolds-averaged Navier-Stokes model.
Definition: freeflow/rans/model.hh:73
The flux variables class for the one-equation model by Spalart-Allmaras using the staggered grid disc...
Definition: freeflow/rans/oneeq/fluxvariables.hh:35
The common indices for the isothermal one-equation turbulence model by Spalart-Allmaras.
Definition: freeflow/rans/oneeq/indices.hh:41
Adds I/O fields for the one-equation turbulence model by Spalart-Allmaras.
Definition: freeflow/rans/oneeq/iofields.hh:36
Element-wise calculation of the residual for one-equation turbulence models using the staggered discr...
Definition: freeflow/rans/oneeq/localresidual.hh:36
Traits for the Spalart-Allmaras model.
Definition: freeflow/rans/oneeq/model.hh:105
static constexpr int numEq()
Definition: freeflow/rans/oneeq/model.hh:111
static constexpr int dim()
The dimension of the model.
Definition: freeflow/rans/oneeq/model.hh:107
static constexpr auto turbulenceModel()
return the type of turbulence model used
Definition: freeflow/rans/oneeq/model.hh:120
static constexpr int numFluidComponents()
The number of components.
Definition: freeflow/rans/oneeq/model.hh:114
The type tag for the single-phase, isothermal Spalart-Allmaras model.
Definition: freeflow/rans/oneeq/model.hh:131
std::tuple< RANS > InheritsFrom
Definition: freeflow/rans/oneeq/model.hh:131
The type tag for the single-phase, non-isothermal Spalart-Allmaras model.
Definition: freeflow/rans/oneeq/model.hh:196
std::tuple< OneEq, RANSNI > InheritsFrom
Definition: freeflow/rans/oneeq/model.hh:196
Volume variables for the isothermal single-phase one-equation turbulence model by Spalart-Allmaras.
Definition: freeflow/rans/oneeq/volumevariables.hh:42
Declares 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.
Adds I/O fields specific to the tracer model.
Base class for the flux variables in porous medium models.
Element-wise calculation of the local residual for problems using fully implicit tracer model.
Defines the primary variable and equation indices used by the isothermal tracer model.