# Physics:Navier–Stokes equations

__: Equations describing the motion of viscous fluid substances__

**Short description**Continuum mechanics |
---|

The **Navier–Stokes equations** (/nævˈjeɪ stoʊks/ *nav-YAY STOHKS*) are partial differential equations which describe the motion of viscous fluid substances. They were named after French engineer and physicist Claude-Louis Navier and the Irish physicist and mathematician George Gabriel Stokes. They were developed over several decades of progressively building the theories, from 1822 (Navier) to 1842–1850 (Stokes).

The Navier–Stokes equations mathematically express momentum balance for Newtonian fluids and making use of conservation of mass. They are sometimes accompanied by an equation of state relating pressure, temperature and density.^{[1]} They arise from applying Isaac Newton's second law to fluid motion, together with the assumption that the stress in the fluid is the sum of a diffusing viscous term (proportional to the gradient of velocity) and a pressure term—hence describing *viscous flow*. The difference between them and the closely related Euler equations is that Navier–Stokes equations take viscosity into account while the Euler equations model only inviscid flow. As a result, the Navier–Stokes are a parabolic equation and therefore have better analytic properties, at the expense of having less mathematical structure (e.g. they are never completely integrable).

The Navier–Stokes equations are useful because they describe the physics of many phenomena of scientific and engineering interest. They may be used to model the weather, ocean currents, water flow in a pipe and air flow around a wing. The Navier–Stokes equations, in their full and simplified forms, help with the design of aircraft and cars, the study of blood flow, the design of power stations, the analysis of pollution, and many other problems. Coupled with Maxwell's equations, they can be used to model and study magnetohydrodynamics.

The Navier–Stokes equations are also of great interest in a purely mathematical sense. Despite their wide range of practical uses, it has not yet been proven whether smooth solutions always exist in three dimensions—i.e., whether they are infinitely differentiable (or even just bounded) at all points in the domain. This is called the Navier–Stokes existence and smoothness problem. The Clay Mathematics Institute has called this one of the seven most important open problems in mathematics and has offered a US$1 million prize for a solution or a counterexample.^{[2]}^{[3]}

## Flow velocity

The solution of the equations is a flow velocity. It is a vector field—to every point in a fluid, at any moment in a time interval, it gives a vector whose direction and magnitude are those of the velocity of the fluid at that point in space and at that moment in time. It is usually studied in three spatial dimensions and one time dimension, although two (spatial) dimensional and steady-state cases are often used as models, and higher-dimensional analogues are studied in both pure and applied mathematics. Once the velocity field is calculated, other quantities of interest such as pressure or temperature may be found using dynamical equations and relations. This is different from what one normally sees in classical mechanics, where solutions are typically trajectories of position of a particle or deflection of a continuum. Studying velocity instead of position makes more sense for a fluid, although for visualization purposes one can compute various trajectories. In particular, the streamlines of a vector field, interpreted as flow velocity, are the paths along which a massless fluid particle would travel. These paths are the integral curves whose derivative at each point is equal to the vector field, and they can represent visually the behavior of the vector field at a point in time.

## General continuum equations

The Navier–Stokes momentum equation can be derived as a particular form of the Cauchy momentum equation, whose general convective form is [math]\displaystyle{ \frac{\mathrm{D} \mathbf{u}}{\mathrm{D} t} = \frac 1 \rho \nabla \cdot \boldsymbol{\sigma} + \mathbf{g}. }[/math] By setting the Cauchy stress tensor [math]\displaystyle{ \boldsymbol{\sigma} }[/math] to be the sum of a viscosity term [math]\displaystyle{ \boldsymbol{\tau} }[/math] (the deviatoric stress) and a pressure term [math]\displaystyle{ -p \mathbf{I} }[/math] (volumetric stress), we arrive at

**Cauchy momentum equation**

*(convective form)*

[math]\displaystyle{ \rho\frac{\mathrm{D} \mathbf{u}}{\mathrm{D} t} = - \nabla p + \nabla \cdot \boldsymbol \tau + \rho\,\mathbf{g} }[/math]

where

- [math]\displaystyle{ \frac{\mathrm{D}}{\mathrm{D}t} }[/math] is the material derivative, defined as [math]\displaystyle{ \frac{\partial}{\partial t} + \mathbf{u} \cdot \nabla }[/math],
- [math]\displaystyle{ \rho }[/math] is the (mass) density,
- [math]\displaystyle{ \mathbf{u} }[/math] is the flow velocity,
- [math]\displaystyle{ \nabla \cdot \, }[/math] is the divergence,
- [math]\displaystyle{ p }[/math] is the pressure,
- [math]\displaystyle{ t }[/math] is time,
- [math]\displaystyle{ \boldsymbol{\tau} }[/math] is the deviatoric stress tensor, which has order 2,
- [math]\displaystyle{ \mathbf{g} }[/math] represents body accelerations acting on the continuum, for example gravity, inertial accelerations, electrostatic accelerations, and so on.

In this form, it is apparent that in the assumption of an inviscid fluid – no deviatoric stress – Cauchy equations reduce to the Euler equations.

Assuming conservation of mass, with the known properties of divergence and gradient we can use the mass continuity equation, which represents the mass per unit volume of a homogenous fluid with respect to space and time (i.e., material derivative [math]\displaystyle{ \frac{\mathbf{D}}{\mathbf{Dt}} }[/math]) of any finite volume (**V**) to represent the change of velocity in fluid media:
[math]\displaystyle{ \frac{\mathbf{D}m}{{\mathbf{Dt}}} = {\iiint\limits_V}({\frac{\mathbf{D}\rho}{{\mathbf{Dt}}} + \rho (\nabla \cdot \mathbf{u})})dV = \frac{\mathbf{D}\rho}{{\mathbf{Dt}}} + \rho (\nabla \cdot{\mathbf{u}}) = \frac{\partial\rho}{\partial t} + ({\nabla \rho}) \cdot{\mathbf{u}} + {\rho}(\nabla \cdot \mathbf{u}) = \frac{\partial\rho}{\partial t} + \nabla({\rho \mathbf{u}})= 0 }[/math]where

- [math]\displaystyle{ \frac{\mathrm{D}m}{\mathrm{D}t} }[/math] is the material derivative of mass per unit volume (density, [math]\displaystyle{ \rho }[/math]),
- [math]\displaystyle{ {\iiint \limits_V}(F(x_1, x_2, x_3 ,t))dV }[/math] is the mathematical operation for the integration throughout the volume (
*V*), - [math]\displaystyle{ \frac{\partial }{\partial t} }[/math] is the partial derivative mathematical operator,
- [math]\displaystyle{ \nabla \cdot \mathbf{u}\, }[/math] is the divergence of the flow velocity ([math]\displaystyle{ \mathbf{u} }[/math]), which is a scalar field,
^{Note 1} - [math]\displaystyle{ {\nabla \rho} \, }[/math] is the gradient of density ([math]\displaystyle{ \rho }[/math]), which is the vector derivative of a scalar field,
^{Note 1}

^{Note 1 - Refer to the mathematical operator del represented by the nabla ([math]\displaystyle{ \nabla }[/math]) symbol.}

to arrive at the conservation form of the equations of motion. This is often written:^{[4]}

**Cauchy momentum equation**

*(conservation form)*

[math]\displaystyle{ \frac {\partial}{\partial t} (\rho\,\mathbf{u}) + \nabla \cdot (\rho\,\mathbf{u} \otimes \mathbf{u}) = - \nabla p + \nabla \cdot \boldsymbol \tau + \rho\,\mathbf{g} }[/math]

where [math]\displaystyle{ \otimes }[/math] is the outer product of the flow velocity ([math]\displaystyle{ \mathbf{u} }[/math]):[math]\displaystyle{ \mathbf u \otimes \mathbf u = \mathbf u \mathbf u^{\mathrm T} }[/math]

The left side of the equation describes acceleration, and may be composed of time-dependent and convective components (also the effects of non-inertial coordinates if present). The right side of the equation is in effect a summation of hydrostatic effects, the divergence of deviatoric stress and body forces (such as gravity).

All non-relativistic balance equations, such as the Navier–Stokes equations, can be derived by beginning with the Cauchy equations and specifying the stress tensor through a constitutive relation. By expressing the deviatoric (shear) stress tensor in terms of viscosity and the fluid velocity gradient, and assuming constant viscosity, the above Cauchy equations will lead to the Navier–Stokes equations below.

### Convective acceleration

A significant feature of the Cauchy equation and consequently all other continuum equations (including Euler and Navier–Stokes) is the presence of convective acceleration: the effect of acceleration of a flow with respect to space. While individual fluid particles indeed experience time-dependent acceleration, the convective acceleration of the flow field is a spatial effect, one example being fluid speeding up in a nozzle.

## Compressible flow

Remark: here, the deviatoric stress tensor is denoted [math]\displaystyle{ \boldsymbol{\sigma} }[/math] (instead of [math]\displaystyle{ \boldsymbol{\tau} }[/math] as it was in the general continuum equations and in the incompressible flow section).

The compressible momentum Navier–Stokes equation results from the following assumptions on the Cauchy stress tensor:^{[5]}

- the stress is
**Galilean invariant**: it does not depend directly on the flow velocity, but only on spatial derivatives of the flow velocity. So the stress variable is the tensor gradient [math]\displaystyle{ \nabla \mathbf{u} }[/math]. - the stress is
**linear**in this variable: [math]\displaystyle{ \boldsymbol{\sigma}\left(\nabla \mathbf{u} \right) = \mathbf{C} : \left(\nabla \mathbf{u} \right) }[/math], where [math]\displaystyle{ \mathbf{C} }[/math] is the fourth-order tensor representing the constant of proportionality, called the viscosity or elasticity tensor, and : is the double-dot product. - the fluid is assumed to be isotropic, as with gases and simple liquids, and consequently [math]\displaystyle{ \mathbf{V} }[/math] is an isotropic tensor; furthermore, since the stress tensor is symmetric, by Helmholtz decomposition it can be expressed in terms of two scalar Lamé parameters, the second viscosity [math]\displaystyle{ \lambda }[/math] and the dynamic viscosity [math]\displaystyle{ \mu }[/math], as it is usual in linear elasticity:
**Linear stress constitutive equation***(expression used for elastic solid)*[math]\displaystyle{ \boldsymbol \sigma = \lambda (\nabla\cdot\mathbf{u}) \mathbf I + 2 \mu \boldsymbol \varepsilon }[/math]

where [math]\displaystyle{ \mathbf{I} }[/math] is the identity tensor, [math]\displaystyle{ \boldsymbol{\varepsilon}\left(\nabla \mathbf{u}\right) \equiv \frac{1}{2}\nabla \mathbf{u} + \frac{1}{2} \left(\nabla \mathbf{u}\right)^T }[/math] is the rate-of-strain tensor and [math]\displaystyle{ \nabla \cdot \mathbf{u} }[/math] is the divergence (i.e. rate of expansion) of the flow. So this decomposition can be explicitly defined as: [math]\displaystyle{ \boldsymbol \sigma = \lambda (\nabla\cdot\mathbf{u}) \mathbf I + \mu \left(\nabla\mathbf{u} + ( \nabla\mathbf{u} )^\mathrm{T}\right). }[/math]

Since the trace of the rate-of-strain tensor in three dimensions is: [math]\displaystyle{ \operatorname{tr} (\boldsymbol \varepsilon) = \nabla\cdot\mathbf{u}. }[/math]

