version 3.11-dev
Loading...
Searching...
No Matches

Single-phase Navier-Stokes flow. More...

Description

A single-phase, isothermal Navier-Stokes model.

This model implements a single-phase, isothermal Navier-Stokes model, solving the momentum balance equation

\[\frac{\partial (\varrho \textbf{v})}{\partial t} + \nabla \cdot (\varrho \textbf{v} \textbf{v}^{\text{T}}) = \nabla \cdot (\mu (\nabla \textbf{v} + \nabla \textbf{v}^{\text{T}})) - \nabla p + \varrho \textbf{g} - \textbf{f} \]

By setting the runtime parameter Problem.EnableInertiaTerms to false the Stokes equation can be solved. In this case the term

\[ \nabla \cdot (\varrho \textbf{v} \textbf{v}^{\text{T}}) \]

is neglected.

The mass balance equation

\[ \frac{\partial \varrho}{\partial t} + \nabla \cdot (\varrho \textbf{v}) - q = 0 \]

closes the system.

The Navier-Stokes model can be extended to a Darcy-Brinkman model by adding the term:

\[ + \epsilon_B \mu \mathbf{K}^{-1} \mathbf{v} \]

to the momentum balance. This can be achieved with the helper function addBrinkmanTerm. This function relies on the spatial parameters class being based on BrinkmanSpatialParams or providing the brinkmanEpsilon and inversePermeability interfaces. These interface functions provide the weighting factor \( \epsilon_B \) and the permeability tensor \( \mathbf{K} \).

Classes

class  Dumux::NavierStokesBoundaryTypes< numEq >
 Class to specify the type of a boundary condition for the Navier-Stokes model. More...
class  Dumux::FluxOverAxisAlignedSurface< GridVariables, SolutionVector, LocalResidual >
 Class used to calculate fluxes over axis-aligned surfaces. More...
struct  Dumux::AdvectiveFlux< NavierStokesMassOnePModelTraits, T >
 Helper struct defining the advective fluxes of the single-phase flow Navier-Stokes mass model. More...
class  Dumux::NavierStokesMassOnePFluxVariables< Problem, ModelTraits, FluxTs, ElementVolumeVariables, ElementFluxVariablesCache, UpwindScheme >
 The flux variables class for the single-phase flow Navier-Stokes model. More...
struct  Dumux::NavierStokesMassOnePIndices
 The common indices for the isothermal Navier-Stokes mass conservation model. More...
class  Dumux::NavierStokesMassOnePIOFields
 Adds I/O fields for the Navier-Stokes model. More...
struct  Dumux::ImplementsAuxiliaryFluxNavierStokesMassOneP< Problem >
 Traits class to be specialized for problems to add auxiliary fluxes. More...
class  Dumux::NavierStokesMassOnePLocalResidual< TypeTag >
 Element-wise calculation of the Navier-Stokes residual for single-phase flow. More...
struct  Dumux::NavierStokesMassOnePModelTraits
 Traits for the single-phase flow Navier-Stokes mass model. More...
struct  Dumux::NavierStokesMassOnePVolumeVariablesTraits< PV, FSY, FST, MT >
 Traits class for the volume variables of the Navier-Stokes model. More...
class  Dumux::NavierStokesMassOnePVolumeVariables< Traits >
 Volume variables for the single-phase Navier-Stokes model. More...
struct  Dumux::AdvectiveFlux< NavierStokesMassOnePNCModelTraits< nComp, useM, repCompEqIdx > >
 Helper struct defining the advective fluxes of the single-phase flow multicomponent Navier-Stokes mass model. More...
class  Dumux::NavierStokesMassOnePNCFluxVariables< Problem, ModelTraits, FluxTs, ElementVolumeVariables, ElementFluxVariablesCache, UpwindScheme >
 The flux variables class for the single-phase flow, multi-component Navier-Stokes model. More...
struct  Dumux::NavierStokesMassOnePNCIndices
 The common indices for the isothermal Navier-Stokes mass conservation model. More...
