28#ifndef DUMUX_SST_NC_MODEL_HH
29#define DUMUX_SST_NC_MODEL_HH
63template<
int dimension,
int nComp,
bool useMoles,
int replaceCompEqIdx>
68 static constexpr int numEq() {
return dimension+nComp+2; }
82template<
class TypeTag>
87 static constexpr int dimension = GridView::dimension;
89 static constexpr int numComponents = FluidSystem::numComponents;
97template<
class TypeTag>
105 static_assert(FSY::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid system");
106 static_assert(FST::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid state");
107 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
108 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
112 template<
class BaseTraits,
class DT>
113 struct NCTraits :
public BaseTraits {
using DiffusionType = DT; };
120template<
class TypeTag>
130template<
class TypeTag>
140template<
class TypeTag>
154template<
class TypeTag>
159 static constexpr int dim = GridView::dimension;
161 static constexpr int numComponents = FluidSystem::numComponents;
171template<
class TypeTag>
179 static_assert(FSY::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid system");
180 static_assert(FST::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid state");
181 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
182 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
186 template<
class BaseTraits,
class DT>
187 struct NCNITraits :
public BaseTraits {
using DiffusionType = DT; };
194template<
class TypeTag>
204template<
class TypeTag>
214template<
class TypeTag>
A single-phase, multi-component free-flow model.
@ sst
Definition turbulencemodel.hh:39
SSTResidualImpl< TypeTag, BaseLocalResidual, typename GetPropType< TypeTag, Properties::GridGeometry >::DiscretizationMethod > SSTResidual
The local residual class for the SST model. This is a convenience alias for the actual,...
Definition freeflow/rans/twoeq/sst/localresidual.hh:46
SSTFluxVariablesImpl< TypeTag, BaseFluxVariables, typename GetPropType< TypeTag, Properties::GridGeometry >::DiscretizationMethod > SSTFluxVariables
The flux variables class for the SST model. This is a convenience alias for that actual,...
Definition freeflow/rans/twoeq/sst/fluxvariables.hh:44
FreeflowNCFluxVariablesImpl< TypeTag, typename GetPropType< TypeTag, Properties::GridGeometry >::DiscretizationMethod > FreeflowNCFluxVariables
The flux variables class for the multi-component free-flow model. This is a convenience alias for tha...
Definition freeflow/compositional/fluxvariables.hh:44
FreeflowNCResidualImpl< TypeTag, typename GetPropType< TypeTag, Properties::GridGeometry >::DiscretizationMethod > FreeflowNCResidual
The local residual class for the multi-component free-flow model (balance equations)....
Definition freeflow/compositional/localresidual.hh:46
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:154
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
Type tag for numeric models.
Definition grid.hh:36
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
Adds I/O fields specific to the FreeflowNC model.
Definition freeflow/compositional/iofields.hh:38
Traits for the multi-component free-flow model.
Definition navierstokesncmodel.hh:88
The type tags for the single-phase, multi-component isothermal SST model.
Definition sstncmodel.hh:47
std::tuple< NavierStokesNC > InheritsFrom
Definition sstncmodel.hh:47
Traits for the SST multi-component modelstates some specifics of the isothermal multi-component sst m...
Definition sstncmodel.hh:65
RANSTwoEqIndices< dimension, nComp > Indices
the indices
Definition sstncmodel.hh:78
static constexpr int numEq()
Definition sstncmodel.hh:68
static constexpr auto turbulenceModel()
return the type of turbulence model used
Definition sstncmodel.hh:74
static constexpr bool usesTurbulenceModel()
The model does include a turbulence model.
Definition sstncmodel.hh:71
SSTNCModelTraits< dimension, numComponents, useMoles, replaceCompEqIdx > type
Definition sstncmodel.hh:93
SSTVolumeVariables< NCTraits< BaseTraits, DT >, NCVolVars > type
Definition sstncmodel.hh:116
SSTResidual< TypeTag, BaseLocalResidual > type
Definition sstncmodel.hh:126
SSTFluxVariables< TypeTag, BaseFluxVariables > type
Definition sstncmodel.hh:136
FreeflowNCIOFields< SSTIOFields, true > type
Definition sstncmodel.hh:141
The type tags for the single-phase, multi-component non-isothermal SST models.
Definition sstncmodel.hh:150
std::tuple< SSTNC, NavierStokesNCNI > InheritsFrom
Definition sstncmodel.hh:150
FreeflowNIModelTraits< IsothermalModelTraits > type
Definition sstncmodel.hh:167
SSTVolumeVariables< NCNITraits< BaseTraits, DT >, NCNIVolVars > type
Definition sstncmodel.hh:190
SSTResidual< TypeTag, BaseLocalResidual > type
Definition sstncmodel.hh:200
SSTFluxVariables< TypeTag, BaseFluxVariables > type
Definition sstncmodel.hh:210
FreeflowNonIsothermalIOFields< IsothermalIOFields, true > type
Definition sstncmodel.hh:220
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:123
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
The common indices for isothermal two-equation RANS models.
Definition freeflow/rans/twoeq/indices.hh:41
Adds I/O fields for the Reynolds-Averaged Navier-Stokes model.
Definition freeflow/rans/twoeq/sst/iofields.hh:36
Volume variables for the isothermal single-phase SST 2-Eq model.
Definition freeflow/rans/twoeq/sst/volumevariables.hh:42
A single-phase, isothermal SST (Shear Stress Transport) -Eq. model.
Declares all properties used in Dumux.
Adds I/O fields specific to the FreeflowNC model.
Adds I/O fields specific to non-isothermal free-flow models.