33#ifndef DUMUX_NAVIERSTOKES_MOMENTUM_CVFE_MODEL_HH
34#define DUMUX_NAVIERSTOKES_MOMENTUM_CVFE_MODEL_HH
58template<
int dimension>
62 static constexpr int dim() {
return dimension; }
96template<
class PV,
class FSY,
class FST,
class MT>
129template<
class TypeTag>
130struct ModelTraits<TypeTag,
TTag::NavierStokesMomentumCVFEBase>
134 static constexpr auto dim = GridView::dimension;
145template<
class TypeTag>
146struct FluidState<TypeTag,
TTag::NavierStokesMomentumCVFEBase>{
155template<
class TypeTag>
156struct LocalResidual<TypeTag,
TTag::NavierStokesMomentumCVFE>
160template<
class TypeTag>
161struct LocalResidual<TypeTag,
TTag::NavierStokesMomentumFE>
165template<
class TypeTag>
166struct SpatialParams<TypeTag,
TTag::NavierStokesMomentumFE>
168 template<
class GG,
class S>
175 using ParentType::ParentType;
184template<
class TypeTag>
185struct VolumeVariables<TypeTag,
TTag::NavierStokesMomentumCVFEBase>
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.");
205template<
class TypeTag>
The interface of the coupling manager for multi domain problems.
Definition multidomain/couplingmanager.hh:37
The base class for spatial parameters used with finite-volume or finite-element schemes.
Definition common/spatialparams.hh:34
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
Definition immiscible.hh:30
Element-wise calculation of the Navier-Stokes residual for models using CVFE discretizations.
Definition freeflow/navierstokes/momentum/cvfe/localresidual.hh:57
Volume variables for the single-phase Navier-Stokes model.
Definition freeflow/navierstokes/momentum/cvfe/volumevariables.hh:25
Element-wise calculation of the Navier-Stokes residual for models using FE discretizations.
Definition felocalresidual.hh:184
Defines all properties used in Dumux.
Basic spatial parameters to be used with finite-volume or finite-element schemes.
Helper functions for assembling FE-based local residuals.
Diffusive heat flux according to Fourier's law.
Classes related to flux variables caching.
The common indices for the isothermal Navier-Stokes model.
Element-wise calculation of the Navier-Stokes residual for models using CVFE discretizations.
Volume variables for the single-phase Navier-Stokes 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.
Type tag for numeric models.
Definition grid.hh:24
The energy balance equation for a porous solid.
Definition common/properties.hh:26
The common indices for the isothermal Navier-Stokes model.
Definition freeflow/navierstokes/momentum/cvfe/indices.hh:25
Traits for the Navier-Stokes model.
Definition freeflow/navierstokes/momentum/cvfe/model.hh:60
static constexpr bool enableEnergyBalance()
The model is isothermal.
Definition freeflow/navierstokes/momentum/cvfe/model.hh:81
static constexpr int numEq()
Definition freeflow/navierstokes/momentum/cvfe/model.hh:66
static constexpr bool enableMolecularDiffusion()
The one-phase model has no molecular diffusion.
Definition freeflow/navierstokes/momentum/cvfe/model.hh:78
static constexpr int numFluidComponents()
The number of components is 1.
Definition freeflow/navierstokes/momentum/cvfe/model.hh:72
static constexpr int numFluidPhases()
The number of phases is 1.
Definition freeflow/navierstokes/momentum/cvfe/model.hh:69
static constexpr bool enableAdvection()
Enable advection.
Definition freeflow/navierstokes/momentum/cvfe/model.hh:75
static constexpr int dim()
The dimension of the model.
Definition freeflow/navierstokes/momentum/cvfe/model.hh:62
NavierStokesMomentumCVFEIndices< dim()> Indices
the indices
Definition freeflow/navierstokes/momentum/cvfe/model.hh:84
Traits class for the volume variables of the Navier-Stokes model.
Definition freeflow/navierstokes/momentum/cvfe/model.hh:98
FST FluidState
Definition freeflow/navierstokes/momentum/cvfe/model.hh:101
MT ModelTraits
Definition freeflow/navierstokes/momentum/cvfe/model.hh:102
PV PrimaryVariables
Definition freeflow/navierstokes/momentum/cvfe/model.hh:99
FSY FluidSystem
Definition freeflow/navierstokes/momentum/cvfe/model.hh:100
Definition freeflow/navierstokes/momentum/cvfe/model.hh:208
EmptyCouplingManager type
Definition freeflow/navierstokes/momentum/cvfe/model.hh:209
ImmiscibleFluidState< Scalar, FluidSystem > type
Definition freeflow/navierstokes/momentum/cvfe/model.hh:151
NavierStokesMomentumCVFELocalResidual< TypeTag > type
Definition freeflow/navierstokes/momentum/cvfe/model.hh:157
NavierStokesMomentumFELocalResidual< TypeTag > type
Definition freeflow/navierstokes/momentum/cvfe/model.hh:162
NavierStokesMomentumCVFEModelTraits< dim > type
Definition freeflow/navierstokes/momentum/cvfe/model.hh:136
Definition freeflow/navierstokes/momentum/cvfe/model.hh:171
Dumux::Experimental::SpatialParams< GridGeometry, Scalar, DefaultSpatialParams< GridGeometry, Scalar > > type
Definition freeflow/navierstokes/momentum/cvfe/model.hh:180
GetPropType< TypeTag, Properties::GridGeometry > GridGeometry
Definition freeflow/navierstokes/momentum/cvfe/model.hh:178
GetPropType< TypeTag, Properties::Scalar > Scalar
Definition freeflow/navierstokes/momentum/cvfe/model.hh:179
The type tag for the single-phase, isothermal Navier-Stokes model.
Definition freeflow/navierstokes/momentum/cvfe/model.hh:120
std::tuple< FreeFlow > InheritsFrom
Definition freeflow/navierstokes/momentum/cvfe/model.hh:120
Definition freeflow/navierstokes/momentum/cvfe/model.hh:121
std::tuple< NavierStokesMomentumCVFEBase > InheritsFrom
Definition freeflow/navierstokes/momentum/cvfe/model.hh:121
Definition freeflow/navierstokes/momentum/cvfe/model.hh:122
std::tuple< NavierStokesMomentumCVFEBase > InheritsFrom
Definition freeflow/navierstokes/momentum/cvfe/model.hh:122
NavierStokesMomentumCVFEVolumeVariables< Traits > type
Definition freeflow/navierstokes/momentum/cvfe/model.hh:199