class  Dumux::NavierStokesMassOnePNCLocalResidual< TypeTag >
 Element-wise calculation of the Navier-Stokes residual for multicomponent single-phase flow. More...
struct  Dumux::NavierStokesMassOnePNCModelTraits< nComp, useM, repCompEqIdx >
 Traits for the Navier-Stokes model. More...
struct  Dumux::NavierStokesMassOnePNCVolumeVariablesTraits< PV, FSY, FST, MT >
 Traits class for the volume variables of the Navier-Stokes model. More...
class  Dumux::NavierStokesMassOnePNCVolumeVariables< Traits >
 Volume variables for the single-phase Navier-Stokes model. More...
class  Dumux::NavierStokesMomentumBoundaryTypes< size >
 Class to specify the type of a boundary condition for the Navier-Stokes model. More...
class  Dumux::NavierStokesMomentumFELocalResidualTerms< Scalar, NumEqVector, LocalBasis, Extrusion >
 Helper class for evaluating FE-based local residuals. More...
class  Dumux::NavierStokesMomentumFluxContext< Problem, FVElementGeometry, ElementVolumeVariables, ElementFluxVariablesCache >
 Context for computing fluxes. More...
class  Dumux::NavierStokesMomentumFluxFunctionContext< Problem, FVElementGeometry, ElementVolumeVariables, IpData >
 Context for interpolating data on interpolation points. More...
class  Dumux::NavierStokesMomentumFluxCVFE< GridGeometry, NumEqVector >
 The flux variables class for the Navier-Stokes model using control-volume finite element schemes. More...
class  Dumux::NavierStokesMomentumFluxFunctionCVFE< GridGeometry, NumEqVector >
 The flux function class for the Navier-Stokes model using control-volume finite element schemes. More...
struct  Dumux::NavierStokesMomentumCVFEIndices< dimension >
 The common indices for the isothermal Navier-Stokes model. More...
class  Dumux::NavierStokesMomentumCVFELocalResidual< TypeTag >
 Element-wise calculation of the Navier-Stokes residual for models using CVFE discretizations. More...
struct  Dumux::NavierStokesMomentumCVFEModelTraits< dimension >
 Traits for the Navier-Stokes model. More...
struct  Dumux::NavierStokesMomentumCVFEVolumeVariablesTraits< PV, FSY, FST, MT >
 Traits class for the volume variables of the Navier-Stokes model. More...
class  Dumux::NavierStokesMomentumCVFEVariables< Traits >
 Variables for the single-phase Navier-Stokes model. More...
class  Dumux::NavierStokesMomentumCVFEVolumeVariables< Traits >
 Volume variables for the single-phase Navier-Stokes model. More...
class  Dumux::NavierStokesMomentumFCStaggeredFluxVariables< TypeTag >
 The flux variables class for the Navier-Stokes model using the fcstaggered grid discretization. More...
struct  Dumux::NavierStokesMomentumFCStaggeredIndices< dimension >
 The common indices for the isothermal Navier-Stokes model. More...
class  Dumux::NavierStokesMomentumFCStaggeredResidual< TypeTag >
 Element-wise calculation of the Navier-Stokes residual for models using the staggered discretization. More...
struct  Dumux::NavierStokesMomentumModelTraits< dimension >
 Traits for the Navier-Stokes model. More...
struct  Dumux::NavierStokesMomentumFCStaggeredVolumeVariablesTraits< PV, FSY, FST, MT >
 Traits class for the volume variables of the Navier-Stokes model. More...
class  Dumux::FCStaggeredVelocityGradients
 Helper class for calculating the velocity gradients for the Navier-Stokes model using the staggered grid discretization. More...
class  Dumux::NavierStokesMomentumFCStaggeredVolumeVariables< Traits >
 Volume variables for the single-phase Navier-Stokes model. More...
struct  Dumux::NavierStokesMomentumBoundaryFlux< DiscretizationMethod, SlipVelocityPolicy >
 Class to compute the boundary flux for the momentum balance of the Navier-Stokes model This helper class is typically used in the Neumann function of the momentum problem. More...
