46#ifndef DUMUX_NAVIERSTOKES_MOMENTUM_MODEL_HH
47#define DUMUX_NAVIERSTOKES_MOMENTUM_MODEL_HH
73template<
int dimension>
77 static constexpr int dim() {
return dimension; }
81 static constexpr int numEq() {
return 1; }
134namespace Properties {
150template<
class TypeTag>
151struct NormalizePressure<TypeTag, TTag::NavierStokesMomentum> {
static constexpr bool value =
true; };
154template<
class TypeTag>
159 static constexpr auto dim = GridView::dimension;
170template<
class TypeTag>
180template<
class TypeTag>
184template<
class TypeTag>
193 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
194 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
195 static_assert(!FSY::isMiscible(),
"The Navier-Stokes model only works with immiscible fluid systems.");
203template<
class TypeTag>
206template<
class TypeTag>
210 struct EmptyCouplingManager {};
212 using type = EmptyCouplingManager;
The available discretization methods in Dumux.
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.
Definition: adapt.hh:29
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:180
Traits class encapsulating model specifications.
Definition: common/properties.hh:51
Definition: common/properties.hh:72
The secondary variables within a sub-control volume.
Definition: common/properties.hh:105
Container storing the different types of flux variables.
Definition: common/properties.hh:111
The type of the fluid state to use.
Definition: common/properties.hh:162
Returns whether to normalize the pressure term in the momentum balance or not.
Definition: common/properties.hh:283
Definition: common/properties.hh:291
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:43
Traits for the Navier-Stokes model.
Definition: freeflow/navierstokes/momentum/model.hh:75
static constexpr int numFluidPhases()
The number of phases is 1.
Definition: freeflow/navierstokes/momentum/model.hh:84
static constexpr bool enableEnergyBalance()
The model is isothermal.
Definition: freeflow/navierstokes/momentum/model.hh:96
static constexpr int numEq()
Definition: freeflow/navierstokes/momentum/model.hh:81
static constexpr bool enableMolecularDiffusion()
The one-phase model has no molecular diffusion.
Definition: freeflow/navierstokes/momentum/model.hh:93
static constexpr auto turbulenceModel()
return the type of turbulence model used
Definition: freeflow/navierstokes/momentum/model.hh:102
static constexpr bool enableAdvection()
Enable advection.
Definition: freeflow/navierstokes/momentum/model.hh:90
static constexpr int dim()
The dimension of the model.
Definition: freeflow/navierstokes/momentum/model.hh:77
static constexpr int numFluidComponents()
The number of components is 1.
Definition: freeflow/navierstokes/momentum/model.hh:87
static constexpr bool usesTurbulenceModel()
The model does not include a turbulence model.
Definition: freeflow/navierstokes/momentum/model.hh:99
Traits class for the volume variables of the Navier-Stokes model.
Definition: freeflow/navierstokes/momentum/model.hh:123
FST FluidState
Definition: freeflow/navierstokes/momentum/model.hh:126
MT ModelTraits
Definition: freeflow/navierstokes/momentum/model.hh:127
PV PrimaryVariables
Definition: freeflow/navierstokes/momentum/model.hh:124
FSY FluidSystem
Definition: freeflow/navierstokes/momentum/model.hh:125
The type tag for the single-phase, isothermal Navier-Stokes model.
Definition: freeflow/navierstokes/momentum/model.hh:143
std::tuple< FreeFlow > InheritsFrom
Definition: freeflow/navierstokes/momentum/model.hh:143
EmptyCouplingManager type
Definition: freeflow/navierstokes/momentum/model.hh:212
Volume variables for the single-phase Navier-Stokes model.
Definition: freeflow/navierstokes/momentum/volumevariables.hh:37
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.
Diffusive heat flux according to Fourier's law.
Base class for the flux variables in porous medium models.
Defines the primary variable and equation indices used by the isothermal tracer model.
Element-wise calculation of the local residual for problems using fully implicit tracer model.
Python wrapper for volume variables (finite volume schemes)