77#ifndef DUMUX_ONEEQ_MODEL_HH
78#define DUMUX_ONEEQ_MODEL_HH
101template<
int dimension>
105 static constexpr int dim() {
return dimension; }
133template<
class TypeTag>
138 static constexpr int dim = GridView::dimension;
144template<
class TypeTag>
154template<
class TypeTag>
164template<
class TypeTag>
173 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
174 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
175 static_assert(!FSY::isMiscible(),
"The Navier-Stokes model only works with immiscible fluid systems.");
184template<
class TypeTag>
198template<
class TypeTag>
203 static constexpr int dim = GridView::dimension;
210template<
class TypeTag>
219 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
220 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
221 static_assert(!FSY::isMiscible(),
"The Navier-Stokes model only works with immiscible fluid systems.");
230template<
class TypeTag>
The available free flow turbulence models in Dumux.
@ oneeq
Definition turbulencemodel.hh:38
NavierStokesResidualImpl< TypeTag, GetPropType< TypeTag, Properties::GridGeometry >::discMethod > NavierStokesResidual
The local residual class for the Navier-Stokes model (balance equations). This is a convenience alias...
Definition freeflow/navierstokes/localresidual.hh:45
NavierStokesFluxVariablesImpl< TypeTag, GetPropType< TypeTag, Properties::GridGeometry >::discMethod > NavierStokesFluxVariables
The flux variables class for the Navier-Stokes model. This is a convenience alias for that actual,...
Definition freeflow/navierstokes/fluxvariables.hh:45
OneEqFluxVariablesImpl< TypeTag, BaseFluxVariables, GetPropType< TypeTag, Properties::GridGeometry >::discMethod > OneEqFluxVariables
The flux variables class for the one-equation turbulence model by Spalart-Allmaras....
Definition freeflow/rans/oneeq/fluxvariables.hh:45
OneEqResidualImpl< TypeTag, BaseLocalResidual, GetPropType< TypeTag, Properties::GridGeometry >::discMethod > OneEqResidual
The local residual class for the one-equation turbulence model by Spalart-Allmaras This is a convenie...
Definition freeflow/rans/oneeq/localresidual.hh:46
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
Definition common/properties.hh:48
Type tag for numeric models.
Definition grid.hh:36
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
Traits class for the volume variables of the Navier-Stokes model.
Definition freeflow/navierstokes/model.hh:125
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 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
Traits for the Spalart-Allmaras model.
Definition freeflow/rans/oneeq/model.hh:103
OneEqIndices< dim(), numFluidComponents()> Indices
the indices
Definition freeflow/rans/oneeq/model.hh:115
static constexpr int numEq()
Definition freeflow/rans/oneeq/model.hh:109
static constexpr int dim()
The dimension of the model.
Definition freeflow/rans/oneeq/model.hh:105
static constexpr auto turbulenceModel()
return the type of turbulence model used
Definition freeflow/rans/oneeq/model.hh:118
static constexpr int numFluidComponents()
The number of components.
Definition freeflow/rans/oneeq/model.hh:112
The type tag for the single-phase, isothermal Spalart-Allmaras model.
Definition freeflow/rans/oneeq/model.hh:129
std::tuple< RANS > InheritsFrom
Definition freeflow/rans/oneeq/model.hh:129
OneEqModelTraits< dim > type
Definition freeflow/rans/oneeq/model.hh:140
OneEqFluxVariables< TypeTag, BaseFluxVariables > type
Definition freeflow/rans/oneeq/model.hh:150
OneEqResidual< TypeTag, BaseLocalResidual > type
Definition freeflow/rans/oneeq/model.hh:160
OneEqVolumeVariables< Traits, NSVolVars > type
Definition freeflow/rans/oneeq/model.hh:180
OneEqIOFields type
Definition freeflow/rans/oneeq/model.hh:185
The type tag for the single-phase, non-isothermal Spalart-Allmaras model.
Definition freeflow/rans/oneeq/model.hh:194
std::tuple< OneEq, RANSNI > InheritsFrom
Definition freeflow/rans/oneeq/model.hh:194
FreeflowNIModelTraits< IsothermalTraits > type
Definition freeflow/rans/oneeq/model.hh:206
OneEqVolumeVariables< Traits, NSVolVars > type
Definition freeflow/rans/oneeq/model.hh:226
FreeflowNonIsothermalIOFields< OneEqIOFields, true > type
Definition freeflow/rans/oneeq/model.hh:231
Volume variables for the isothermal single-phase one-equation turbulence model by Spalart-Allmaras.
Definition freeflow/rans/oneeq/volumevariables.hh:41
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.
The flux variables class for the one-equation turbulence model by Spalart-Allmaras....
The common indices for the isothermal one-equation turbulence model by Spalart-Allmaras.
Adds I/O fields specific to non-isothermal free-flow models.
Adds I/O fields for the one-equation turbulence model by Spalart-Allmaras.
The local residual class for the one-equation turbulence model by Spalart-Allmaras This is a convenie...
One-equation turbulence problem base class.
Volume variables for the isothermal single-phase one-equation turbulence model by Spalart-Allmaras.