The trace of the stress tensor in three dimensions becomes: [math]\displaystyle{ \operatorname{tr} (\boldsymbol \sigma) = (3 \lambda + 2 \mu )\nabla\cdot\mathbf{u}. }[/math]

So by alternatively decomposing the stress tensor into **isotropic** and **deviatoric** parts, as usual in fluid dynamics:^{[6]}
[math]\displaystyle{ \boldsymbol \sigma = \left(\lambda + \tfrac23 \mu\right) \left(\nabla\cdot\mathbf{u}\right)\mathbf I + \mu \left(\nabla\mathbf{u} + \left( \nabla\mathbf{u} \right)^\mathrm{T} - \tfrac23 \left(\nabla\cdot\mathbf{u}\right)\mathbf I\right) }[/math]

Introducing the bulk viscosity [math]\displaystyle{ \zeta }[/math], [math]\displaystyle{ \zeta \equiv \lambda + \tfrac23 \mu , }[/math]

we arrive to the linear constitutive equation in the form usually employed in thermal hydraulics:^{[5]}

**Linear stress constitutive equation**

*(expression used for fluids)*

[math]\displaystyle{ \boldsymbol \sigma = \zeta (\nabla\cdot\mathbf{u}) \mathbf I + \mu \left[\nabla\mathbf{u} + ( \nabla\mathbf{u} )^\mathrm{T} - \tfrac23 (\nabla\cdot\mathbf{u})\mathbf I\right] }[/math]

Both second viscosity [math]\displaystyle{ \zeta }[/math] and dynamic viscosity [math]\displaystyle{ \mu }[/math] need not be constant – in general, they depend on two thermodynamics variables if the fluid contains a single chemical species, say for example, pressure and temperature. Any equation that makes explicit one of these transport coefficient in the conservation variables is called an equation of state.^{[7]}

The most general of the Navier–Stokes equations become

**Navier–Stokes momentum equation**(

*convective form*)

[math]\displaystyle{ \rho \frac{\mathrm{D} \mathbf{u}}{\mathrm{D} t} = \rho \left( \frac{\partial \mathbf{u}}{\partial t} + (\mathbf{u} \cdot \nabla) \mathbf{u} \right) = - \nabla p + \nabla \cdot \left\{ \mu \left[\nabla\mathbf{u} + ( \nabla\mathbf{u} )^\mathrm{T} - \tfrac23 (\nabla\cdot\mathbf{u})\mathbf I\right] + \zeta (\nabla\cdot\mathbf{u})\mathbf I\right\}+ \rho\mathbf{g} . }[/math]

Apart from its dependence of pressure and temperature, the second viscosity coefficient also depends on the process, that is to say, the second viscosity coefficient is not just a material property. Also note that the above equation assumes density [math]\displaystyle{ (\rho) }[/math] is constant, as it is removed from the substantial derivative of the product of density and velocity per unit volume ([math]\displaystyle{ \rho \mathbf{u} }[/math]); incompressible flow. Example: in the case of a sound wave with a definitive frequency that alternatively compresses and expands a fluid element, the second viscosity coefficient depends on the frequency of the wave. This dependence is called the *dispersion*. In some cases, the second viscosity [math]\displaystyle{ \zeta }[/math] can be assumed to be constant in which case, the effect of the volume viscosity [math]\displaystyle{ \zeta }[/math] is that the mechanical pressure is not equivalent to the thermodynamic pressure:^{[8]} as demonstrated below.
[math]\displaystyle{ \nabla\cdot(\nabla\cdot \mathbf u)\mathbf I=\nabla (\nabla \cdot \mathbf u), }[/math][math]\displaystyle{ \bar{p} \equiv p - \zeta \, \nabla \cdot \mathbf{u} , }[/math]
However, this difference is usually neglected most of the time (that is whenever we are not dealing with processes such as sound absorption and attenuation of shock waves,^{[9]} where second viscosity coefficient becomes important) by explicitly assuming [math]\displaystyle{ \zeta = 0 }[/math]. The assumption of setting [math]\displaystyle{ \zeta = 0 }[/math] is called as the Stokes hypothesis.^{[10]} The validity of Stokes hypothesis can be demonstrated for monoatomic gas both experimentally and from the kinetic theory,;^{[11]} for other gases and liquids, Stokes hypothesis is generally incorrect. With the Stokes hypothesis, the Navier–Stokes equations become

**Navier–Stokes momentum equation**(

*convective form*)

[math]\displaystyle{ \rho \frac{\mathrm{D} \mathbf{u}}{\mathrm{D} t} = \rho \left( \frac{\partial \mathbf{u}}{\partial t} + (\mathbf{u} \cdot \nabla) \mathbf{u} \right) = - \nabla p + \nabla \cdot \left\{ \mu \left[\nabla\mathbf{u} + ( \nabla\mathbf{u} )^\mathrm{T} - \tfrac23 (\nabla\cdot\mathbf{u})\mathbf I\right] \right\}+ \rho\mathbf{g} . }[/math]

If the dynamic viscosity μ is also assumed to be constant, the equations can be simplified further. By computing the divergence of the stress tensor, since the divergence of tensor [math]\displaystyle{ \nabla \mathbf{u} }[/math] is [math]\displaystyle{ \nabla^2 \mathbf{u} }[/math] and the divergence of tensor [math]\displaystyle{ \left(\nabla \mathbf{u}\right)^{\mathrm T} }[/math] is [math]\displaystyle{ \nabla \left(\nabla \cdot \mathbf{u}\right) }[/math], one finally arrives to the compressible (most general) Navier–Stokes momentum equation:^{[12]}

**Navier–Stokes momentum equation**(

*conservation form*)

[math]\displaystyle{ \frac {\partial}{\partial t} (\rho\,\mathbf{u}) + \nabla \cdot (\rho\,\mathbf{u} \otimes \mathbf{u}) = - \nabla p + \mu \, \nabla^2 \mathbf u + \tfrac13 \mu \, \nabla (\nabla\cdot\mathbf{u}) + \rho\mathbf{g} . }[/math]

where [math]\displaystyle{ \frac{\mathrm{D}}{\mathrm{D}t} }[/math] is the material derivative. The left-hand side changes in the conservation form of the Navier–Stokes momentum equation.

Bulk viscosity is assumed to be constant, otherwise it should not be taken out of the last derivative. The convective acceleration term can also be written as [math]\displaystyle{ \mathbf u\cdot\nabla\mathbf u = (\nabla\times\mathbf u)\times\mathbf u + \tfrac12\nabla\mathbf u^2, }[/math] where the vector [math]\displaystyle{ (\nabla \times \mathbf{u}) \times \mathbf{u} }[/math] is known as the Lamb vector.

For the special case of an incompressible flow, the pressure constrains the flow so that the volume of fluid elements is constant: isochoric flow resulting in a solenoidal velocity field with [math]\displaystyle{ \nabla \cdot \mathbf{u} = 0 }[/math].^{[13]}

## Incompressible flow

The incompressible momentum Navier–Stokes equation results from the following assumptions on the Cauchy stress tensor:^{[5]}

- the stress is
**Galilean invariant**: it does not depend directly on the flow velocity, but only on spatial derivatives of the flow velocity. So the stress variable is the tensor gradient [math]\displaystyle{ \nabla \mathbf{u} }[/math]. - the fluid is assumed to be isotropic, as with gases and simple liquids, and consequently [math]\displaystyle{ \boldsymbol{\tau} }[/math] is an isotropic tensor; furthermore, since the deviatoric stress tensor can be expressed in terms of the dynamic viscosity [math]\displaystyle{ \mu }[/math]:
**Stokes' stress constitutive equation***(expression used for incompressible elastic solids)*- [math]\displaystyle{ \boldsymbol \tau = 2 \mu \boldsymbol \varepsilon }[/math]

where [math]\displaystyle{ \boldsymbol{\varepsilon} = \tfrac{1}{2} \left( \mathbf{\nabla u} + \mathbf{\nabla u}^\mathrm{T} \right) }[/math] is the rate-of-strain tensor. So this decomposition can be made explicit as:

^{[5]}**Stokes's stress constitutive equation***(expression used for incompressible viscous fluids)*- [math]\displaystyle{ \boldsymbol \tau = \mu \left[\nabla\mathbf{u} + (\nabla\mathbf{u}) ^\mathrm{T}\right] }[/math]

Dynamic viscosity μ need not be constant – in incompressible flows it can depend on density and on pressure. Any equation that makes explicit one of these transport coefficient in the conservative variables is called an equation of state.^{[7]}

The divergence of the deviatoric stress is given by: [math]\displaystyle{ \nabla \cdot \boldsymbol \tau = 2 \mu \nabla \cdot \boldsymbol \varepsilon = \mu \nabla \cdot \left( \nabla\mathbf{u} + \nabla\mathbf{u} ^\mathrm{T} \right) = \mu \, \nabla^2 \mathbf{u} }[/math] because [math]\displaystyle{ \nabla \cdot \mathbf{u} = 0 }[/math] for an incompressible fluid.

Incompressibility rules out density and pressure waves like sound or shock waves, so this simplification is not useful if these phenomena are of interest. The incompressible flow assumption typically holds well with all fluids at low Mach numbers (say up to about Mach 0.3), such as for modelling air winds at normal temperatures.^{[14]} the incompressible Navier–Stokes equations are best visualized by dividing for the density:^{[15]}

**Incompressible Navier–Stokes equations**(

*convective form*)

[math]\displaystyle{ \frac{\partial \mathbf{u}}{\partial t} + (\mathbf{u} \cdot \nabla) \mathbf{u} - \nu \,\nabla^2 \mathbf{u} = - \frac{1}{\rho}\nabla p + \mathbf{g}. }[/math]

If the density is constant throughout the fluid domain, or, in other words, if all fluid elements have the same density, [math]\displaystyle{ \rho=\rho_0 }[/math], then we have

**Incompressible Navier–Stokes equations**(

*convective form*)

[math]\displaystyle{ \frac{\partial \mathbf{u}}{\partial t} + (\mathbf{u} \cdot \nabla) \mathbf{u} - \nu \,\nabla^2 \mathbf{u} = - \nabla \left(\frac{p}{\rho_0}\right) + \mathbf{g}, }[/math]

where [math]\displaystyle{ \nu = \frac{\mu}{\rho_0} }[/math] is called the kinematic viscosity.

Velocity profile (laminar flow): [math]\displaystyle{ u_{x} = u(y), \quad u_{y} = 0, \quad u_{z} = 0 }[/math] for the x-direction, simplify the Navier–Stokes equation: [math]\displaystyle{ 0 = -\frac{\mathrm{d} P}{\mathrm{d} x} + \mu\left(\frac{\mathrm{d}^2 u}{\mathrm{d} y^2}\right) }[/math]

Integrate twice to find the velocity profile with boundary conditions *y* = *h*, *u* = 0, *y* = −*h*, *u* = 0:
[math]\displaystyle{ u = \frac{1}{2\mu}\frac{\mathrm{d} P}{\mathrm{d} x} y^2 + Ay + B }[/math]

From this equation, substitute in the two boundary conditions to get two equations: [math]\displaystyle{ \begin{align} 0 &= \frac{1}{2 \mu}\frac{\mathrm{d} P}{\mathrm{d} x} h^2 + Ah + B \\ 0 &= \frac{1}{2 \mu}\frac{\mathrm{d} P}{\mathrm{d} x} h^2 - Ah + B \end{align} }[/math]

Add and solve for B: [math]\displaystyle{ B = -\frac{1}{2 \mu}\frac{\mathrm{d} P}{\mathrm{d} x} h^2 }[/math]

