Navier–Stokes equations#
The Navier–Stokes equations represent the fundamental principles of fluid mechanics, expressing the conservation of momentum and mass in a fluid. They provide a comprehensive description of fluid flow behavior across a wide range of physical situations. Because these equations capture the essential physics of Newtonian fluids–such as air, water, and gases under ‘standard’ conditions–they form the fundamental basis for analyzing and predicting flow dynamics.
Example use case:
incompressible: Solving for the base flow of the cylinder wake
References:
Nomenclature:
\(\mathbf{u}\): velocity vector
\(p\): pressure
\(\rho\): density
\(\mathbf{\tau}\): viscous stress tensor
\(\mu\): dynamic viscosity
\(\mathbf{I}\): identity tensor
\(X_p\): test function for mass equation
\(\mathbf{X}_\mathbf{u}\): test function for momentum equations
In the following, first the incompressible Navier–Stokes equations are described. Then, the details on mass and momentum equation of the compressible Navier–Stokes equations are given. For details on the energy equation, which is also needed for a compressible formulation, see the section on Energy equations.
1. Incompressible equations#
Assumptions:
primitive variables
\(\rho = \textrm{const}\), this is reasonable if the Mach number is low, and if there are no large temperature gradients, no acoustics, no combustion
no additional source terms
no gravitational forces
Nonlinear incompressible Navier–Stokes equations#
The mass equation is
The momentum equations are
where the viscous stress tensor \(\mathbf{\tau}\) is
Base flow equations (incompressible)#
We consider the flow field to be comprised of a time-invariant base flow, which can be either a time-averaged solution or a fixed point solution of the Navier–Stokes equations, and the perturbation, such that
Inserting this into the Navier–Stokes equations and taking the time-average we get the base flow equations.
The mass equation is
The momentum equations are
where the mean viscous stress tensor \(\overline{\mathbf{\tau}}\) is
Weak form of the incompressible base flow equations#
Note
The weak form of the incompressible nonlinear base flow equations is only implicitly included in the generalized compressible form of the Navier–Stokes equations (see below) and is, therefore, not stated here.
Linearized incompressible Navier–Stokes equations#
The mass equation is
The momentum equations are
where the fluctuating viscous stress tensor \(\tau'\) is
Weak form of the linearized Navier–Stokes equations#
Note
The weak form of the incompressible linearized Navier–Stokes equations is only implicitly included in the generalized compressible form of the Navier–Stokes equations (see below) and is, therefore, not stated here.
2. Compressible equations#
Assumptions:
primitive variables
no additional source terms
no gravitational forces
In the following, details on mass and momentum equations of the compressible Navier–Stokes equations are given. For details on the energy equation, which is also needed for a compressible formulation, see the section on Energy equations.
Nonlinear compressible Navier–Stokes equations#
The mass equation is
The momentum equations are
where the viscous stress tensor \(\tau\) is
Base flow equations (compressible)#
We consider the flow field to be comprised of a time-invariant base flow, which can be either a time-averaged flow or fixed point solution, and the perturbation, such that
Note
For the compressible equations, the overbar represents a Favre average for the velocity and a Reynolds average for pressure and density.
Inserting this into the Navier–Stokes equations and taking the average we get the base flow equations.
The mass equation is
The momentum equations are
where the mean viscous stress tensor \(\overline{\mathbf{\tau}}\) is
Weak form of the compressible base flow equations#
The weak form of the nonlinear base flow equations, as implemented in FELiCS, is
Linearized compressible Navier–Stokes equations#
The mass equation is
The momentum equations are
where the fluctuating viscous stress tensor \(\tau'\) is
and where \(\mu_\textrm{eff}'\) is the fluctuating effective dynamic viscosity (see Viscosity models and Turbulence models for details).
Weak form of the linearized Navier–Stokes equations#
The weak form of the linearized Navier–Stokes equations with normal mode ansatz, as implemented in FELiCS, is
Note
In the linearized equations, the convective term is not integrated by parts.