struct  Dumux::NavierStokesMomentumBoundaryFlux< DiscretizationMethods::FCStaggered, SlipVelocityPolicy >
 Class to compute the boundary flux for the momentum balance of the Navier-Stokes model This helper class is typically used in the Neumann function of the momentum problem. More...
struct  Dumux::NavierStokes::SlipConditions::BJ
 Tag for the Beavers-Joseph slip condition. More...
struct  Dumux::NavierStokes::SlipConditions::BJS
 Tag for the Beavers-Joseph-Saffman slip condition. More...
class  Dumux::NavierStokesSlipVelocity< DiscretizationMethod, SlipCondition >
 Navier Stokes slip velocity policy. More...
class  Dumux::NavierStokesSlipVelocity< DiscretizationMethods::FCStaggered, SlipCondition >
 Navier Stokes slip velocity helper for fcstaggered discretization. More...
class  Dumux::NavierStokesVelocityOutput< GridVariables >
 Velocity output for staggered free-flow models. More...
struct  Dumux::StaggeredVelocityReconstruction
 Helper class for reconstructing the velocity. More...
struct  Dumux::NavierStokesScalarBoundaryFluxHelper< AdvectiveFlux >
 Navier Stokes scalar boundary flux helper. More...
class  Dumux::NavierStokesScalarConservationModelFluxVariables< Problem, ModelTraits, FluxTypes, ElementVolumeVariables, ElementFluxVariablesCache, UpwindScheme >
 The flux variables base class for scalar quantities balanced in the Navier-Stokes model. More...
class  Dumux::NavierStokesScalarConservationModelVolumeVariables< Traits >
 Volume variables for the single-phase Navier-Stokes model. More...

Typedefs

template<class TypeTag>
using Dumux::NavierStokesMassProblem
 Navier-Stokes mass problem class.
template<class TypeTag>
using Dumux::NavierStokesMomentumProblem
 Navier-Stokes momentum problem class.
template<class Problem, class ModelTraits, bool diffusionIsSolDependent, bool heatConductionIsSolDependent>
using Dumux::FreeFlowScalarFluxVariablesCacheFiller = FreeFlowScalarFluxVariablesCacheFillerImplementation<Problem, ModelTraits, diffusionIsSolDependent, heatConductionIsSolDependent, typename ProblemTraits<Problem>::GridGeometry::DiscretizationMethod>
 The flux variables cache filler class for free flow.

Variables

constexpr BJ Dumux::NavierStokes::SlipConditions::bj {}
 Tag for the Beavers-Joseph slip condition.
constexpr BJS Dumux::NavierStokes::SlipConditions::bjs {}
 Tag for the Beavers-Joseph-Saffman slip condition.

Files

file  boundarytypes.hh
 Class to specify the type of a boundary condition for the Navier-Stokes model.
file  fluxoveraxisalignedsurface.hh
 Class used to calculate fluxes over axis-aligned surfaces.
file  advectiveflux.hh
 Helper struct defining the advective fluxes of the single-phase flow Navier-Stokes mass model.
file  fluxvariables.hh
 The flux variables class for the single-phase flow Navier-Stokes model.
file  indices.hh
 The common indices for the isothermal Navier-Stokes mass conservation model.
file  iofields.hh
 Adds I/O fields for the Navier-Stokes model.
file  localresidual.hh
 Element-wise calculation of the Navier-Stokes residual for single-phase flow.
file  model.hh
 A single-phase, isothermal Navier-Stokes model.
file  volumevariables.hh
 Volume variables for the single-phase Navier-Stokes model.
file  advectiveflux.hh
 Helper struct defining the advective fluxes of the single-phase flow multicomponent Navier-Stokes mass model.
file  fluxvariables.hh
 The flux variables class for the single-phase flow, multi-component Navier-Stokes model.
file  indices.hh
 The common indices for the isothermal Navier-Stokes mass conservation model.
file  localresidual.hh
 Element-wise calculation of the Navier-Stokes residual for multicomponent single-phase flow.
file  model.hh
 A single-phase, isothermal Navier-Stokes model.
file  volumevariables.hh
 Volume variables for the single-phase Navier-Stokes model.