Substitute and solve for A: [math]\displaystyle{ A = 0 }[/math]

Finally this gives the velocity profile: [math]\displaystyle{ u = \frac{1}{2 \mu}\frac{\mathrm{d} P}{\mathrm{d} x} \left(y^2 - h^2\right) }[/math]

It is well worth observing the meaning of each term (compare to the Cauchy momentum equation):

[math]\displaystyle{ \overbrace{ \vphantom{\frac{}{}} \underbrace{ \frac{\partial \mathbf{u}}{\partial t} }_{\text{Variation}} + \underbrace{ \vphantom{\frac{}{}} (\mathbf{u} \cdot \nabla) \mathbf{u} }_{\text{Divergence}} }^{\text{Inertia (per volume)}} = \overbrace{ \vphantom{\frac{\partial}{\partial}} \underbrace{ \vphantom{\frac{}{}} -\nabla w }_{\begin{smallmatrix} \text{Internal}\\ \text{source} \end{smallmatrix} } + \underbrace{ \vphantom{\frac{}{}} \nu \nabla^2 \mathbf{u} }_{\text{Diffusion}} }^{\text{Divergence of stress}} + \underbrace{ \vphantom{\frac{}{}} \mathbf{g} }_{\begin{smallmatrix} \text{External}\\ \text{source} \end{smallmatrix}}. }[/math]

The higher-order term, namely the shear stress divergence [math]\displaystyle{ \nabla \cdot \boldsymbol{\tau} }[/math], has simply reduced to the vector Laplacian term [math]\displaystyle{ \mu \nabla^2 \mathbf{u} }[/math].^{[16]} This Laplacian term can be interpreted as the difference between the velocity at a point and the mean velocity in a small surrounding volume. This implies that – for a Newtonian fluid – viscosity operates as a *diffusion of momentum*, in much the same way as the heat conduction. In fact neglecting the convection term, incompressible Navier–Stokes equations lead to a vector diffusion equation (namely Stokes equations), but in general the convection term is present, so incompressible Navier–Stokes equations belong to the class of convection–diffusion equations.

In the usual case of an external field being a conservative field: [math]\displaystyle{ \mathbf g = - \nabla \varphi }[/math] by defining the hydraulic head: [math]\displaystyle{ h \equiv w + \varphi }[/math]

one can finally condense the whole source in one term, arriving to the incompressible Navier–Stokes equation with conservative external field: [math]\displaystyle{ \frac{\partial \mathbf{u}}{\partial t} + (\mathbf{u} \cdot \nabla) \mathbf{u} - \nu \, \nabla^2 \mathbf{u} = - \nabla h. }[/math]

The incompressible Navier–Stokes equations with conservative external field is the **fundamental equation of hydraulics**. The domain for these equations is commonly a 3 or less dimensional Euclidean space, for which an orthogonal coordinate reference frame is usually set to explicit the system of scalar partial differential equations to be solved. In 3-dimensional orthogonal coordinate systems are 3: Cartesian, cylindrical, and spherical. Expressing the Navier–Stokes vector equation in Cartesian coordinates is quite straightforward and not much influenced by the number of dimensions of the euclidean space employed, and this is the case also for the first-order terms (like the variation and convection ones) also in non-cartesian orthogonal coordinate systems. But for the higher order terms (the two coming from the divergence of the deviatoric stress that distinguish Navier–Stokes equations from Euler equations) some tensor calculus is required for deducing an expression in non-cartesian orthogonal coordinate systems.

The incompressible Navier–Stokes equation is composite, the sum of two orthogonal equations, [math]\displaystyle{ \begin{align} \frac{\partial\mathbf{u}}{\partial t} &= \Pi^S\left(-(\mathbf{u}\cdot\nabla)\mathbf{u} + \nu\,\nabla^2\mathbf{u}\right) + \mathbf{f}^S \\ \rho^{-1}\,\nabla p &= \Pi^I\left(-(\mathbf{u}\cdot\nabla)\mathbf{u} + \nu\,\nabla^2\mathbf{u}\right) + \mathbf{f}^I \end{align} }[/math] where [math]\displaystyle{ \Pi^S }[/math] and [math]\displaystyle{ \Pi^I }[/math] are solenoidal and irrotational projection operators satisfying [math]\displaystyle{ \Pi^S + \Pi^I = 1 }[/math], and [math]\displaystyle{ \mathbf{f}^S }[/math] and [math]\displaystyle{ \mathbf{f}^I }[/math] are the non-conservative and conservative parts of the body force. This result follows from the Helmholtz theorem (also known as the fundamental theorem of vector calculus). The first equation is a pressureless governing equation for the velocity, while the second equation for the pressure is a functional of the velocity and is related to the pressure Poisson equation.

