46#ifndef DUMUX_NAVIERSTOKES_MODEL_HH
47#define DUMUX_NAVIERSTOKES_MODEL_HH
73template<
int dimension>
77 static constexpr int dim() {
return dimension; }
81 static constexpr int numEq() {
return dimension+1; }
152template<
class TypeTag>
156template<
class TypeTag>
161 static constexpr auto dim = GridView::dimension;
172template<
class TypeTag>
182template<
class TypeTag>
186template<
class TypeTag>
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.");
205template<
class TypeTag>
209template<
class TypeTag>
217template<
class TypeTag>
222 static constexpr auto dim = GridView::dimension;
229template<
class TypeTag>
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
The available discretization methods in Dumux.
@ none
Definition turbulencemodel.hh:39
NavierStokesResidualImpl< TypeTag, typename GetPropType< TypeTag, Properties::GridGeometry >::DiscretizationMethod > 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, typename GetPropType< TypeTag, Properties::GridGeometry >::DiscretizationMethod > NavierStokesFluxVariables
The flux variables class for the Navier-Stokes model. This is a convenience alias for that actual,...
Definition freeflow/navierstokes/fluxvariables.hh:45
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
The type of the fluid state to use.
Definition common/properties.hh:164
Returns whether to normalize the pressure term in the momentum balance or not.
Definition common/properties.hh:285
The common indices for the isothermal Navier-Stokes model.
Definition freeflow/navierstokes/indices.hh:37
Adds I/O fields for the Navier-Stokes model.
Definition freeflow/navierstokes/iofields.hh:79
Traits for the Navier-Stokes model.
Definition freeflow/navierstokes/model.hh:75
static constexpr int numFluidComponents()
The number of components is 1.
Definition freeflow/navierstokes/model.hh:87
static constexpr bool enableAdvection()
Enable advection.
Definition freeflow/navierstokes/model.hh:90
static constexpr int dim()
The dimension of the model.
Definition freeflow/navierstokes/model.hh:77
static constexpr bool enableMolecularDiffusion()
The one-phase model has no molecular diffusion.
Definition freeflow/navierstokes/model.hh:93
static constexpr int numEq()
Definition freeflow/navierstokes/model.hh:81
static constexpr auto turbulenceModel()
return the type of turbulence model used
Definition freeflow/navierstokes/model.hh:102
static constexpr bool usesTurbulenceModel()
The model does not include a turbulence model.
Definition freeflow/navierstokes/model.hh:99
static constexpr bool enableEnergyBalance()
The model is isothermal.
Definition freeflow/navierstokes/model.hh:96
NavierStokesIndices< dim()> Indices
the indices
Definition freeflow/navierstokes/model.hh:106
static constexpr int numFluidPhases()
The number of phases is 1.
Definition freeflow/navierstokes/model.hh:84
Traits class for the volume variables of the Navier-Stokes model.
Definition freeflow/navierstokes/model.hh:123
PV PrimaryVariables
Definition freeflow/navierstokes/model.hh:124
MT ModelTraits
Definition freeflow/navierstokes/model.hh:127
FST FluidState
Definition freeflow/navierstokes/model.hh:126
FSY FluidSystem
Definition freeflow/navierstokes/model.hh:125
The type tag for the single-phase, isothermal Navier-Stokes model.
Definition freeflow/navierstokes/model.hh:143
std::tuple< FreeFlow > InheritsFrom
Definition freeflow/navierstokes/model.hh:143
The type tag for the corresponding non-isothermal model.
Definition freeflow/navierstokes/model.hh:146
std::tuple< NavierStokes > InheritsFrom
Definition freeflow/navierstokes/model.hh:146
static constexpr bool value
Definition freeflow/navierstokes/model.hh:153
NavierStokesModelTraits< dim > type
Definition freeflow/navierstokes/model.hh:163
Dumux::ImmiscibleFluidState< Scalar, FluidSystem > type
Definition freeflow/navierstokes/model.hh:178
NavierStokesResidual< TypeTag > type
Definition freeflow/navierstokes/model.hh:183
NavierStokesVolumeVariables< Traits > type
Definition freeflow/navierstokes/model.hh:201
NavierStokesFluxVariables< TypeTag > type
Definition freeflow/navierstokes/model.hh:206
NavierStokesIOFields type
Definition freeflow/navierstokes/model.hh:210
FreeflowNIModelTraits< IsothermalTraits > type
Definition freeflow/navierstokes/model.hh:225
FreeflowNonIsothermalIOFields< NavierStokesIOFields > type
Definition freeflow/navierstokes/model.hh:230
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
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
Definition immiscible.hh:42
A single-phase, non-isothermal free-flow model.
Fourier's law specialized for different discretization schemes This file contains the data which is r...
The local residual class for the Navier-Stokes model (balance equations). This is a convenience alias...
Declares all properties used in Dumux.
Defines a type tag and some properties for free flow models.
The common indices for the isothermal Navier-Stokes model.
Indices for the non-isothermal Navier-Stokes model.
Adds I/O fields for the Navier-Stokes model.
Adds I/O fields specific to non-isothermal free-flow models.
The flux variables class for the Navier-Stokes model. This is a convenience alias for that actual,...
Volume variables for the single-phase Navier-Stokes model.