file  problem.hh
 Navier-Stokes mass problem class.
file  boundarytypes.hh
 Class to specify the type of a boundary condition for the Navier-Stokes model.
file  brinkman.hh
 A helper function to add Brinkman term to the momentum balance.
file  felocalresidual.hh
 Helper functions for assembling FE-based local residuals.
file  flux.hh
 The flux variables class for the Navier-Stokes model using control-volume finite element schemes.
file  indices.hh
 The common indices for the isothermal Navier-Stokes model.
file  localresidual.hh
 Element-wise calculation of the Navier-Stokes residual for models using CVFE discretizations.
file  model.hh
 A single-phase, isothermal Navier-Stokes model.
file  variables.hh
 Variables for the single-phase Navier-Stokes model.
file  volumevariables.hh
 Volume variables for the single-phase Navier-Stokes model.
file  fluxvariables.hh
 The flux variables class for the Navier-Stokes model using the fcstaggered grid discretization.
file  indices.hh
 The common indices for the isothermal Navier-Stokes model.
file  localresidual.hh
 Element-wise calculation of the Navier-Stokes residual for models using the staggered discretization.
file  model.hh
 A single-phase, isothermal Navier-Stokes model.
file  velocitygradients.hh
 Helper class for calculating the velocity gradients for the Navier-Stokes model using the staggered grid discretization.
file  volumevariables.hh
 Volume variables for the single-phase Navier-Stokes model.
file  fluxhelper.hh
 Class to compute the boundary flux for the momentum balance of the Navier-Stokes model This helper class is typically used in the Neumann function of the momentum problem.
file  fluxvariables.hh
 
file  indices.hh
 
file  localresidual.hh
 
file  model.hh
 A single-phase, isothermal Navier-Stokes model.
file  problem.hh
 Navier-Stokes momentum problem class.
file  slipcondition.hh
 Navier Stokes slip condition.
file  velocitygradients.hh
 Helper class for calculating the velocity gradients for the Navier-Stokes model using the staggered grid discretization.
file  velocityoutput.hh
 Velocity output for staggered free-flow models.
file  velocityreconstruction.hh
 Helper class for reconstructing the velocity.
file  volumevariables.hh
 Volume variables for the single-phase Navier-Stokes model.
file  scalarfluxhelper.hh
 Navier Stokes scalar boundary flux helper.
file  scalarfluxvariables.hh
 The flux variables base class for scalar quantities balanced in the Navier-Stokes model.
file  scalarfluxvariablescachefiller.hh
 A helper class to fill the flux variables cache.
file  scalarvolumevariables.hh
 Volume variables for the single-phase Navier-Stokes model.
file  slipcondition.hh
 Navier Stokes slip condition.
file  velocityoutput.hh
 Velocity output for staggered free-flow models.

Typedef Documentation

◆ FreeFlowScalarFluxVariablesCacheFiller

template<class Problem, class ModelTraits, bool diffusionIsSolDependent, bool heatConductionIsSolDependent>
using Dumux::FreeFlowScalarFluxVariablesCacheFiller = FreeFlowScalarFluxVariablesCacheFillerImplementation<Problem, ModelTraits, diffusionIsSolDependent, heatConductionIsSolDependent, typename ProblemTraits<Problem>::GridGeometry::DiscretizationMethod>

Helps filling the flux variables cache depending on several policies

◆ NavierStokesMassProblem

template<class TypeTag>
using Dumux::NavierStokesMassProblem
Initial value:
>
Definition freeflow/navierstokes/mass/problem.hh:30
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition propertysystem.hh:296

Inherit from this problem to implement Navier-Stokes mass problems

◆ NavierStokesMomentumProblem

template<class TypeTag>
using Dumux::NavierStokesMomentumProblem
Initial value:

Inherit from this problem to implement Navier-Stokes momentum problems

Variable Documentation

◆ bj

BJ Dumux::NavierStokes::SlipConditions::bj {}
inlineconstexpr

◆ bjs

BJS Dumux::NavierStokes::SlipConditions::bjs {}
inlineconstexpr