The explicit functional form of the projection operator in 3D is found from the Helmholtz Theorem: [math]\displaystyle{ \Pi^S\,\mathbf{F}(\mathbf{r}) = \frac{1}{4\pi}\nabla\times\int \frac{\nabla^\prime\times\mathbf{F}(\mathbf{r}')}{|\mathbf{r}-\mathbf{r}'|} \, \mathrm{d} V', \quad \Pi^I = 1-\Pi^S }[/math] with a similar structure in 2D. Thus the governing equation is an integro-differential equation similar to Coulomb and Biot–Savart law, not convenient for numerical computation.

An equivalent weak or variational form of the equation, proved to produce the same velocity solution as the Navier–Stokes equation,^{[17]} is given by,
[math]\displaystyle{ \left(\mathbf{w},\frac{\partial\mathbf{u}}{\partial t}\right) = -\bigl(\mathbf{w}, \left(\mathbf{u}\cdot\nabla\right)\mathbf{u}\bigr) - \nu \left(\nabla\mathbf{w}: \nabla\mathbf{u}\right) + \left(\mathbf{w}, \mathbf{f}^S\right) }[/math]

for divergence-free test functions [math]\displaystyle{ \mathbf{w} }[/math] satisfying appropriate boundary conditions. Here, the projections are accomplished by the orthogonality of the solenoidal and irrotational function spaces. The discrete form of this is eminently suited to finite element computation of divergence-free flow, as we shall see in the next section. There one will be able to address the question "How does one specify pressure-driven (Poiseuille) problems with a pressureless governing equation?".

The absence of pressure forces from the governing velocity equation demonstrates that the equation is not a dynamic one, but rather a kinematic equation where the divergence-free condition serves the role of a conservation equation. This all would seem to refute the frequent statements that the incompressible pressure enforces the divergence-free condition.

#### Strong form

Consider the incompressible Navier–Stokes equations for a Newtonian fluid of constant density [math]\displaystyle{ \rho }[/math] in a domain
[math]\displaystyle{ \Omega \subset \mathbb R^d \quad (d=2, 3) }[/math]
with boundary
[math]\displaystyle{ \partial \Omega = \Gamma_D \cup \Gamma_N , }[/math]
being [math]\displaystyle{ \Gamma_D }[/math] and [math]\displaystyle{ \Gamma_N }[/math] portions of the boundary where respectively a Dirichlet and a Neumann boundary condition is applied ([math]\displaystyle{ \Gamma_D \cap \Gamma_N = \emptyset }[/math]):^{[18]}
[math]\displaystyle{
\begin{cases}
\rho \dfrac{\partial \mathbf{u}}{\partial t} + \rho (\mathbf{u} \cdot \nabla) \mathbf{u} - \nabla \cdot \boldsymbol{\sigma} (\mathbf{u}, p) = \mathbf{f} & \text{ in } \Omega \times (0, T) \\
\nabla \cdot \mathbf{u} = 0 & \text{ in } \Omega \times (0, T) \\
\mathbf{u} = \mathbf{g} & \text{ on } \Gamma_D \times (0, T) \\
\boldsymbol{\sigma} (\mathbf{u}, p) \hat{\mathbf{n}} = \mathbf{h} & \text{ on } \Gamma_N \times (0, T) \\
\mathbf{u}(0)= \mathbf{u}_0 & \text{ in } \Omega \times \{ 0\}
\end{cases}
}[/math]
[math]\displaystyle{ \mathbf{u} }[/math] is the fluid velocity, [math]\displaystyle{ p }[/math] the fluid pressure, [math]\displaystyle{ \mathbf{f} }[/math] a given forcing term, [math]\displaystyle{ \hat{\mathbf{n}} }[/math] the outward directed unit normal vector to [math]\displaystyle{ \Gamma_N }[/math], and [math]\displaystyle{ \boldsymbol{\sigma}(\mathbf{u}, p) }[/math] the viscous stress tensor defined as:^{[18]}
[math]\displaystyle{ \boldsymbol{\sigma} (\mathbf{u}, p) = -p \mathbf{I} + 2 \mu \boldsymbol{\varepsilon}(\mathbf{u}). }[/math]
Let [math]\displaystyle{ \mu }[/math] be the dynamic viscosity of the fluid, [math]\displaystyle{ \mathbf{I} }[/math] the second-order identity tensor and [math]\displaystyle{ \boldsymbol{\varepsilon}(\mathbf{u}) }[/math] the strain-rate tensor defined as:^{[18]}
[math]\displaystyle{
\boldsymbol{\varepsilon} (\mathbf{u}) = \frac{1}{2} \left(\left( \nabla \mathbf{u} \right) + \left( \nabla \mathbf{u} \right)^\mathrm{T}\right).
}[/math]
The functions [math]\displaystyle{
\mathbf{g}
}[/math] and [math]\displaystyle{
\mathbf{h}
}[/math] are given Dirichlet and Neumann boundary data, while [math]\displaystyle{
\mathbf{u}_0
}[/math] is the initial condition. The first equation is the momentum balance equation, while the second represents the mass conservation, namely the continuity equation.
Assuming constant dynamic viscosity, using the vectorial identity
[math]\displaystyle{ \nabla \cdot \left( \nabla \mathbf{f} \right)^\mathrm{T} = \nabla ( \nabla \cdot \mathbf{f} ) }[/math]
and exploiting mass conservation, the divergence of the total stress tensor in the momentum equation can also be expressed as:^{[18]}
[math]\displaystyle{
\begin{align}
\nabla \cdot \boldsymbol{\sigma} (\mathbf{u}, p)
& = \nabla \cdot \left(-p \mathbf{I} + 2 \mu \boldsymbol{\varepsilon}(\mathbf{u}) \right) \\
& = - \nabla p + 2 \mu \nabla \cdot \boldsymbol{\varepsilon}(\mathbf{u}) \\
& = - \nabla p + 2 \mu \nabla \cdot \left [ \tfrac{1}{2} \left(\left(\nabla \mathbf{u} \right) + \left(\nabla \mathbf{u} \right)^\mathrm{T}\right) \right] \\
& = -\nabla p + \mu \left(\Delta \mathbf{u} + \nabla \cdot \left(\nabla \mathbf{u} \right)^\mathrm{T} \right) \\
& = -\nabla p + \mu \bigl( \Delta \mathbf{u} + \nabla \underbrace{(\nabla \cdot \mathbf{u})}_{=0} \bigr)
= -\nabla p + \mu \, \Delta \mathbf{u}.
\end{align}
}[/math]
Moreover, note that the Neumann boundary conditions can be rearranged as:^{[18]}
[math]\displaystyle{
\boldsymbol{\sigma}(\mathbf{u}, p) \hat{\mathbf{n}} = \left(-p \mathbf{I} + 2 \mu \boldsymbol{\varepsilon}(\mathbf{u})\right)\hat{\mathbf{n}} = -p \hat{\mathbf{n}} + \mu \frac{\partial \boldsymbol u}{\partial \hat{\mathbf{n}}}.
}[/math]

#### Weak form

In order to find the weak form of the Navier–Stokes equations, firstly, consider the momentum equation^{[18]}
[math]\displaystyle{
\rho \frac{\partial \mathbf{u}}{\partial t} - \mu \Delta \mathbf{u} + \rho (\mathbf{u} \cdot \nabla) \mathbf{u} + \nabla p = \mathbf{f}
}[/math]
multiply it for a test function [math]\displaystyle{
\mathbf{v}
}[/math], defined in a suitable space [math]\displaystyle{
V
}[/math], and integrate both members with respect to the domain [math]\displaystyle{
\Omega
}[/math]:^{[18]}
[math]\displaystyle{
\int \limits_\Omega \rho \frac{\partial \mathbf{u}}{\partial t}\cdot \mathbf{v} - \int \limits_\Omega \mu \Delta \mathbf{u} \cdot \mathbf{v} + \int \limits_\Omega \rho (\mathbf{u} \cdot \nabla) \mathbf{u} \cdot \mathbf{v} + \int \limits_\Omega \nabla p \cdot \mathbf{v} = \int \limits_\Omega \mathbf{f} \cdot \mathbf{v}
}[/math]
Counter-integrating by parts the diffusive and the pressure terms and by using the Gauss' theorem:^{[18]}
[math]\displaystyle{ \begin{align}
-\int \limits_\Omega \mu \Delta \mathbf{u} \cdot \mathbf{v} &= \int_\Omega \mu \nabla \mathbf{u} \cdot \nabla \mathbf{v} - \int \limits_{\partial \Omega} \mu \frac{\partial \mathbf{u}}{\partial \hat{\mathbf{n}}} \cdot \mathbf{v} \\
\int \limits_\Omega \nabla p \cdot \mathbf{v} &= -\int \limits_\Omega p \nabla \cdot \mathbf{v} + \int \limits_{\partial \Omega} p \mathbf{v} \cdot {\hat{\mathbf{n}}}
\end{align} }[/math]

Using these relations, one gets:^{[18]}
[math]\displaystyle{
\int \limits_\Omega \rho \dfrac{\partial \mathbf{u}}{\partial t}\cdot \mathbf{v}
+ \int \limits_\Omega \mu \nabla \mathbf{u} \cdot \nabla \mathbf{v}
+ \int \limits_\Omega \rho (\mathbf{u} \cdot \nabla) \mathbf{u} \cdot \mathbf{v}
- \int \limits_\Omega p \nabla \cdot \mathbf{v}
= \int \limits_\Omega \mathbf{f} \cdot \mathbf{v}
+ \int \limits_{\partial \Omega} \left ( \mu \frac{\partial \mathbf{u}}{\partial \hat{\mathbf{n}}} - p \hat{\mathbf{n}}\right) \cdot \mathbf{v}
\quad \forall \mathbf{v} \in V.
}[/math]
In the same fashion, the continuity equation is multiplied for a test function q belonging to a space [math]\displaystyle{
Q
}[/math] and integrated in the domain [math]\displaystyle{
\Omega
}[/math]:^{[18]}
[math]\displaystyle{ \int \limits_\Omega q \nabla \cdot \mathbf{u} = 0. \quad \forall q \in Q. }[/math]
The space functions are chosen as follows:
[math]\displaystyle{ \begin{align}
V = \left[H_0^1(\Omega) \right]^d &= \left\{ \mathbf{v} \in \left[H^1(\Omega)\right]^d: \quad \mathbf{v} = \mathbf{0} \text{ on } \Gamma_D \right\}, \\
Q &= L^2(\Omega)
\end{align} }[/math]
Considering that the test function * v* vanishes on the Dirichlet boundary and considering the Neumann condition, the integral on the boundary can be rearranged as:

^{[18]}[math]\displaystyle{ \int \limits_{\partial \Omega} \left ( \mu \frac{\partial \mathbf{u}}{\partial \hat{\mathbf{n}}} - p \hat{\mathbf{n}} \right) \cdot \mathbf{v} = \underbrace{ \int \limits_{\Gamma_D} \left ( \mu \frac{\partial \mathbf{u}}{\partial \hat{\mathbf{n}}} - p \hat{\mathbf{n}} \right) \cdot \mathbf{v} }_{ \mathbf{v} = \mathbf{0} \text{ on } \Gamma_D \ } + \int \limits_{\Gamma_N} \underbrace{ \vphantom{\int \limits_{\Gamma_N} } \left ( \mu \frac{\partial \mathbf{u}}{\partial \hat{\mathbf{n}}} - p \hat{\mathbf{n}} \right) }_{= \mathbf{h} \text{ on } \Gamma_N} \cdot \mathbf{v} = \int \limits_{\Gamma_N} \mathbf{h} \cdot \mathbf{v}. }[/math] Having this in mind, the weak formulation of the Navier–Stokes equations is expressed as:

^{[18]}[math]\displaystyle{ \begin{align} &\text{find } \mathbf{u} \in L^2 \left(\mathbb R^+\; \left[H^1(\Omega)\right]^d\right) \cap C^0\left(\mathbb R^+ \; \left[L^2(\Omega)\right]^d\right) \text{ such that: } \\[5pt] &\quad\begin{cases} \displaystyle \int \limits_{\Omega}\rho \dfrac{\partial \mathbf{u}}{\partial t}\cdot \mathbf{v} + \int \limits_{\Omega} \mu \nabla \mathbf{u} \cdot \nabla \mathbf{v} + \int \limits_{\Omega} \rho (\mathbf{u} \cdot \nabla) \mathbf{u} \cdot \mathbf{v} - \int \limits_{\Omega} p \nabla \cdot \mathbf{v} = \int \limits_{\Omega}\mathbf{f} \cdot \mathbf{v} + \int \limits_{\Gamma_N} \mathbf{h} \cdot \mathbf{v} \quad \forall \mathbf{v} \in V, \\ \displaystyle \int \limits_{\Omega} q \nabla \cdot \mathbf{u} = 0 \quad \forall q \in Q. \end{cases}\end{align} }[/math]

### Discrete velocity

With partitioning of the problem domain and defining basis functions on the partitioned domain, the discrete form of the governing equation is [math]\displaystyle{ \left(\mathbf{w}_i, \frac{\partial\mathbf{u}_j}{\partial t}\right) = -\bigl(\mathbf{w}_i, \left(\mathbf{u}\cdot\nabla\right)\mathbf{u}_j\bigr) - \nu\left(\nabla\mathbf{w}_i: \nabla\mathbf{u}_j\right) + \left(\mathbf{w}_i, \mathbf{f}^S\right). }[/math]

It is desirable to choose basis functions that reflect the essential feature of incompressible flow – the elements must be divergence-free. While the velocity is the variable of interest, the existence of the stream function or vector potential is necessary by the Helmholtz theorem. Further, to determine fluid flow in the absence of a pressure gradient, one can specify the difference of stream function values across a 2D channel, or the line integral of the tangential component of the vector potential around the channel in 3D, the flow being given by Stokes' theorem. Discussion will be restricted to 2D in the following.

We further restrict discussion to continuous Hermite finite elements which have at least first-derivative degrees-of-freedom. With this, one can draw a large number of candidate triangular and rectangular elements from the plate-bending literature. These elements have derivatives as components of the gradient. In 2D, the gradient and curl of a scalar are clearly orthogonal, given by the expressions, [math]\displaystyle{ \begin{align} \nabla\varphi &= \left(\frac{\partial \varphi}{\partial x},\,\frac{\partial \varphi}{\partial y}\right)^\mathrm{T}, \\[5pt] \nabla\times\varphi &= \left(\frac{\partial \varphi}{\partial y},\,-\frac{\partial \varphi}{\partial x}\right)^\mathrm{T}. \end{align} }[/math]

Adopting continuous plate-bending elements, interchanging the derivative degrees-of-freedom and changing the sign of the appropriate one gives many families of stream function elements.

Taking the curl of the scalar stream function elements gives divergence-free velocity elements.^{[19]}^{[20]} The requirement that the stream function elements be continuous assures that the normal component of the velocity is continuous across element interfaces, all that is necessary for vanishing divergence on these interfaces.

Boundary conditions are simple to apply. The stream function is constant on no-flow surfaces, with no-slip velocity conditions on surfaces. Stream function differences across open channels determine the flow. No boundary conditions are necessary on open boundaries, though consistent values may be used with some problems. These are all Dirichlet conditions.

The algebraic equations to be solved are simple to set up, but of course are non-linear, requiring iteration of the linearized equations.

Similar considerations apply to three-dimensions, but extension from 2D is not immediate because of the vector nature of the potential, and there exists no simple relation between the gradient and the curl as was the case in 2D.

### Pressure recovery

Recovering pressure from the velocity field is easy. The discrete weak equation for the pressure gradient is, [math]\displaystyle{ (\mathbf{g}_i, \nabla p) = -\left(\mathbf{g}_i, \left(\mathbf{u}\cdot\nabla\right)\mathbf{u}_j\right) - \nu\left(\nabla\mathbf{g}_i: \nabla\mathbf{u}_j\right) + \left(\mathbf{g}_i, \mathbf{f}^I\right) }[/math]

where the test/weight functions are irrotational. Any conforming scalar finite element may be used. However, the pressure gradient field may also be of interest. In this case, one can use scalar Hermite elements for the pressure. For the test/weight functions [math]\displaystyle{ \mathbf{g}_i }[/math] one would choose the irrotational vector elements obtained from the gradient of the pressure element.

## Non-inertial frame of reference

The rotating frame of reference introduces some interesting pseudo-forces into the equations through the material derivative term. Consider a stationary inertial frame of reference [math]\displaystyle{ K }[/math] , and a non-inertial frame of reference [math]\displaystyle{ K' }[/math], which is translating with velocity [math]\displaystyle{ \mathbf{U}(t) }[/math] and rotating with angular velocity [math]\displaystyle{ \Omega(t) }[/math] with respect to the stationary frame. The Navier–Stokes equation observed from the non-inertial frame then becomes

**Navier–Stokes momentum equation in non-inertial frame**

[math]\displaystyle{ \rho \frac{\mathrm{D} \mathbf{u}}{\mathrm{D} t} = - \nabla \bar{p} + \mu \, \nabla^2 \mathbf u + \tfrac13 \mu \, \nabla (\nabla\cdot\mathbf{u}) + \rho\mathbf{g} - \rho \left[2\mathbf\Omega\times\mathbf u + \mathbf\Omega\times(\mathbf\Omega\times\mathbf x)+ \frac{\mathrm{d} \mathbf U}{\mathrm{d} t} + \frac{\mathrm{d} \mathbf \Omega}{\mathrm{d} t}\times\mathbf x\right]. }[/math]

Here [math]\displaystyle{ \mathbf{x} }[/math] and [math]\displaystyle{ \mathbf{u} }[/math] are measured in the non-inertial frame. The first term in the parenthesis represents Coriolis acceleration, the second term is due to centrifugal acceleration, the third is due to the linear acceleration of [math]\displaystyle{ K' }[/math] with respect to [math]\displaystyle{ K }[/math] and the fourth term is due to the angular acceleration of [math]\displaystyle{ K' }[/math] with respect to [math]\displaystyle{ K }[/math].

## Other equations

The Navier–Stokes equations are strictly a statement of the balance of momentum. To fully describe fluid flow, more information is needed, how much depending on the assumptions made. This additional information may include boundary data (no-slip, capillary surface, etc.), conservation of mass, balance of energy, and/or an equation of state.

### Continuity equation for incompressible fluid

Regardless of the flow assumptions, a statement of the conservation of mass is generally necessary. This is achieved through the mass continuity equation, as discussed above in the "General continuum equations" within this article, as follows:
[math]\displaystyle{ \frac{\mathbf{D}m}{{\mathbf{Dt}}} = {\iiint\limits_V}({\frac{\mathbf{D}\rho}{{\mathbf{Dt}}} + \rho (\nabla \cdot \mathbf{u})})dV = \frac{\mathbf{D}\rho}{{\mathbf{Dt}}} + \rho (\nabla \cdot{\mathbf{u}}) = \frac{\partial\rho}{\partial t} + ({\nabla \rho}) \cdot{\mathbf{u}} + {\rho}(\nabla \cdot \mathbf{u}) = \frac{\partial\rho}{\partial t} + \nabla({\rho \mathbf{u}})= 0 }[/math]
A fluid media for which the density ([math]\displaystyle{ \rho }[/math]) is constant is called *incompressible*. Therefore, the rate of change of density ([math]\displaystyle{ \rho }[/math]) with respect to time [math]\displaystyle{ (\frac{\partial\rho}{\partial t}) }[/math] and the gradient of density [math]\displaystyle{ (\nabla \rho) }[/math] are equal to zero [math]\displaystyle{ (0) }[/math]. In this case the general equation of continuity, [math]\displaystyle{ \frac{\partial\rho}{\partial t} + \nabla({\rho \mathbf{u}})= 0 }[/math], reduces to: [math]\displaystyle{ \rho(\nabla{\cdot}{\mathbf{u}}) = 0 }[/math]. Furthermore, assuming that density ([math]\displaystyle{ \rho }[/math]) is a non-zero constant [math]\displaystyle{ (\rho \neq 0) }[/math] means that the right-hand side of the equation [math]\displaystyle{ (0) }[/math] is divisible by density ([math]\displaystyle{ \rho }[/math]). Therefore, the continuity equation for an incompressible fluid reduces further to:[math]\displaystyle{ (\nabla{\cdot{\mathbf{u}}}) = 0 }[/math]This relationship, [math]\displaystyle{ (\nabla{\cdot{\mathbf{u}}}) = 0 }[/math], identifies that the divergence of the flow velocity vector ([math]\displaystyle{ \mathbf{u} }[/math]) is equal to zero [math]\displaystyle{ (0) }[/math], which means that for an incompressible fluid the flow velocity field is a solenoidal vector field or a divergence-free vector field. Note that this relationship can be expanded upon due to its uniqueness with the vector Laplace operator [math]\displaystyle{ (\nabla ^{2} \mathbf{u} =\nabla (\nabla \cdot \mathbf{u} )-\nabla \times (\nabla \times \mathbf{u} )) }[/math], and vorticity [math]\displaystyle{ (\vec \omega = \nabla \times \mathbf{u}) }[/math] which is now expressed like so, for an incompressible fluid:[math]\displaystyle{ \nabla ^{2}\mathbf {u} = - (\nabla \times (\nabla \times \mathbf {u} )) = - (\nabla \times \vec \omega) }[/math]

## Stream function for incompressible 2D fluid

Taking the curl of the incompressible Navier–Stokes equation results in the elimination of pressure. This is especially easy to see if 2D Cartesian flow is assumed (like in the degenerate 3D case with [math]\displaystyle{ u_z = 0 }[/math] and no dependence of anything on [math]\displaystyle{ z }[/math]), where the equations reduce to: [math]\displaystyle{ \begin{align} \rho \left(\frac{\partial u_x}{\partial t} + u_x \frac{\partial u_x}{\partial x} + u_y \frac{\partial u_x}{\partial y}\right) &= -\frac{\partial p}{\partial x} + \mu \left(\frac{\partial^2 u_x}{\partial x^2} + \frac{\partial^2 u_x}{\partial y^2}\right) + \rho g_x \\ \rho \left(\frac{\partial u_y}{\partial t} + u_x \frac{\partial u_y}{\partial x} + u_y \frac{\partial u_y}{\partial y}\right) &= -\frac{\partial p}{\partial y} + \mu \left(\frac{\partial^2 u_y}{\partial x^2} + \frac{\partial^2 u_y}{\partial y^2}\right) + \rho g_y. \end{align} }[/math]

Differentiating the first with respect to [math]\displaystyle{ y }[/math], the second with respect to [math]\displaystyle{ x }[/math] and subtracting the resulting equations will eliminate pressure and any conservative force. For incompressible flow, defining the stream function [math]\displaystyle{ \psi }[/math] through [math]\displaystyle{ u_x = \frac{\partial \psi}{\partial y}; \quad u_y = -\frac{\partial \psi}{\partial x} }[/math] results in mass continuity being unconditionally satisfied (given the stream function is continuous), and then incompressible Newtonian 2D momentum and mass conservation condense into one equation: [math]\displaystyle{ \frac{\partial}{\partial t}\left(\nabla^2 \psi\right) + \frac{\partial \psi}{\partial y} \frac{\partial}{\partial x}\left(\nabla^2 \psi\right) - \frac{\partial \psi}{\partial x} \frac{\partial}{\partial y}\left(\nabla^2 \psi\right) = \nu \nabla^4 \psi }[/math]

where [math]\displaystyle{ \nabla^4 }[/math] is the 2D biharmonic operator and [math]\displaystyle{ \nu }[/math] is the kinematic viscosity, [math]\displaystyle{ \nu = \frac{\mu}{p} }[/math]. We can also express this compactly using the Jacobian determinant: [math]\displaystyle{ \frac{\partial}{\partial t}\left(\nabla^2 \psi\right) + \frac{\partial\left(\psi, \nabla^2\psi \right)}{\partial(y,x)} = \nu \nabla^4 \psi. }[/math]

This single equation together with appropriate boundary conditions describes 2D fluid flow, taking only kinematic viscosity as a parameter. Note that the equation for creeping flow results when the left side is assumed zero.

In axisymmetric flow another stream function formulation, called the Stokes stream function, can be used to describe the velocity components of an incompressible flow with one scalar function.

The incompressible Navier–Stokes equation is a differential algebraic equation, having the inconvenient feature that there is no explicit mechanism for advancing the pressure in time. Consequently, much effort has been expended to eliminate the pressure from all or part of the computational process. The stream function formulation eliminates the pressure but only in two dimensions and at the expense of introducing higher derivatives and elimination of the velocity, which is the primary variable of interest.

## Properties

### Nonlinearity

The Navier–Stokes equations are nonlinear partial differential equations in the general case and so remain in almost every real situation.^{[21]}^{[22]} In some cases, such as one-dimensional flow and Stokes flow (or creeping flow), the equations can be simplified to linear equations. The nonlinearity makes most problems difficult or impossible to solve and is the main contributor to the turbulence that the equations model.

The nonlinearity is due to convective acceleration, which is an acceleration associated with the change in velocity over position. Hence, any convective flow, whether turbulent or not, will involve nonlinearity. An example of convective but laminar (nonturbulent) flow would be the passage of a viscous fluid (for example, oil) through a small converging nozzle. Such flows, whether exactly solvable or not, can often be thoroughly studied and understood.^{[23]}

### Turbulence

Turbulence is the time-dependent chaotic behaviour seen in many fluid flows. It is generally believed that it is due to the inertia of the fluid as a whole: the culmination of time-dependent and convective acceleration; hence flows where inertial effects are small tend to be laminar (the Reynolds number quantifies how much the flow is affected by inertia). It is believed, though not known with certainty, that the Navier–Stokes equations describe turbulence properly.^{[24]}

The numerical solution of the Navier–Stokes equations for turbulent flow is extremely difficult, and due to the significantly different mixing-length scales that are involved in turbulent flow, the stable solution of this requires such a fine mesh resolution that the computational time becomes significantly infeasible for calculation or direct numerical simulation. Attempts to solve turbulent flow using a laminar solver typically result in a time-unsteady solution, which fails to converge appropriately. To counter this, time-averaged equations such as the Reynolds-averaged Navier–Stokes equations (RANS), supplemented with turbulence models, are used in practical computational fluid dynamics (CFD) applications when modeling turbulent flows. Some models include the Spalart–Allmaras, k–ω, k–ε, and SST models, which add a variety of additional equations to bring closure to the RANS equations. Large eddy simulation (LES) can also be used to solve these equations numerically. This approach is computationally more expensive—in time and in computer memory—than RANS, but produces better results because it explicitly resolves the larger turbulent scales.

### Applicability

Together with supplemental equations (for example, conservation of mass) and well-formulated boundary conditions, the Navier–Stokes equations seem to model fluid motion accurately; even turbulent flows seem (on average) to agree with real world observations.

The Navier–Stokes equations assume that the fluid being studied is a continuum (it is infinitely divisible and not composed of particles such as atoms or molecules), and is not moving at relativistic velocities. At very small scales or under extreme conditions, real fluids made out of discrete molecules will produce results different from the continuous fluids modeled by the Navier–Stokes equations. For example, capillarity of internal layers in fluids appears for flow with high gradients.^{[25]} For large Knudsen number of the problem, the Boltzmann equation may be a suitable replacement.^{[26]}
Failing that, one may have to resort to molecular dynamics or various hybrid methods.^{[27]}

Another limitation is simply the complicated nature of the equations. Time-tested formulations exist for common fluid families, but the application of the Navier–Stokes equations to less common families tends to result in very complicated formulations and often to open research problems. For this reason, these equations are usually written for Newtonian fluids where the viscosity model is linear; truly general models for the flow of other kinds of fluids (such as blood) do not exist.^{[28]}

## Application to specific problems

The Navier–Stokes equations, even when written explicitly for specific fluids, are rather generic in nature and their proper application to specific problems can be very diverse. This is partly because there is an enormous variety of problems that may be modeled, ranging from as simple as the distribution of static pressure to as complicated as multiphase flow driven by surface tension.

Generally, application to specific problems begins with some flow assumptions and initial/boundary condition formulation, this may be followed by scale analysis to further simplify the problem.

### Parallel flow

Assume steady, parallel, one-dimensional, non-convective pressure-driven flow between parallel plates, the resulting scaled (dimensionless) boundary value problem is: [math]\displaystyle{ \frac{\mathrm{d}^2 u}{\mathrm{d} y^2} = -1; \quad u(0) = u(1) = 0. }[/math]

The boundary condition is the no slip condition. This problem is easily solved for the flow field: [math]\displaystyle{ u(y) = \frac{y - y^2}{2}. }[/math]

From this point onward, more quantities of interest can be easily obtained, such as viscous drag force or net flow rate.

### Radial flow

Difficulties may arise when the problem becomes slightly more complicated. A seemingly modest twist on the parallel flow above would be the *radial* flow between parallel plates; this involves convection and thus non-linearity. The velocity field may be represented by a function *f*(*z*) that must satisfy:
[math]\displaystyle{ \frac{\mathrm{d}^2 f}{\mathrm{d} z^2} + R f^2 = -1; \quad f(-1) = f(1) = 0. }[/math]

This ordinary differential equation is what is obtained when the Navier–Stokes equations are written and the flow assumptions applied (additionally, the pressure gradient is solved for). The nonlinear term makes this a very difficult problem to solve analytically (a lengthy implicit solution may be found which involves elliptic integrals and roots of cubic polynomials). Issues with the actual existence of solutions arise for [math]\displaystyle{ R \gt 1.41
}[/math] (approximately; this is not √2), the parameter [math]\displaystyle{ R
}[/math] being the Reynolds number with appropriately chosen scales.^{[29]} This is an example of flow assumptions losing their applicability, and an example of the difficulty in "high" Reynolds number flows.^{[29]}

### Convection

A type of natural convection that can be described by the Navier–Stokes equation is the Rayleigh–Bénard convection. It is one of the most commonly studied convection phenomena because of its analytical and experimental accessibility.

Some exact solutions to the Navier–Stokes equations exist. Examples of degenerate cases—with the non-linear terms in the Navier–Stokes equations equal to zero—are Poiseuille flow, Couette flow and the oscillatory Stokes boundary layer. But also, more interesting examples, solutions to the full non-linear equations, exist, such as Jeffery–Hamel flow, Von Kármán swirling flow, stagnation point flow, Landau–Squire jet, and Taylor–Green vortex.^{[30]}^{[31]}^{[32]}
Note that the existence of these exact solutions does not imply they are stable: turbulence may develop at higher Reynolds numbers.

Under additional assumptions, the component parts can be separated.^{[33]}

For example, in the case of an unbounded planar domain with **two-dimensional** — incompressible and stationary — flow in polar coordinates (*r*,*φ*), the velocity components (*u _{r}*,

*u*) and pressure p are:

_{φ}^{[34]}[math]\displaystyle{ \begin{align} u_r &= \frac{A}{r}, \\ u_\varphi &= B\left(\frac{1}{r} - r^{\frac{A}{\nu} + 1}\right), \\ p &= -\frac{A^2 + B^2}{2r^2} - \frac{2B^2 \nu r^\frac{A}{\nu}}{A} + \frac{B^2 r^\left(\frac{2A}{\nu} + 2\right)}{\frac{2A}{\nu} + 2} \end{align} }[/math]

where A and B are arbitrary constants. This solution is valid in the domain *r* ≥ 1 and for *A* < −2*ν*.

In Cartesian coordinates, when the viscosity is zero (*ν* = 0), this is:
[math]\displaystyle{ \begin{align}
\mathbf{v}(x,y) &= \frac{1}{x^2 + y^2}\begin{pmatrix} Ax + By \\ Ay - Bx \end{pmatrix}, \\
p(x,y) &= -\frac{A^2 + B^2}{2\left(x^2 + y^2\right)} \end{align} }[/math]

For example, in the case of an unbounded Euclidean domain with **three-dimensional** — incompressible, stationary and with zero viscosity (*ν* = 0) — radial flow in Cartesian coordinates (*x*,*y*,*z*), the velocity vector **v** and pressure p are:^{[citation needed]}
[math]\displaystyle{ \begin{align}
\mathbf{v}(x, y, z) &= \frac{A}{x^2 + y^2 + z^2}\begin{pmatrix} x \\ y\\ z \end{pmatrix}, \\
p(x, y, z) &= -\frac{A^2}{2\left(x^2 + y^2 + z^2\right)}. \end{align} }[/math]

There is a singularity at *x* = *y* = *z* = 0.

### A three-dimensional steady-state vortex solution

A steady-state example with no singularities comes from considering the flow along the lines of a Hopf fibration. Let [math]\displaystyle{ r
}[/math] be a constant radius of the inner coil. One set of solutions is given by:^{[35]}
[math]\displaystyle{ \begin{align}
\rho(x, y, z) &= \frac{3B}{r^2 + x^2 + y^2 + z^2} \\
p(x, y, z) &= \frac{-A^2B}{\left(r^2 + x^2 + y^2 + z^2\right)^3} \\
\mathbf{u}(x, y, z) &= \frac{A}{\left(r^2 + x^2 + y^2 + z^2\right)^2}\begin{pmatrix} 2(-ry + xz) \\ 2(rx + yz) \\ r^2 - x^2 - y^2 + z^2 \end{pmatrix} \\
g &= 0 \\
\mu &= 0
\end{align} }[/math]

for arbitrary constants [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math]. This is a solution in a non-viscous gas (compressible fluid) whose density, velocities and pressure goes to zero far from the origin. (Note this is not a solution to the Clay Millennium problem because that refers to incompressible fluids where [math]\displaystyle{ \rho }[/math] is a constant, and neither does it deal with the uniqueness of the Navier–Stokes equations with respect to any turbulence properties.) It is also worth pointing out that the components of the velocity vector are exactly those from the Pythagorean quadruple parametrization. Other choices of density and pressure are possible with the same velocity field:

Another choice of pressure and density with the same velocity vector above is one where the pressure and density fall to zero at the origin and are highest in the central loop at *z* = 0, *x*^{2} + *y*^{2} = *r*^{2}:
[math]\displaystyle{ \begin{align}
\rho(x, y, z) &= \frac{20B\left(x^2 + y^2\right)}{\left(r^2 + x^2 + y^2 + z^2\right)^3} \\
p(x, y, z) &= \frac{-A^2B}{\left(r^2 + x^2 + y^2 + z^2\right)^4} + \frac{-4A^2B\left(x^2 + y^2\right)}{\left(r^2 + x^2 + y^2 + z^2\right)^5}.
\end{align} }[/math]

In fact in general there are simple solutions for any polynomial function f where the density is: [math]\displaystyle{ \rho(x, y, z) = \frac{1}{r^2 + x^2 + y^2 + z^2} f\left(\frac{x^2 + y^2}{\left(r^2 + x^2 + y^2 + z^2\right)^2}\right). }[/math]

### Viscous three-dimensional periodic solutions

Two examples of periodic fully-three-dimensional viscous solutions are described in.^{[36]}
These solutions are defined on a three-dimensional torus [math]\displaystyle{ \mathbb{T}^3 = [0, L]^3 }[/math] and are characterized by positive and negative helicity respectively.
The solution with positive helicity is given by:
[math]\displaystyle{ \begin{align}
u_x &= \frac{4 \sqrt{2}}{3 \sqrt{3}} \, U_0 \left[\, \sin(k x - \pi/3) \cos(k y + \pi/3) \sin(k z + \pi/2) - \cos(k z - \pi/3) \sin(k x + \pi/3) \sin(k y + \pi/2) \,\right] e^{-3 \nu k^2 t} \\
u_y &= \frac{4 \sqrt{2}}{3 \sqrt{3}} \, U_0 \left[\, \sin(k y - \pi/3) \cos(k z + \pi/3) \sin(k x + \pi/2) - \cos(k x - \pi/3) \sin(k y + \pi/3) \sin(k z + \pi/2) \,\right] e^{-3 \nu k^2 t} \\
u_z &= \frac{4 \sqrt{2}}{3 \sqrt{3}} \, U_0 \left[\, \sin(k z - \pi/3) \cos(k x + \pi/3) \sin(k y + \pi/2) - \cos(k y - \pi/3) \sin(k z + \pi/3) \sin(k x + \pi/2) \,\right] e^{-3 \nu k^2 t}
\end{align} }[/math]
where [math]\displaystyle{ k = 2 \pi/L }[/math] is the wave number and the velocity components are normalized so that the average kinetic energy per unit of mass is [math]\displaystyle{ U_0^2/2 }[/math] at [math]\displaystyle{ t = 0 }[/math].
The pressure field is obtained from the velocity field as [math]\displaystyle{ p = p_0 - \rho_0 \| \boldsymbol{u} \|^2/2 }[/math] (where [math]\displaystyle{ p_0 }[/math] and [math]\displaystyle{ \rho_0 }[/math] are reference values for the pressure and density fields respectively).
Since both the solutions belong to the class of Beltrami flow, the vorticity field is parallel to the velocity and, for the case with positive helicity, is given by [math]\displaystyle{ \omega =\sqrt{3} \, k \, \boldsymbol{u} }[/math].
These solutions can be regarded as a generalization in three dimensions of the classic two-dimensional Taylor-Green Taylor–Green vortex.

## Wyld diagrams

**Wyld diagrams** are bookkeeping graphs that correspond to the Navier–Stokes equations via a perturbation expansion of the fundamental continuum mechanics. Similar to the Feynman diagrams in quantum field theory, these diagrams are an extension of Keldysh's technique for nonequilibrium processes in fluid dynamics. In other words, these diagrams assign graphs to the (often) turbulent phenomena in turbulent fluids by allowing correlated and interacting fluid particles to obey stochastic processes associated to pseudo-random functions in probability distributions.^{[37]}

## Representations in 3D

Note that the formulas in this section make use of the single-line notation for partial derivatives, where, e.g. [math]\displaystyle{ \partial_x u }[/math] means the partial derivative of [math]\displaystyle{ u }[/math] with respect to [math]\displaystyle{ x }[/math], and [math]\displaystyle{ \partial_y^2 f_\theta }[/math] means the second-order partial derivative of [math]\displaystyle{ f_\theta }[/math] with respect to [math]\displaystyle{ y }[/math].

A 2022 paper provides a less costly, dynamical and recurrent solution of the Navier-Stokes equation for 3D turbulent fluid flows. On suitably short time scales, the dynamics of turbulence is deterministic.^{[38]}

### Cartesian coordinates

From the general form of the Navier–Stokes, with the velocity vector expanded as [math]\displaystyle{ \mathbf{u} = (u_x, u_y, u_z) }[/math], sometimes respectively named [math]\displaystyle{ u }[/math], [math]\displaystyle{ v }[/math], [math]\displaystyle{ w }[/math], we may write the vector equation explicitly, [math]\displaystyle{ \begin{align} x:\ &\rho \left({\partial_t u_x} + u_x \, {\partial_x u_x} + u_y \, {\partial_y u_x} + u_z \, {\partial_z u_x}\right) \\ &\quad= -\partial_x p + \mu \left({\partial_x^2 u_x} + {\partial_y^2 u_x} + {\partial_z^2 u_x}\right) + \frac{1}{3} \mu \ \partial_x \left( {\partial_x u_x} + {\partial_y u_y} + {\partial_z u_z} \right) + \rho g_x \\ \end{align} }[/math] [math]\displaystyle{ \begin{align} y:\ &\rho \left({\partial_t u_y} + u_x {\partial_x u_y} + u_y {\partial_y u_y} + u_z {\partial_z u_y}\right) \\ &\quad= -{\partial_y p} + \mu \left({\partial_x^2 u_y} + {\partial_y^2 u_y} + {\partial_z^2 u_y}\right) + \frac{1}{3} \mu \ \partial_y \left( {\partial_x u_x} + {\partial_y u_y} + {\partial_z u_z} \right) + \rho g_y \\ \end{align} }[/math] [math]\displaystyle{ \begin{align} z:\ &\rho \left({\partial_t u_z} + u_x {\partial_x u_z} + u_y {\partial_y u_z} + u_z {\partial_z u_z}\right) \\ &\quad= -{\partial_z p} + \mu \left({\partial_x^2 u_z} + {\partial_y^2 u_z} + {\partial_z^2 u_z}\right) + \frac{1}{3} \mu \ \partial_z \left( {\partial_x u_x} + {\partial_y u_y} + {\partial_z u_z} \right) + \rho g_z. \end{align} }[/math]

Note that gravity has been accounted for as a body force, and the values of [math]\displaystyle{ g_x }[/math], [math]\displaystyle{ g_y }[/math], [math]\displaystyle{ g_z }[/math] will depend on the orientation of gravity with respect to the chosen set of coordinates.

The continuity equation reads: [math]\displaystyle{ \partial_t \rho + \partial_x (\rho u_x) + \partial_y (\rho u_y) + \partial_z (\rho u_z) = 0. }[/math]

When the flow is incompressible, [math]\displaystyle{ \rho }[/math] does not change for any fluid particle, and its material derivative vanishes: [math]\displaystyle{ \frac{\mathrm{D} \rho}{\mathrm{D}t} = 0 }[/math]. The continuity equation is reduced to: [math]\displaystyle{ \partial_x u_x + \partial_y u_y + \partial_z u_z = 0. }[/math]

Thus, for the incompressible version of the Navier–Stokes equation the second part of the viscous terms fall away (see Incompressible flow).

This system of four equations comprises the most commonly used and studied form. Though comparatively more compact than other representations, this is still a nonlinear system of partial differential equations for which solutions are difficult to obtain.

### Cylindrical coordinates

A change of variables on the Cartesian equations will yield^{[14]} the following momentum equations for [math]\displaystyle{ r }[/math], [math]\displaystyle{ \phi }[/math], and [math]\displaystyle{ z }[/math]^{[39]}
[math]\displaystyle{ \begin{align}
r:\ & \rho \left({\partial_t u_r} + u_r {\partial_r u_r} + \frac{u_\varphi}{r} {\partial_\varphi u_r} + u_z {\partial_z u_r} - \frac{u_\varphi^2}{r}\right) \\
&\quad = -{\partial_r p} \\
&\qquad + \mu \left(\frac{1}{r} \partial_r \left(r {\partial_r u_r}\right) +
\frac{1}{r^2} {\partial_\varphi^2 u_r} + {\partial_z^2 u_r} - \frac{u_r}{r^2} -
\frac{2}{r^2} {\partial_\varphi u_\varphi} \right) \\
&\qquad + \frac{1}{3}\mu \partial_r \left( \frac{1}{r} {\partial_r\left(r u_r\right)} + \frac{1}{r} {\partial_\varphi u_\varphi} + {\partial_z u_z} \right) \\
&\qquad + \rho g_r \\[8px]
\end{align} }[/math]
[math]\displaystyle{ \begin{align}
\varphi:\ & \rho \left({\partial_t u_\varphi} + u_r {\partial_r u_\varphi} +
\frac{u_\varphi}{r} {\partial_\varphi u_\varphi} + u_z {\partial_z u_\varphi} + \frac{u_r u_\varphi}{r} \right) \\
&\quad = -\frac{1}{r} {\partial_\varphi p} \\
&\qquad + \mu \left(\frac{1}{r} \ \partial_r \left(r {\partial_r u_\varphi}\right)
+ \frac{1}{r^2} {\partial_\varphi^2 u_{\varphi}}
+ {\partial_z^2 u_{\varphi}} - \frac{u_\varphi}{r^2} + \frac{2}{r^2} {\partial_\varphi u_r}\right) \\
&\qquad + \frac{1}{3}\mu \frac{1}{r} \partial_\varphi \left( \frac{1}{r} {\partial_r\left(r u_r\right)} + \frac{1}{r} {\partial_\varphi u_\varphi} + {\partial_z u_z} \right) \\
&\qquad + \rho g_\varphi \\[8px]
\end{align} }[/math]
[math]\displaystyle{ \begin{align}
z:\ & \rho \left({\partial_t u_z} + u_r {\partial_r u_z} + \frac{u_\varphi}{r} {\partial_\varphi u_z} +
u_z {\partial_z u_z}\right) \\
&\quad = -{\partial_z p} \\
&\qquad + \mu \left(\frac{1}{r} \partial_r \left(r {\partial_r u_z}\right)
+ \frac{1}{r^2} {\partial_\varphi^2 u_z} + {\partial_z^2 u_z}\right) \\
&\qquad + \frac{1}{3}\mu \partial_z \left( \frac{1}{r} {\partial_r \left(r u_r\right)}
+ \frac{1}{r} {\partial_\varphi u_\varphi} + {\partial_z u_z} \right) \\
&\qquad + \rho g_z.
\end{align} }[/math]

The gravity components will generally not be constants, however for most applications either the coordinates are chosen so that the gravity components are constant or else it is assumed that gravity is counteracted by a pressure field (for example, flow in horizontal pipe is treated normally without gravity and without a vertical pressure gradient). The continuity equation is: [math]\displaystyle{ {\partial_t\rho} + \frac{1}{r} \partial_r \left(\rho r u_r\right) + \frac{1}{r} {\partial_\varphi \left(\rho u_\varphi\right)} + {\partial_z \left(\rho u_z\right)} = 0. }[/math]

This cylindrical representation of the incompressible Navier–Stokes equations is the second most commonly seen (the first being Cartesian above). Cylindrical coordinates are chosen to take advantage of symmetry, so that a velocity component can disappear. A very common case is axisymmetric flow with the assumption of no tangential velocity ([math]\displaystyle{ u_\phi = 0 }[/math]), and the remaining quantities are independent of [math]\displaystyle{ \phi }[/math]: [math]\displaystyle{ \begin{align} \rho \left({\partial_t u_r} + u_r {\partial_r u_r} + u_z {\partial_z u_r}\right) &= -{\partial_r p} + \mu \left(\frac{1}{r} \partial_r \left(r {\partial_r u_r}\right) + {\partial_z^2 u_r} - \frac{u_r}{r^2}\right) + \rho g_r \\ \rho \left({\partial_t u_z} + u_r {\partial_r u_z} + u_z {\partial_z u_z}\right) &= -{\partial_z p} + \mu \left(\frac{1}{r} \partial_r \left(r {\partial_r u_z}\right) + {\partial_z^2 u_z}\right) + \rho g_z \\ \frac{1}{r} \partial_r\left(r u_r\right) + {\partial_z u_z} &= 0. \end{align} }[/math]

### Spherical coordinates

|In spherical coordinates, the [math]\displaystyle{ r }[/math], [math]\displaystyle{ \phi }[/math], and [math]\displaystyle{ \theta }[/math] momentum equations are^{[14]} (note the convention used: [math]\displaystyle{ \theta }[/math] is polar angle, or colatitude,^{[40]} [math]\displaystyle{ 0 \leq \theta \leq \pi }[/math]):
[math]\displaystyle{ \begin{align}
r:\ &\rho \left({\partial_t u_r} + u_r {\partial_r u_r} + \frac{u_\varphi}{r \sin\theta} {\partial_\varphi u_r} +
\frac{u_\theta}{r} {\partial_\theta u_r} - \frac{u_\varphi^2 + u_\theta^2}{r}\right) \\
&\quad = -{\partial_r p} \\
&\qquad + \mu \left(\frac{1}{r^2} \partial_r \left(r^2 {\partial_r u_r}\right) + \frac{1}{r^2 \sin^2\theta} {\partial_\varphi^2 u_r} + \frac{1}{r^2 \sin\theta} \partial_\theta \left(\sin\theta {\partial_\theta u_r}\right) - 2\frac{u_r + {\partial_\theta u_\theta} + u_\theta \cot\theta}{r^2} - \frac{2}{r^2 \sin\theta} {\partial_\varphi u_\varphi} \right) \\
&\qquad + \frac{1}{3}\mu \partial_r \left( \frac{1}{r^2} \partial_r\left(r^2 u_r\right) + \frac{1}{r \sin\theta} \partial_\theta \left( u_\theta\sin\theta \right) + \frac{1}{r\sin\theta} {\partial_\varphi u_\varphi} \right) \\
&\qquad + \rho g_r \\[8px]
\end{align} }[/math]
[math]\displaystyle{ \begin{align}
\varphi:\ &\rho \left({\partial_t u_\varphi} + u_r {\partial_r u_\varphi} +
\frac{u_\varphi}{r \sin\theta} {\partial_\varphi u_\varphi} + \frac{u_\theta}{r} {\partial_\theta u_\varphi} +
\frac{u_r u_\varphi + u_\varphi u_\theta \cot\theta}{r}\right) \\
&\quad = -\frac{1}{r \sin\theta} {\partial_\varphi p} \\
&\qquad + \mu \left(\frac{1}{r^2} \partial_r \left(r^2 {\partial_r u_\varphi}\right) + \frac{1}{r^2 \sin^2\theta} {\partial_\varphi^2 u_\varphi} + \frac{1}{r^2 \sin\theta} \partial_\theta \left(\sin\theta {\partial_\theta u_\varphi}\right) + \frac{2 \sin\theta {\partial_\varphi u_r} + 2 \cos\theta {\partial_\varphi u_\theta} - u_\varphi}{r^2 \sin^2\theta} \right) \\
&\qquad + \frac{1}{3}\mu\frac{1}{r \sin\theta} \partial_\varphi \left( \frac{1}{r^2} \partial_r \left(r^2 u_r\right) + \frac{1}{r \sin\theta} \partial_\theta \left( u_\theta\sin\theta \right) + \frac{1}{r\sin\theta} {\partial_\varphi u_\varphi} \right) \\
&\qquad + \rho g_\varphi \\[8px]
\end{align} }[/math]
[math]\displaystyle{ \begin{align}
\theta:\ &\rho \left({\partial_t u_\theta} + u_r {\partial_r u_\theta} +
\frac{u_\varphi}{r \sin\theta} {\partial_\varphi u_\theta} +
\frac{u_\theta}{r} {\partial_\theta u_\theta} + \frac{u_r u_\theta - u_\varphi^2 \cot\theta}{r}\right) \\
&\quad = -\frac{1}{r} {\partial_\theta p} \\
&\qquad + \mu \left(\frac{1}{r^2} \partial_r \left(r^2 {\partial_r u_\theta}\right) + \frac{1}{r^2 \sin^2\theta} {\partial_\varphi^2 u_\theta} + \frac{1}{r^2 \sin\theta} \partial_\theta \left(\sin\theta {\partial_\theta u_\theta}\right) + \frac{2}{r^2} {\partial_\theta u_r} - \frac{u_\theta + 2 \cos\theta {\partial_\varphi u_\varphi}}{r^2 \sin^2\theta} \right) \\
&\qquad + \frac{1}{3}\mu\frac{1}{r} \partial_\theta \left( \frac{1}{r^2} \partial_r \left(r^2 u_r\right) + \frac{1}{r \sin\theta} \partial_\theta \left( u_\theta\sin\theta \right) + \frac{1}{r\sin\theta} {\partial_\varphi u_\varphi} \right) \\
&\qquad + \rho g_\theta.
\end{align} }[/math]

Mass continuity will read: [math]\displaystyle{ {\partial_t \rho} + \frac{1}{r^2} \partial_r \left(\rho r^2 u_r\right) + \frac{1}{r \sin\theta}{\partial_\varphi (\rho u_\varphi)} + \frac{1}{r \sin\theta} \partial_\theta \left(\sin\theta \rho u_\theta\right) = 0. }[/math]

These equations could be (slightly) compacted by, for example, factoring [math]\displaystyle{ \frac{1}{r^2} }[/math] from the viscous terms. However, doing so would undesirably alter the structure of the Laplacian and other quantities.

The Navier–Stokes equations are used extensively in video games in order to model a wide variety of natural phenomena. Simulations of small-scale gaseous fluids, such as fire and smoke, are often based on the seminal paper "Real-Time Fluid Dynamics for Games"^{[41]} by Jos Stam, which elaborates one of the methods proposed in Stam's earlier, more famous paper "Stable Fluids"^{[42]} from 1999. Stam proposes stable fluid simulation using a Navier–Stokes solution method from 1968, coupled with an unconditionally stable semi-Lagrangian advection scheme, as first proposed in 1992.

More recent implementations based upon this work run on the game systems graphics processing unit (GPU) as opposed to the central processing unit (CPU) and achieve a much higher degree of performance.^{[43]}^{[44]}
Many improvements have been proposed to Stam's original work, which suffers inherently from high numerical dissipation in both velocity and mass.

An introduction to interactive fluid simulation can be found in the 2007 ACM SIGGRAPH course, Fluid Simulation for Computer Animation.^{[45]}

## See also

## Citations

- ↑ McLean, Doug (2012). "Continuum Fluid Mechanics and the Navier-Stokes Equations".
*Understanding Aerodynamics: Arguing from the Real Physics*. John Wiley & Sons. pp. 13–78. ISBN 9781119967514. https://books.google.com/books?id=UE3sxu28R0wC&pg=PA13. "The main relationships comprising the NS equations are the basic conservation laws for mass, momentum, and energy. To have a complete equation set we also need an equation of state relating temperature, pressure, and density..." - ↑
*Millennium Prize Problems—Navier–Stokes Equation*, Clay Mathematics Institute, March 27, 2017, http://www.claymath.org/millennium-problems/navier%E2%80%93stokes-equation, retrieved 2017-04-02 - ↑ Fefferman, Charles L.. "Existence and smoothness of the Navier–Stokes equation". Clay Mathematics Institute. http://www.claymath.org/sites/default/files/navierstokes.pdf.
- ↑ Batchelor (1967) pp. 137 & 142.
- ↑
^{5.0}^{5.1}^{5.2}^{5.3}Batchelor (1967) pp. 142–148. - ↑ Chorin, Alexandre E.; Marsden, Jerrold E. (1993).
*A Mathematical Introduction to Fluid Mechanics*. p. 33. - ↑
^{7.0}^{7.1}Batchelor (1967) p. 165. - ↑ Landau & Lifshitz (1987) pp. 44–45, 196
- ↑ White (2006) p. 67.
- ↑ Stokes, G. G. (2007). On the theories of the internal friction of fluids in motion, and of the equilibrium and motion of elastic solids.
- ↑ Vincenti, W. G., Kruger Jr., C. H. (1975). Introduction to physical gas dynamic. Introduction to physical gas dynamics/Huntington.
- ↑ Batchelor (1967) pp. 147 & 154.
- ↑ Batchelor (1967) p. 75.
- ↑
^{14.0}^{14.1}^{14.2}See Acheson (1990). - ↑ Abdulkadirov, Ruslan; Lyakhov, Pavel (2022-02-22). "Estimates of Mild Solutions of Navier–Stokes Equations in Weak Herz-Type Besov–Morrey Spaces" (in en).
*Mathematics***10**(5): 680. doi:10.3390/math10050680. ISSN 2227-7390. - ↑ Batchelor (1967) pp. 21 & 147.
- ↑
Temam, Roger (2001),
*Navier–Stokes Equations, Theory and Numerical Analysis*, AMS Chelsea, pp. 107–112 - ↑
^{18.00}^{18.01}^{18.02}^{18.03}^{18.04}^{18.05}^{18.06}^{18.07}^{18.08}^{18.09}^{18.10}^{18.11}Quarteroni, Alfio (2014-04-25).*Numerical models for differential problems*(Second ed.). Springer. ISBN 978-88-470-5522-3. - ↑
Holdeman, J. T. (2010), "A Hermite finite element method for incompressible fluid flow",
*Int. J. Numer. Methods Fluids***64**(4): 376–408, doi:10.1002/fld.2154, Bibcode: 2010IJNMF..64..376H - ↑
Holdeman, J. T.; Kim, J. W. (2010), "Computation of incompressible thermal flows using Hermite finite elements",
*Comput. Meth. Appl. Mech. Eng.***199**(49–52): 3297–3304, doi:10.1016/j.cma.2010.06.036, Bibcode: 2010CMAME.199.3297H - ↑ Potter, M.; Wiggert, D. C. (2008).
*Fluid Mechanics*. Schaum's Outlines. McGraw-Hill. ISBN 978-0-07-148781-8. - ↑ Aris, R. (1989).
*Vectors, Tensors, and the basic Equations of Fluid Mechanics*. Dover Publications. ISBN 0-486-66110-5. - ↑ Parker, C. B. (1994).
*McGraw Hill Encyclopaedia of Physics*(2nd ed.). McGraw-Hill. ISBN 0-07-051400-3. - ↑ Encyclopaedia of Physics (2nd Edition), R.G. Lerner, G.L. Trigg, VHC publishers, 1991, ISBN (Verlagsgesellschaft) 3-527-26954-1, ISBN (VHC Inc.) 0-89573-752-3
- ↑ Gorban, A.N.; Karlin, I. V. (2016), "Beyond Navier–Stokes equations: capillarity of ideal gas",
*Contemporary Physics***58**(1): 70–90, doi:10.1080/00107514.2016.1256123, Bibcode: 2017ConPh..58...70G, https://www.researchgate.net/publication/310825466 - ↑ Cercignani, C. (2002), "The Boltzmann equation and fluid dynamics", in Friedlander, S.; Serre, D.,
*Handbook of mathematical fluid dynamics*,**1**, Amsterdam: North-Holland, pp. 1–70, ISBN 978-0444503305 - ↑ Nie, X.B.; Chen, S.Y.; Robbins, M.O. (2004), "A continuum and molecular dynamics hybrid method for micro-and nano-fluid flow",
*Journal of Fluid Mechanics***500**: 55–64, doi:10.1017/S0022112003007225, Bibcode: 2004JFM...500...55N, https://www.cambridge.org/core/journals/journal-of-fluid-mechanics/article/a-continuum-and-molecular-dynamics-hybrid-method-for-micro-and-nano-fluid-flow/BE0D4513A0F90F844CD21D64F6D3F9EF - ↑ Öttinger, H.C. (2012),
*Stochastic processes in polymeric fluids*, Berlin, Heidelberg: Springer Science & Business Media, doi:10.1007/978-3-642-58290-5, ISBN 9783540583530 - ↑
^{29.0}^{29.1}Shah, Tasneem Mohammad (1972). "Analysis of the multigrid method".*NASA Sti/Recon Technical Report N***91**: 23418. Bibcode: 1989STIN...9123418S. - ↑
Wang, C. Y. (1991), "Exact solutions of the steady-state Navier–Stokes equations",
*Annual Review of Fluid Mechanics***23**: 159–177, doi:10.1146/annurev.fl.23.010191.001111, Bibcode: 1991AnRFM..23..159W - ↑ Landau & Lifshitz (1987) pp. 75–88.
- ↑
Ethier, C. R.; Steinman, D. A. (1994), "Exact fully 3D Navier–Stokes solutions for benchmarking",
*International Journal for Numerical Methods in Fluids***19**(5): 369–375, doi:10.1002/fld.1650190502, Bibcode: 1994IJNMF..19..369E - ↑ "Navier Stokes Equations". http://www.claudino.webs.com/Navier%20Stokes%20Equations.pps.
- ↑ Ladyzhenskaya, O. A. (1969),
*The Mathematical Theory of viscous Incompressible Flow*(2nd ed.), p. preface, xi - ↑ Kamchatno, A. M. (1982),
*Topological solitons in magnetohydrodynamics*, http://www.jetp.ac.ru/cgi-bin/dn/e_055_01_0069.pdf - ↑ Antuono, M. (2020), "Tri-periodic fully three-dimensional analytic solutions for the Navier–Stokes equations",
*Journal of Fluid Mechanics***890**, doi:10.1017/jfm.2020.126, Bibcode: 2020JFM...890A..23A - ↑ McComb, W. D. (2008),
*Renormalization methods: A guide for beginners*, Oxford University Press, pp. 121–128, ISBN 978-0-19-923652-7 - ↑ Georgia Institute of Technology (August 29, 2022). "Physicists uncover new dynamical framework for turbulence".
*Proceedings of the National Academy of Sciences of the United States of America*(Phys.org)**119**(34): e2120665119. doi:10.1073/pnas.2120665119. PMID 35984901. PMC 9407532. https://phys.org/news/2022-08-physicists-uncover-dynamical-framework-turbulence.amp. - ↑ de' Michieli Vitturi, Mattia,
*Navier–Stokes equations in cylindrical coordinates*, https://demichie.github.io/NS_cylindrical, retrieved 2016-12-26 - ↑ Eric W. Weisstein (2005-10-26),
*Spherical Coordinates*, MathWorld, http://mathworld.wolfram.com/SphericalCoordinates.html, retrieved 2008-01-22 - ↑ Stam, Jos (2003),
*Real-Time Fluid Dynamics for Games*, https://pdfs.semanticscholar.org/847f/819a4ea14bd789aca8bc88e85e906cfc657c.pdf - ↑ Stam, Jos (1999),
*Stable Fluids*, http://movement.stanford.edu/courses/cs448-01-spring/papers/stam.pdf - ↑ Harris, Mark J. (2004), "38",
*GPUGems - Fast Fluid Dynamics Simulation on the GPU* - ↑ Sander, P.; Tatarchuck, N.; Mitchell, J.L. (2007), "9.6",
*ShaderX5 - Explicit Early-Z Culling for Efficient Fluid Flow Simulation*, pp. 553–564 - ↑ "Fluid Simulation for Computer Animation". http://www.cs.ubc.ca/~rbridson/fluidsimulation/.

## General references

- Acheson, D. J. (1990),
*Elementary Fluid Dynamics*, Oxford Applied Mathematics and Computing Science Series, Oxford University Press, ISBN 978-0-19-859679-0, https://books.google.com/books?id=IGfDBAAAQBAJ - Batchelor, G. K. (1967),
*An Introduction to Fluid Dynamics*, Cambridge University Press, ISBN 978-0-521-66396-0 - Currie, I. G. (1974),
*Fundamental Mechanics of Fluids*, McGraw-Hill, ISBN 978-0-07-015000-3 - V. Girault and P. A. Raviart.
*Finite Element Methods for Navier–Stokes Equations: Theory and Algorithms*. Springer Series in Computational Mathematics. Springer-Verlag, 1986. - Landau, L. D.; Lifshitz, E. M. (1987),
*Fluid mechanics*,(2nd revised ed.), Pergamon Press, ISBN 978-0-08-033932-0, OCLC 15017127*Course of Theoretical Physics*Volume 6 - Polyanin, A. D.; Kutepov, A. M.; Vyazmin, A. V.; Kazenin, D. A. (2002),
*Hydrodynamics, Mass and Heat Transfer in Chemical Engineering*, Taylor & Francis, London, ISBN 978-0-415-27237-7 - Rhyming, Inge L. (1991),
*Dynamique des fluides*, Presses polytechniques et universitaires romandes - Smits, Alexander J. (2014),
*A Physical Introduction to Fluid Mechanics*, Wiley, ISBN 0-47-1253499 - Temam, Roger (1984):
*Navier–Stokes Equations: Theory and Numerical Analysis*, ACM Chelsea Publishing, ISBN:978-0-8218-2737-6 - White, Frank M. (2006),
*Viscous Fluid Flow*, McGraw-Hill, ISBN 978-0-07-124493-0

## External links

- Simplified derivation of the Navier–Stokes equations
- Three-dimensional unsteady form of the Navier–Stokes equations Glenn Research Center, NASA

Original source: https://en.wikipedia.org/wiki/Navier–Stokes equations.
Read more |