46#ifndef DUMUX_NAVIERSTOKES_MOMENTUM_MODEL_HH
47#define DUMUX_NAVIERSTOKES_MOMENTUM_MODEL_HH
74template<
int dimension>
78 static constexpr int dim() {
return dimension; }
82 static constexpr int numEq() {
return 1; }
135namespace Properties {
151template<
class TypeTag>
152struct NormalizePressure<TypeTag, TTag::NavierStokesMomentum> {
static constexpr bool value =
true; };
155template<
class TypeTag>
160 static constexpr auto dim = GridView::dimension;
171template<
class TypeTag>
181template<
class TypeTag>
185template<
class TypeTag>
194 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
195 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
196 static_assert(!FSY::isMiscible(),
"The Navier-Stokes model only works with immiscible fluid systems.");
204template<
class TypeTag>
207template<
class TypeTag>
210template<
class TypeTag>
213template<
class TypeTag>
217 struct EmptyCouplingManager {};
219 using type = EmptyCouplingManager;
The available discretization methods in Dumux.
Classes related to flux variables caching.
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:150
Traits class encapsulating model specifications.
Definition: common/properties.hh:53
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
Stores data associated with flux vars.
Definition: common/properties.hh:115
The engine behind the global flux cache (how to fill caches for the stencil)
Definition: common/properties.hh:117
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
Definition: common/properties.hh:293
The empty filler class corresponding to EmptyCache.
Definition: fluxvariablescaching.hh:32
An empty flux variables cache.
Definition: fluxvariablescaching.hh:47
The flux variables class for the Navier-Stokes model using the staggered grid discretization.
Definition: freeflow/navierstokes/momentum/fluxvariables.hh:49
The common indices for the isothermal Navier-Stokes model.
Definition: freeflow/navierstokes/momentum/indices.hh:37
Element-wise calculation of the Navier-Stokes residual for models using the staggered discretization.
Definition: freeflow/navierstokes/momentum/localresidual.hh:51
Traits for the Navier-Stokes model.
Definition: freeflow/navierstokes/momentum/model.hh:76
static constexpr int numFluidPhases()
The number of phases is 1.
Definition: freeflow/navierstokes/momentum/model.hh:85
static constexpr bool enableEnergyBalance()
The model is isothermal.
Definition: freeflow/navierstokes/momentum/model.hh:97
static constexpr int numEq()
Definition: freeflow/navierstokes/momentum/model.hh:82
static constexpr bool enableMolecularDiffusion()
The one-phase model has no molecular diffusion.
Definition: freeflow/navierstokes/momentum/model.hh:94
static constexpr auto turbulenceModel()
return the type of turbulence model used
Definition: freeflow/navierstokes/momentum/model.hh:103
static constexpr bool enableAdvection()
Enable advection.
Definition: freeflow/navierstokes/momentum/model.hh:91
static constexpr int dim()
The dimension of the model.
Definition: freeflow/navierstokes/momentum/model.hh:78
static constexpr int numFluidComponents()
The number of components is 1.
Definition: freeflow/navierstokes/momentum/model.hh:88
static constexpr bool usesTurbulenceModel()
The model does not include a turbulence model.
Definition: freeflow/navierstokes/momentum/model.hh:100
Traits class for the volume variables of the Navier-Stokes model.
Definition: freeflow/navierstokes/momentum/model.hh:124
FST FluidState
Definition: freeflow/navierstokes/momentum/model.hh:127
MT ModelTraits
Definition: freeflow/navierstokes/momentum/model.hh:128
PV PrimaryVariables
Definition: freeflow/navierstokes/momentum/model.hh:125
FSY FluidSystem
Definition: freeflow/navierstokes/momentum/model.hh:126
The type tag for the single-phase, isothermal Navier-Stokes model.
Definition: freeflow/navierstokes/momentum/model.hh:144
std::tuple< FreeFlow > InheritsFrom
Definition: freeflow/navierstokes/momentum/model.hh:144
EmptyCouplingManager type
Definition: freeflow/navierstokes/momentum/model.hh:219
Volume variables for the single-phase Navier-Stokes model.
Definition: freeflow/navierstokes/momentum/volumevariables.hh:38
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
Definition: immiscible.hh:42
Declares all properties used in Dumux.
Defines a type tag and some properties for free flow models.
A single-phase, non-isothermal free-flow model.
Fourier's law specialized for different discretization schemes This file contains the data which is r...
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.