48#ifndef DUMUX_NAVIERSTOKES_MODEL_HH
49#define DUMUX_NAVIERSTOKES_MODEL_HH
75template<
int dimension>
79 static constexpr int dim() {
return dimension; }
83 static constexpr int numEq() {
return dimension+1; }
136namespace Properties {
154template<
class TypeTag>
158template<
class TypeTag>
163 static constexpr auto dim = GridView::dimension;
174template<
class TypeTag>
184template<
class TypeTag>
188template<
class TypeTag>
197 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
198 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
199 static_assert(!FSY::isMiscible(),
"The Navier-Stokes model only works with immiscible fluid systems.");
207template<
class TypeTag>
211template<
class TypeTag>
219template<
class TypeTag>
224 static constexpr auto dim = GridView::dimension;
231template<
class TypeTag>
The available discretization methods in Dumux.
Fourier's law specialized for different discretization schemes This file contains the data which is r...
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(....
Definition: propertysystem.hh:149
Traits class encapsulating model specifications.
Definition: common/properties.hh:65
A class helping models to define input and output fields.
Definition: common/properties.hh:78
Definition: common/properties.hh:91
The secondary variables within a sub-control volume.
Definition: common/properties.hh:174
Container storing the different types of flux variables.
Definition: common/properties.hh:180
The type of the fluid state to use.
Definition: common/properties.hh:225
Returns whether to normalize the pressure term in the momentum balance or not.
Definition: common/properties.hh:346
Definition: freeflow/navierstokes/fluxvariables.hh:35
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: dumux/freeflow/navierstokes/iofields.hh:79
Definition: freeflow/navierstokes/localresidual.hh:35
Traits for the Navier-Stokes model.
Definition: freeflow/navierstokes/model.hh:77
static constexpr int numFluidComponents()
The number of components is 1.
Definition: freeflow/navierstokes/model.hh:89
static constexpr bool enableAdvection()
Enable advection.
Definition: freeflow/navierstokes/model.hh:92
static constexpr int dim()
The dimension of the model.
Definition: freeflow/navierstokes/model.hh:79
static constexpr bool enableMolecularDiffusion()
The one-phase model has no molecular diffusion.
Definition: freeflow/navierstokes/model.hh:95
static constexpr int numEq()
Definition: freeflow/navierstokes/model.hh:83
static constexpr auto turbulenceModel()
return the type of turbulence model used
Definition: freeflow/navierstokes/model.hh:104
static constexpr bool usesTurbulenceModel()
The model does not include a turbulence model.
Definition: freeflow/navierstokes/model.hh:101
static constexpr bool enableEnergyBalance()
The model is isothermal.
Definition: freeflow/navierstokes/model.hh:98
static constexpr int numFluidPhases()
The number of phases is 1.
Definition: freeflow/navierstokes/model.hh:86
Traits class for the volume variables of the Navier-Stokes model.
Definition: freeflow/navierstokes/model.hh:125
PV PrimaryVariables
Definition: freeflow/navierstokes/model.hh:126
MT ModelTraits
Definition: freeflow/navierstokes/model.hh:129
FST FluidState
Definition: freeflow/navierstokes/model.hh:128
FSY FluidSystem
Definition: freeflow/navierstokes/model.hh:127
The type tag for the single-phase, isothermal Navier-Stokes model.
Definition: freeflow/navierstokes/model.hh:145
std::tuple< FreeFlow > InheritsFrom
Definition: freeflow/navierstokes/model.hh:145
The type tag for the corresponding non-isothermal model.
Definition: freeflow/navierstokes/model.hh:148
std::tuple< NavierStokes > InheritsFrom
Definition: freeflow/navierstokes/model.hh:148
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: dumux/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
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.
Base class for the flux variables in porous medium models.
Defines the primary variable and equation indices used by the isothermal tracer model.
Adds I/O fields specific to the twop model.
Element-wise calculation of the local residual for problems using fully implicit tracer model.
Base class for the model specific class which provides access to all volume averaged quantities.