34#ifndef DUMUX_NAVIERSTOKES_MOMENTUM_MODEL_HH
35#define DUMUX_NAVIERSTOKES_MOMENTUM_MODEL_HH
61template<
int dimension>
65 static constexpr int dim() {
return dimension; }
69 static constexpr int numEq() {
return 1; }
122namespace Properties {
138template<
class TypeTag>
139struct NormalizePressure<TypeTag, TTag::NavierStokesMomentum> {
static constexpr bool value =
true; };
142template<
class TypeTag>
143struct ModelTraits<TypeTag, TTag::NavierStokesMomentum>
147 static constexpr auto dim = GridView::dimension;
158template<
class TypeTag>
159struct FluidState<TypeTag, TTag::NavierStokesMomentum>{
168template<
class TypeTag>
172template<
class TypeTag>
173struct VolumeVariables<TypeTag, TTag::NavierStokesMomentum>
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");
183 static_assert(!FSY::isMiscible(),
"The Navier-Stokes model only works with immiscible fluid systems.");
191template<
class TypeTag>
194template<
class TypeTag>
198 struct EmptyCouplingManager {};
200 using type = EmptyCouplingManager;
The interface of the coupling manager for multi domain problems.
Definition multidomain/couplingmanager.hh:48
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
Definition immiscible.hh:30
The flux variables class for the Navier-Stokes model using the staggered grid discretization.
Definition freeflow/navierstokes/momentum/fluxvariables.hh:37
Element-wise calculation of the Navier-Stokes residual for models using the staggered discretization.
Definition freeflow/navierstokes/momentum/localresidual.hh:31
Volume variables for the single-phase Navier-Stokes model.
Definition freeflow/navierstokes/momentum/volumevariables.hh:25
Defines all properties used in Dumux.
Diffusive heat flux according to Fourier's law.
The flux variables class for the Navier-Stokes model using the staggered grid discretization.
The common indices for the isothermal Navier-Stokes model.
Element-wise calculation of the Navier-Stokes residual for models using the staggered discretization.
Volume variables for the single-phase Navier-Stokes model.
Indices for the non-isothermal Navier-Stokes model.
Adds I/O fields specific to non-isothermal free-flow models.
A single-phase, non-isothermal free-flow model.
Defines a type tag and some properties for free flow models.
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition propertysystem.hh:296
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
The available discretization methods in Dumux.
The common indices for the isothermal Navier-Stokes model.
Definition freeflow/navierstokes/momentum/indices.hh:25
Traits for the Navier-Stokes model.
Definition freeflow/navierstokes/momentum/model.hh:63
static constexpr int numFluidPhases()
The number of phases is 1.
Definition freeflow/navierstokes/momentum/model.hh:72
static constexpr bool enableEnergyBalance()
The model is isothermal.
Definition freeflow/navierstokes/momentum/model.hh:84
static constexpr int numEq()
Definition freeflow/navierstokes/momentum/model.hh:69
static constexpr bool enableMolecularDiffusion()
The one-phase model has no molecular diffusion.
Definition freeflow/navierstokes/momentum/model.hh:81
static constexpr auto turbulenceModel()
return the type of turbulence model used
Definition freeflow/navierstokes/momentum/model.hh:90
static constexpr bool enableAdvection()
Enable advection.
Definition freeflow/navierstokes/momentum/model.hh:78
static constexpr int dim()
The dimension of the model.
Definition freeflow/navierstokes/momentum/model.hh:65
static constexpr int numFluidComponents()
The number of components is 1.
Definition freeflow/navierstokes/momentum/model.hh:75
static constexpr bool usesTurbulenceModel()
The model does not include a turbulence model.
Definition freeflow/navierstokes/momentum/model.hh:87
Traits class for the volume variables of the Navier-Stokes model.
Definition freeflow/navierstokes/momentum/model.hh:111
FST FluidState
Definition freeflow/navierstokes/momentum/model.hh:114
MT ModelTraits
Definition freeflow/navierstokes/momentum/model.hh:115
PV PrimaryVariables
Definition freeflow/navierstokes/momentum/model.hh:112
FSY FluidSystem
Definition freeflow/navierstokes/momentum/model.hh:113
EmptyCouplingManager type
Definition freeflow/navierstokes/momentum/model.hh:200
The type tag for the single-phase, isothermal Navier-Stokes model.
Definition freeflow/navierstokes/momentum/model.hh:131
std::tuple< FreeFlow > InheritsFrom
Definition freeflow/navierstokes/momentum/model.hh:131