Single-phase Navier-Stokes flow. More...
Single-phase Navier-Stokes flow.
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}^{\textup{T}}) = \nabla \cdot (\mu (\nabla \textbf{v} + \nabla \textbf{v}^{\textup{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}^{\textup{T}})
is neglected.
The mass balance equation
\frac{\partial \varrho}{\partial t} + \nabla \cdot (\varrho \textbf{v}) - q = 0
closes the system.
So far, only the staggered grid spatial discretization (for structured grids) is available.
Files | |
file | freeflow/navierstokes/fluxvariables.hh |
file | freeflow/navierstokes/indices.hh |
file | dumux/freeflow/navierstokes/iofields.hh |
file | freeflow/navierstokes/localresidual.hh |
file | freeflow/navierstokes/model.hh |
A single-phase, isothermal Navier-Stokes model. | |
file | dumux/freeflow/navierstokes/problem.hh |
file | fluxoversurface.hh |
file | freeflow/navierstokes/staggered/fluxvariables.hh |
file | freeflow/navierstokes/staggered/localresidual.hh |
file | staggeredupwindfluxvariables.hh |
file | velocitygradients.hh |
file | freeflow/navierstokes/volumevariables.hh |
Classes | |
struct | Dumux::NavierStokesIndices< dimension > |
The common indices for the isothermal Navier-Stokes model. More... | |
class | Dumux::NavierStokesIOFields |
Adds I/O fields for the Navier-Stokes model. More... | |
struct | Dumux::NavierStokesModelTraits< dimension > |
Traits for the Navier-Stokes model. More... | |
struct | Dumux::NavierStokesVolumeVariablesTraits< PV, FSY, FST, MT > |
Traits class for the volume variables of the Navier-Stokes model. More... | |
class | Dumux::NavierStokesProblem< TypeTag > |
Navier-Stokes problem base class. More... | |
class | Dumux::FluxOverSurface< GridVariables, SolutionVector, ModelTraits, LocalResidual > |
Class used to calculate fluxes over surfaces. This only works for the staggered grid discretization. More... | |
class | Dumux::NavierStokesFluxVariablesImpl< TypeTag, DiscretizationMethod::staggered > |
The flux variables class for the Navier-Stokes model using the staggered grid discretization. More... | |
class | Dumux::NavierStokesResidualImpl< TypeTag, DiscretizationMethod::staggered > |
Element-wise calculation of the Navier-Stokes residual for models using the staggered discretization. More... | |
class | Dumux::StaggeredUpwindFluxVariables< TypeTag, upwindSchemeOrder > |
The upwinding variables class for the Navier-Stokes model using the staggered grid discretization. More... | |
class | Dumux::StaggeredVelocityGradients< Scalar, GridGeometry, BoundaryTypes, Indices > |
Helper class for calculating the velocity gradients for the Navier-Stokes model using the staggered grid discretization. More... | |
class | Dumux::NavierStokesVolumeVariables< Traits > |
Volume variables for the single-phase Navier-Stokes model. More... | |
Typedefs | |
template<class TypeTag > | |
using | Dumux::NavierStokesFluxVariables = NavierStokesFluxVariablesImpl< TypeTag, GetPropType< TypeTag, Properties::GridGeometry >::discMethod > |
The flux variables class for the Navier-Stokes model. This is a convenience alias for that actual, discretization-specific flux variables. More... | |
template<class TypeTag > | |
using | Dumux::NavierStokesResidual = NavierStokesResidualImpl< TypeTag, GetPropType< TypeTag, Properties::GridGeometry >::discMethod > |
The local residual class for the Navier-Stokes model (balance equations). This is a convenience alias for the actual, discretization-specific local residual. More... | |
Functions | |
template<class IOFields , class PrimaryVariables , class ModelTraits , class FluidSystem > | |
std::function< std::string(int, int)> | Dumux::createCellCenterPVNameFunction (const std::string ¶mGroup="") |
helper function to determine the names of cell-centered primary variables of a model with staggered grid discretization More... | |
template<class IOFields , class PrimaryVariables , class ModelTraits , class FluidSystem > | |
std::function< std::string(int, int)> | Dumux::createFacePVNameFunction (const std::string ¶mGroup="") |
helper function to determine the names of primary variables on the cell faces of a model with staggered grid discretization More... | |
using Dumux::NavierStokesFluxVariables = typedef NavierStokesFluxVariablesImpl<TypeTag, GetPropType<TypeTag, Properties::GridGeometry>::discMethod> |
The flux variables class for the Navier-Stokes model. This is a convenience alias for that actual, discretization-specific flux variables.
using Dumux::NavierStokesResidual = typedef NavierStokesResidualImpl<TypeTag, GetPropType<TypeTag, Properties::GridGeometry>::discMethod> |
The local residual class for the Navier-Stokes model (balance equations). This is a convenience alias for the actual, discretization-specific local residual.
std::function< std::string(int, int)> Dumux::createCellCenterPVNameFunction | ( | const std::string & | paramGroup = "" | ) |
helper function to determine the names of cell-centered primary variables of a model with staggered grid discretization
std::function< std::string(int, int)> Dumux::createFacePVNameFunction | ( | const std::string & | paramGroup = "" | ) |
helper function to determine the names of primary variables on the cell faces of a model with staggered grid discretization