In physics, the Navier–Stokes equations, named after Claude-Louis Navier and George Gabriel Stokes, describe the motion of fluid substances. These equations arise from applying Newton's second law to fluid motion, together with the assumption that the fluid stress is the sum of a diffusing viscous term (proportional to the gradient of velocity), plus a pressure term.

The equations are useful because they describe the physics of many things of academic and economic 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 things. 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. Somewhat surprisingly, given their wide range of practical uses, mathematicians have not yet proven that in three dimensions solutions always exist (existence), or that if they do exist, then they do not contain any singularity (smoothness). These are called the Navier–Stokes existence and smoothness problems. The Clay Mathematics Institute has called this one of the seven most important open problems in mathematics and has offered a US$1,000,000 prize for a solution or a counter-example.[1]

Velocity field

The Navier–Stokes equations dictate not position but rather velocity. A solution of the Navier–Stokes equations is called a velocity field or flow field, which is a description of the velocity of the fluid at a given point in space and time. Once the velocity field is solved for, other quantities of interest (such as flow rate or drag force) may be found. 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; however for visualization purposes one can compute various trajectories.

Properties

Nonlinearity

The Navier–Stokes equations are nonlinear partial differential equations in almost every real situation[2][3]. 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.[4]

Turbulence

Turbulence is the time dependent chaotic behavior 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.[5]

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 (see 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-omega), k-ε (k-epsilon), and SST models which add a variety of additional equations to bring closure to the RANS equations. Another technique for solving numerically the Navier–Stokes equation is the Large eddy simulation (LES). This approach is computationally more expensive than the RANS method (in time and computer memory), but produces better results since the larger turbulent scales are explicitly resolved.

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. Depending on the Knudsen number of the problem, statistical mechanics or possibly even molecular dynamics may be a more appropriate approach.

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 which are an area of current research. For this reason, these equations are usually written for Newtonian fluids. Studying such fluids is "simple" because the viscosity model ends up being linear; truly general models for the flow of other kinds of fluids (such as blood) do not, as of 2012, exist.

Derivation and description

The derivation of the Navier–Stokes equations begins with an application of Newton's second law: conservation of momentum (often alongside mass and energy conservation) being written for an arbitrary portion of the fluid. In an inertial frame of reference, the general form of the equations of fluid motion is:[6]

Navier–Stokes equations (general)

\( \rho \left(\frac{\partial \mathbf{v |}{\partial t} + \mathbf{v} \cdot \nabla \mathbf{v} \right) = -\nabla p + \nabla \cdot\boldsymbol{\mathsf{T}} + \mathbf{f},\)

cellpadding border border colour = #50C878 background colour = #ECFCF4}}

where v is the flow velocity, ρ is the fluid density, p is the pressure, \(\boldsymbol{\mathsf{T}}\) is the (deviatoric) stress tensor, and f represents body forces (per unit volume) acting on the fluid and ∇ is the del operator. This is a statement of the conservation of momentum in a fluid and it is an application of Newton's second law to a continuum; in fact this equation is applicable to any non-relativistic continuum and is known as the Cauchy momentum equation.

This equation is often written using the material derivative Dv/Dt, making it more apparent that this is a statement of Newton's second law:

\[\rho \frac{D \mathbf{v}}{D t} = -\nabla p + \nabla \cdot\boldsymbol{\mathsf{T}} + \mathbf{f}.\]

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

Convective acceleration

File:ConvectiveAcceleration.png
An example of convection. Though the flow may be steady (time independent), the fluid decelerates as it moves down the diverging duct (assuming incompressible or subsonic compressible flow), hence there is an acceleration happening over position.

A very significant feature of the Navier–Stokes equations is the presence of convective acceleration: the effect of time independent acceleration of a fluid with respect to space. While individual fluid particles are indeed experiencing time dependent acceleration, the convective acceleration of the flow field is a spatial effect, one example being fluid speeding up in a nozzle. Convective acceleration is represented by the nonlinear quantity:

\[\mathbf{v} \cdot \nabla \mathbf{v},\]

which may be interpreted either as \((\mathbf{v}\cdot\nabla)\,\mathbf{v}\) or as \(\mathbf{v}\cdot(\nabla\mathbf{v}),\) with \(\nabla \mathbf{v}\) the tensor derivative of the velocity vector \(\mathbf{v}.\) Both interpretations give the same result, independent of the coordinate system — provided \(\nabla\) is interpreted as the covariant derivative.[7]

Interpretation as (v·∇)v

The convection term is often written as

\[(\mathbf{v} \cdot \nabla) \mathbf{v},\]

where the advection operator \(\mathbf{v} \cdot \nabla\) is used. Usually this representation is preferred as it is simpler than the one in terms of the tensor derivative \(\nabla \mathbf{v}.\)[7]

Interpretation as v·(∇v)

Here \(\nabla \mathbf{v}\) is the tensor derivative of the velocity vector, equal in Cartesian coordinates to the component by component gradient. The convection term may, by a vector calculus identity, be expressed without a tensor derivative:[8][9]

\[\mathbf{v} \cdot \nabla \mathbf{v} = \nabla \left( \frac{\|\mathbf{v}\|^2}{2} \right) + \left( \nabla \times \mathbf{v} \right) \times \mathbf{v}.\]

The form has use in irrotational flow, where the curl of the velocity (called vorticity) \(\omega=\nabla \times \mathbf{v}\) is equal to zero.

Regardless of what kind of fluid is being dealt with, convective acceleration is a nonlinear effect. Convective acceleration is present in most flows (exceptions include one-dimensional incompressible flow), but its dynamic effect is disregarded in creeping flow (also called Stokes flow) .

Stresses

The effect of stress in the fluid is represented by the \(\scriptstyle \nabla p\) and \(\scriptstyle \nabla \cdot\boldsymbol{\mathsf{T}}\) terms; these are gradients of surface forces, analogous to stresses in a solid. \(\scriptstyle \nabla p\) is called the pressure gradient and arises from the isotropic part of the stress tensor. This part is given by normal stresses that turn up in almost all situations, dynamic or not. The anisotropic part of the stress tensor gives rise to \(\scriptstyle \nabla \cdot\boldsymbol{\mathsf{T}}\), which conventionally describes viscous forces; for incompressible flow, this is only a shear effect. Thus, \(\scriptstyle \boldsymbol{\mathsf{T}}\) is the deviatoric stress tensor, and the stress tensor is equal to:[10]

\[\sigma = -p\boldsymbol{\mathsf{I}} + \boldsymbol{\mathsf{T}}\]

where \(\scriptstyle \boldsymbol{\mathsf{I}}\) is the 3×3 identity matrix. Interestingly, only the gradient of pressure matters, not the pressure itself. The effect of the pressure gradient is that fluid flows from high pressure to low pressure.

The stress terms p and \(\scriptstyle \boldsymbol{\mathsf{T}}\) are yet unknown, so the general form of the equations of motion is not usable to solve problems. Besides the equations of motion—Newton's second law—a force model is needed relating the stresses to the fluid motion.[11] For this reason, assumptions on the specific behavior of a fluid are made (based on natural observations) and applied in order to specify the stresses in terms of the other flow variables, such as velocity and density.

The Navier–Stokes equations result from the following assumptions on the deviatoric stress tensor \(\scriptstyle \boldsymbol{\mathsf{T}}\):[12]

  • the deviatoric stress vanishes for a fluid at rest, and – by Galilean invariance – also does not depend directly on the flow velocity itself, but only on spatial derivatives of the flow velocity
  • in the Navier–Stokes equations, the deviatoric stress is expressed as the product of the tensor gradient \(\scriptstyle \nabla\mathbf{v}\) of the flow velocity with a viscosity tensor \(\scriptstyle \boldsymbol{\mathsf{A}}\), i.e. \[\boldsymbol{\mathsf{T}} = \boldsymbol{\mathsf{A}} \left( \nabla\mathbf{v} \right)\]
  • the fluid is assumed to be isotropic, as valid for gases and simple liquids, and consequently \(\scriptstyle \boldsymbol{\mathbb{A}}\) is an isotropic tensor; furthermore, since the deviatoric stress tensor is symmetric, it turns out that it can be expressed in terms of two scalar dynamic viscosities μ and μ”\[\boldsymbol{\mathsf{T}} = 2 \mu \boldsymbol{\mathsf{E}} + \mu'' \Delta \boldsymbol{\mathsf{I}},\] where \(\boldsymbol{\mathsf{E}}=\tfrac12 \left( \nabla\mathbf{v} \right) + \tfrac12 \left( \nabla\mathbf{v} \right)^\text{T}\) is the rate-of-strain tensor and \(\Delta = \nabla\cdot\mathbf{v}\) is the rate of expansion of the flow
  • the deviatoric stress tensor has zero trace, so for a three-dimensional flow 2μ + 3μ” = 0

As a result, in the Navier–Stokes equations the deviatoric stress tensor has the following form:[12]

\[\boldsymbol{\mathsf{T}} = 2 \mu \left( \boldsymbol{\mathsf{E}} - \tfrac13 \Delta \boldsymbol{\mathsf{I}} \right),\]

with the quantity between brackets the non-isotropic part of the rate-of-strain tensor \(\scriptstyle \boldsymbol{\mathsf{E}}.\) The dynamic viscosity μ does not need to be constant – in general it depends on conditions like temperature and pressure, and in turbulence modelling the concept of eddy viscosity is used to approximate the average deviatoric stress.

The pressure p is modelled by use of an equation of state.[13] For the special case of an incompressible flow, the pressure constrains the flow in such a way that the volume of fluid elements is constant: isochoric flow resulting in a solenoidal velocity field with \(\scriptstyle \nabla\cdot\mathbf{v}=0.\)[14]

Other forces

The vector field \(\scriptstyle \mathbf{f}\) represents body forces. Typically these consist of only gravity forces, but may include other types (such as electromagnetic forces). In a non-inertial coordinate system, other "forces" such as that associated with rotating coordinates may be inserted.

Often, these forces are so-called conservative forces and may be represented as the gradient of some scalar quantity \(F\,\), with \( \mathbf{f} = \nabla F .\) Gravity in the z direction, for example, is the gradient of \(-\rho g z\). Since pressure shows up only as a gradient, this implies that solving a problem without any such body force can be mended to include the body force by using a modified pressure \( p_m = p - F. \) The pressure and force terms on the right hand side of the Navier–Stokes equation become

\[ -\nabla p + \mathbf{f} = -\nabla p + \nabla F = -\nabla \left( p - F \right) = -\nabla p_m .\]

Other equations

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

Regardless of the flow assumptions, a statement of the conservation of mass is generally necessary. This is achieved through the mass continuity equation, given in its most general form as:

\[\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \mathbf{v}) = 0\]

or, using the substantive derivative:

\[\frac{D\rho}{Dt} + \rho (\nabla \cdot \mathbf{v}) = 0.\]

Incompressible flow of Newtonian fluids

A simplification of the resulting flow equations is obtained when considering an incompressible flow of a Newtonian fluid. The assumption of incompressibility rules out the possibility of sound or shock waves to occur; so this simplification is invalid if these phenomena are important. The incompressible flow assumption typically holds well even when dealing with a "compressible" fluid — such as air at room temperature — at low Mach numbers (even when flowing up to about Mach 0.3). Taking the incompressible flow assumption into account and assuming constant viscosity, the Navier–Stokes equations will read, in vector form:[15]

Navier–Stokes equations (Incompressible flow)

\(\rho \left(\frac{\partial \mathbf{v |}{\partial t} + \mathbf{v} \cdot \nabla \mathbf{v}\right) = -\nabla p + \mu \nabla^2 \mathbf{v} + \mathbf{f}.\)

cellpadding border border colour = #0073CF background colour=#F5FFFA}}

Here f represents "other" body forces (forces per unit volume), such as gravity or centrifugal force. The shear stress term \(\scriptstyle \nabla \boldsymbol{\mathsf{T}}\) becomes the useful quantity \(\scriptstyle \mu \nabla^2 \mathbf{v}\) (\(\scriptstyle \nabla^2\) is the vector Laplacian) when the fluid is assumed incompressible, homogeneous and Newtonian, where \(\scriptstyle \mu\) is the (constant) dynamic viscosity.[16]

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

\[ \overbrace{\rho \Big( \underbrace{\frac{\partial \mathbf{v}}{\partial t}}_{ \begin{smallmatrix} \text{Unsteady}\\ \text{acceleration} \end{smallmatrix}} + \underbrace{\mathbf{v} \cdot \nabla \mathbf{v}}_{ \begin{smallmatrix} \text{Convective} \\ \text{acceleration} \end{smallmatrix}}\Big)}^{\text{Inertia (per volume)}} = \overbrace{\underbrace{-\nabla p}_{ \begin{smallmatrix} \text{Pressure} \\ \text{gradient} \end{smallmatrix}} + \underbrace{\mu \nabla^2 \mathbf{v}}_{\text{Viscosity}}}^{\text{Divergence of stress}} + \underbrace{\mathbf{f}}_{ \begin{smallmatrix} \text{Other} \\ \text{body} \\ \text{forces} \end{smallmatrix}}. \]

Note that only the convective terms are nonlinear for incompressible Newtonian flow. The convective acceleration is an acceleration caused by a (possibly steady) change in velocity over position, for example the speeding up of fluid entering a converging nozzle. Though individual fluid particles are being accelerated and thus are under unsteady motion, the flow field (a velocity distribution) will not necessarily be time dependent.

Another important observation is that the viscosity is represented by the vector Laplacian of the velocity field (interpreted here as the difference between the velocity at a point and the mean velocity in a small volume around). This implies that – for a Newtonian fluid – viscosity operates in a diffusion of momentum, in much the same way as the diffusion of heat seen in the heat equation (which also involves the Laplacian).

If temperature effects are also neglected, the only "other" equation (apart from initial/boundary conditions) needed is the mass continuity equation. Under the assumption of incompressibility, the density of a fluid parcel is constant and it follows that the continuity equation will simplify to:

\[\nabla \cdot \mathbf{v} = 0.\]

This is more specifically a statement of the conservation of volume (see divergence and isochoric process).

These equations are commonly used in 3 coordinates systems: Cartesian, cylindrical, and spherical. While the Cartesian equations seem to follow directly from the vector equation above, the vector form of the Navier–Stokes equation involves some tensor calculus which means that writing it in other coordinate systems is not as simple as doing so for scalar equations (such as the heat equation).

Cartesian coordinates

Writing the vector equation explicitly,

\[ \rho \left(\frac{\partial u}{\partial t} + u \frac{\partial u}{\partial x} + v \frac{\partial u}{\partial y}+ w \frac{\partial u}{\partial z}\right) = -\frac{\partial p}{\partial x} + \mu \left(\frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} + \frac{\partial^2 u}{\partial z^2}\right)+ \rho g_x,\]

\[ \rho \left(\frac{\partial v}{\partial t} + u \frac{\partial v}{\partial x} + v \frac{\partial v}{\partial y}+ w \frac{\partial v}{\partial z}\right) = -\frac{\partial p}{\partial y} + \mu \left(\frac{\partial^2 v}{\partial x^2} + \frac{\partial^2 v}{\partial y^2} + \frac{\partial^2 v}{\partial z^2}\right) + \rho g_y\]

\[ \rho \left(\frac{\partial w}{\partial t} + u \frac{\partial w}{\partial x} + v \frac{\partial w}{\partial y}+ w \frac{\partial w}{\partial z}\right) = -\frac{\partial p}{\partial z} + \mu \left(\frac{\partial^2 w}{\partial x^2} + \frac{\partial^2 w}{\partial y^2} + \frac{\partial^2 w}{\partial z^2}\right) + \rho g_z\]

Note that gravity has been accounted for as a body force, and the values of gx, gy, gz will depend on the orientation of gravity with respect to the chosen set of coordinates.

The continuity equation reads:

\[{\partial \rho \over \partial t} + {\partial (\rho u ) \over \partial x} + {\partial (\rho v) \over \partial y} + {\partial (\rho w) \over \partial z} = 0.\]

When the flow is incompressible, \(\rho\) does not change for any fluid parcel, and its material derivative vanishes\[D\rho/Dt=0.\] The continuity equation is reduced to:

\[{\partial u \over \partial x} + {\partial v \over \partial y} + {\partial w \over \partial z} = 0.\]

The velocity components (the dependent variables to be solved for) are typically named u, v, w. 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[15] the following momentum equations for r, \(\phi\), and z:

\[ r:\;\;\rho \left(\frac{\partial u_r}{\partial t} + u_r \frac{\partial u_r}{\partial r} + \frac{u_{\phi}}{r} \frac{\partial u_r}{\partial \phi} + u_z \frac{\partial u_r}{\partial z} - \frac{u_{\phi}^2}{r}\right) = -\frac{\partial p}{\partial r} + \mu \left[\frac{1}{r}\frac{\partial}{\partial r}\left(r \frac{\partial u_r}{\partial r}\right) + \frac{1}{r^2}\frac{\partial^2 u_r}{\partial \phi^2} + \frac{\partial^2 u_r}{\partial z^2}-\frac{u_r}{r^2}-\frac{2}{r^2}\frac{\partial u_\phi}{\partial \phi} \right] + \rho g_r\] \[ \phi:\;\;\rho \left(\frac{\partial u_{\phi}}{\partial t} + u_r \frac{\partial u_{\phi}}{\partial r} + \frac{u_{\phi}}{r} \frac{\partial u_{\phi}}{\partial \phi} + u_z \frac{\partial u_{\phi}}{\partial z} + \frac{u_r u_{\phi}}{r}\right) = -\frac{1}{r}\frac{\partial p}{\partial \phi} + \mu \left[\frac{1}{r}\frac{\partial}{\partial r}\left(r \frac{\partial u_{\phi}}{\partial r}\right) + \frac{1}{r^2}\frac{\partial^2 u_{\phi}}{\partial \phi^2} + \frac{\partial^2 u_{\phi}}{\partial z^2} + \frac{2}{r^2}\frac{\partial u_r}{\partial \phi} - \frac{u_{\phi}}{r^2}\right] + \rho g_{\phi}\]

\[ z:\;\;\rho \left(\frac{\partial u_z}{\partial t} + u_r \frac{\partial u_z}{\partial r} + \frac{u_{\phi}}{r} \frac{\partial u_z}{\partial \phi} + u_z \frac{\partial u_z}{\partial z}\right) = -\frac{\partial p}{\partial z} + \mu \left[\frac{1}{r}\frac{\partial}{\partial r}\left(r \frac{\partial u_z}{\partial r}\right) + \frac{1}{r^2}\frac{\partial^2 u_z}{\partial \phi^2} + \frac{\partial^2 u_z}{\partial z^2}\right] + \rho g_z.\]

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:

\[ \frac{\partial\rho}{\partial t} + \frac{1}{r}\frac{\partial}{\partial r}\left(\rho r u_r\right) + \frac{1}{r}\frac{\partial (\rho u_\phi)}{\partial \phi} + \frac{\partial (\rho u_z)}{\partial z} = 0.\]

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 (\(u_{\phi} = 0\)), and the remaining quantities are independent of \(\phi\):

\[ \rho \left(\frac{\partial u_r}{\partial t} + u_r \frac{\partial u_r}{\partial r} + u_z \frac{\partial u_r}{\partial z}\right) = -\frac{\partial p}{\partial r} + \mu \left[\frac{1}{r}\frac{\partial}{\partial r}\left(r \frac{\partial u_r}{\partial r}\right) + \frac{\partial^2 u_r}{\partial z^2} - \frac{u_r}{r^2}\right] + \rho g_r\]

\[ \rho \left(\frac{\partial u_z}{\partial t} + u_r \frac{\partial u_z}{\partial r} + u_z \frac{\partial u_z}{\partial z}\right) = -\frac{\partial p}{\partial z} + \mu \left[\frac{1}{r}\frac{\partial}{\partial r}\left(r \frac{\partial u_z}{\partial r}\right) + \frac{\partial^2 u_z}{\partial z^2}\right] + \rho g_z\]

\[ \frac{1}{r}\frac{\partial}{\partial r}\left(r u_r\right) + \frac{\partial u_z}{\partial z} = 0.\]

Spherical coordinates

In spherical coordinates, the r, ϕ, and θ momentum equations are[15] (note the convention used: θ is polar angle, or colatitude,[17] 0 ≤ θ ≤ π): \[ r:\;\;\rho \left(\frac{\partial u_r}{\partial t} + u_r \frac{\partial u_r}{\partial r} + \frac{u_{\phi}}{r \sin(\theta)} \frac{\partial u_r}{\partial \phi} + \frac{u_{\theta}}{r} \frac{\partial u_r}{\partial \theta} - \frac{u_{\phi}^2 + u_{\theta}^2}{r}\right) = -\frac{\partial p}{\partial r} + \rho g_r + \]

\[ \mu \left[ \frac{1}{r^2} \frac{\partial}{\partial r}\left(r^2 \frac{\partial u_r}{\partial r}\right) + \frac{1}{r^2 \sin(\theta)^2} \frac{\partial^2 u_r}{\partial \phi^2} + \frac{1}{r^2 \sin(\theta)} \frac{\partial}{\partial \theta}\left(\sin(\theta) \frac{\partial u_r}{\partial \theta}\right) - 2 \frac{u_r + \frac{\partial u_{\theta}}{\partial \theta} + u_{\theta} \cot(\theta)}{r^2} - \frac{2}{r^2 \sin(\theta)} \frac{\partial u_{\phi}}{\partial \phi} \right] \]

\[ \phi:\;\;\rho \left(\frac{\partial u_{\phi}}{\partial t} + u_r \frac{\partial u_{\phi}}{\partial r} + \frac{u_{\phi}}{r \sin(\theta)} \frac{\partial u_{\phi}}{\partial \phi} + \frac{u_{\theta}}{r} \frac{\partial u_{\phi}}{\partial \theta} + \frac{u_r u_{\phi} + u_{\phi} u_{\theta} \cot(\theta)}{r}\right) = -\frac{1}{r \sin(\theta)} \frac{\partial p}{\partial \phi} + \rho g_{\phi} + \]

\[ \mu \left[ \frac{1}{r^2} \frac{\partial}{\partial r}\left(r^2 \frac{\partial u_{\phi}}{\partial r}\right) + \frac{1}{r^2 \sin(\theta)^2} \frac{\partial^2 u_{\phi}}{\partial \phi^2} + \frac{1}{r^2 \sin(\theta)} \frac{\partial}{\partial \theta}\left(\sin(\theta) \frac{\partial u_{\phi}}{\partial \theta}\right) + \frac{2 \sin(\theta) \frac{\partial u_r}{\partial \phi} + 2 \cos(\theta) \frac{\partial u_{\theta}}{\partial \phi} - u_{\phi}}{r^2 \sin(\theta)^2} \right] \]

\[ \theta:\;\;\rho \left(\frac{\partial u_{\theta}}{\partial t} + u_r \frac{\partial u_{\theta}}{\partial r} + \frac{u_{\phi}}{r \sin(\theta)} \frac{\partial u_{\theta}}{\partial \phi} + \frac{u_{\theta}}{r} \frac{\partial u_{\theta}}{\partial \theta} + \frac{u_r u_{\theta} - u_{\phi}^2 \cot(\theta)}{r}\right) = -\frac{1}{r} \frac{\partial p}{\partial \theta} + \rho g_{\theta} + \]

\[ \mu \left[ \frac{1}{r^2} \frac{\partial}{\partial r}\left(r^2 \frac{\partial u_{\theta}}{\partial r}\right) + \frac{1}{r^2 \sin(\theta)^2} \frac{\partial^2 u_{\theta}}{\partial \phi^2} + \frac{1}{r^2 \sin(\theta)} \frac{\partial}{\partial \theta}\left(\sin(\theta) \frac{\partial u_{\theta}}{\partial \theta}\right) + \frac{2}{r^2} \frac{\partial u_r}{\partial \theta} - \frac{u_{\theta} + 2 \cos(\theta) \frac{\partial u_{\phi}}{\partial \phi}}{r^2 \sin(\theta)^2} \right]. \]

Mass continuity will read:

\[ \frac{\partial \rho}{\partial t} + \frac{1}{r^2}\frac{\partial}{\partial r}\left(\rho r^2 u_r\right) + \frac{1}{r \sin(\theta)}\frac{\partial \rho u_\phi}{\partial \phi} + \frac{1}{r \sin(\theta)}\frac{\partial}{\partial \theta}\left(\sin(\theta) \rho u_\theta\right) = 0.\]

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

Stream function formulation

Taking the curl of the Navier–Stokes equation results in the elimination of pressure. This is especially easy to see if 2D Cartesian flow is assumed (\(w = 0\) and no dependence of anything on z), where the equations reduce to:

\[ \rho \left(\frac{\partial u}{\partial t} + u \frac{\partial u}{\partial x} + v \frac{\partial u}{\partial y}\right) = -\frac{\partial p}{\partial x} + \mu \left(\frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2}\right) + \rho g_x,\]

\[ \rho \left(\frac{\partial v}{\partial t} + u \frac{\partial v}{\partial x} + v \frac{\partial v}{\partial y}\right) = -\frac{\partial p}{\partial y} + \mu \left(\frac{\partial^2 v}{\partial x^2} + \frac{\partial^2 v}{\partial y^2}\right) + \rho g_y.\]

Differentiating the first with respect to y, the second with respect to x and subtracting the resulting equations will eliminate pressure and any conservative force. Defining the stream function \(\psi\) through

\[u = \frac{\partial \psi}{\partial y} \quad ; \quad v = -\frac{\partial \psi}{\partial x}\]

results in mass continuity being unconditionally satisfied (given the stream function is continuous), and then incompressible Newtonian 2D momentum and mass conservation degrade into one equation:

\[\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,\]

where \(\nabla^4\) is the (2D) biharmonic operator and \(\nu\) is the kinematic viscosity, \(\nu=\frac{\mu}{\rho}\). We can also express this compactly using the Jacobian determinant:

\[\frac{\partial}{\partial t}\left(\nabla^2 \psi\right) + \frac{\partial\left(\psi, \nabla^2\psi \right)}{\partial\left(y,x\right)} = \nu \nabla^4 \psi.\]

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.

Pressure-free velocity formulation

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 above eliminates the pressure (in 2D) at the expense of introducing higher derivatives and elimination of the velocity, which is the primary variable of interest.

The incompressible Navier–Stokes equation is composite, the sum of two orthogonal equations, \[\frac{\partial\mathbf{v}}{\partial t}=\Pi^S\left(-\mathbf{v}\cdot\nabla\mathbf{v}+\nu\nabla^2\mathbf{v}\right)+\mathbf{f}^S \], \[\rho^{-1}\nabla p=\Pi^I\left(-\mathbf{v}\cdot\nabla\mathbf{v}+\nu\nabla^2\mathbf{v}\right)+\mathbf{f}^I \], where \(\Pi^S\) and \(\Pi^I\) are solenoidal and irrotational projection operators satisfying \(\Pi^S+\Pi^I=1\) and \(\mathbf{f}^S\) and \(\mathbf{f}^I\) are the nonconservative 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 \[\Pi^S\,\mathbf{F}(\mathbf{r})=\frac{1}{4\pi}\nabla\times\int \frac{\nabla^\prime\times\mathbf{F}(\mathbf{r}^\prime)}{|\mathbf{r}-\mathbf{r}^\prime|} d V^\prime, \quad \Pi^I=1-\Pi^S\]. with a similar structure in 2D. Thus the governing equation is an integro-differential equation and 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,[18] is given by, \[\left(\mathbf{w},\frac{\partial\mathbf{v}}{\partial t}\right)=-(\mathbf{w},\mathbf{v}\cdot\nabla\mathbf{v})-\nu(\nabla\mathbf{w}: \nabla\mathbf{v})+(\mathbf{w},\mathbf{f}^S)\]

for divergence-free test functions \(\mathbf{w}\) 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 imminently suited to finite element computation of divergence-free flow, as we shall see in the next section. There we 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 law. This all would seem to refute the frequent statements that the incompressible pressure enforces the divergence-free condition.

Discrete velocity

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

It is desirable to choose basis functions which 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, \[\nabla\phi = \left[\frac{\partial \phi}{\partial x},\,\frac{\partial \phi}{\partial y}\right]^\mathrm{T}, \quad \nabla\times\phi = \left[\frac{\partial \phi}{\partial y},\,-\frac{\partial \phi}{\partial x}\right]^\mathrm{T}. \]

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, \[(\mathbf{g}_i,\nabla p)=-(\mathbf{g}_i,\mathbf{v}\cdot\nabla\mathbf{v}_j)-\nu(\nabla\mathbf{g}_i: \nabla\mathbf{v}_j)+(\mathbf{g}_i,\mathbf{f}^I)\,\], 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 \(\mathbf{g}_i\) one would choose the irrotational vector elements obtainied from the gradient of the pressure element.

Compressible flow of Newtonian fluids

There are some phenomena that are closely linked with fluid compressibility. One of the obvious examples is sound. Description of such phenomena requires more general presentation of the Navier–Stokes equation that takes into account fluid compressibility. If viscosity is assumed a constant, one additional term appears, as shown here:[21][22]

\[\rho \left(\frac{\partial \mathbf{v}}{\partial t} + \mathbf{v} \cdot \nabla \mathbf{v}\right) = -\nabla p + \mu \nabla^2 \mathbf{v} + \left( \tfrac13 \mu + \mu^v) \nabla (\nabla \cdot \mathbf{v} \right) + \mathbf{f} \]

where \(\mu^v\) is the volume viscosity coefficient, also known as bulk viscosity. This additional term disappears for an incompressible fluid, when the divergence of the flow equals zero.

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. For example, after assuming steady, parallel, one dimensional, nonconvective pressure driven flow between parallel plates, the resulting scaled (dimensionless) boundary value problem is:

File:NSConvection.png
Visualization of a) parallel flow and b) radial flow.

\[\frac{d^2 u}{d y^2} = -1 \quad ; \quad u(0) = u(1) = 0.\]

The boundary condition is the no slip condition. This problem is easily solved for the flow field:

\[u(y) = \frac{y - y^2}{2}.\]

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

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 nonlinearity. The velocity field may be represented by a function \(f(z)\) that must satisfy:

\[\frac{d^2 f}{d z^2} + R f^2 = -1 \quad ; \quad f(-1) = f(1) = 0.\]

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 R > 1.41 (approximately; this is not the square root of 2), the parameter R being the Reynolds number with appropriately chosen scales. This is an example of flow assumptions losing their applicability, and an example of the difficulty in "high" Reynolds number flows.

Exact solutions of the Navier–Stokes equations

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; for example the Taylor–Green vortex.[23][24][25] Note that the existence of these exact solutions does not imply they are stable: turbulence may develop at higher Reynolds numbers.

A three dimensional steady-state vortex solution

File:Hopfkeyrings.jpg
Some of the flow lines along a Hopf fibration.

A nice steady-state example with no singularities comes from considering the flow along the lines of a Hopf fibration. Let r be a constant radius to the inner coil. One set of solutions is given by:[27] \[ \rho(x,y,z) = \frac{3B}{r^2+x^2+y^2+z^2} \] \[ p(x,y,z) = \frac{-A^2B}{(r^2+x^2+y^2+z^2)^3} \] \[ \mathbf{v}(x,y,z) = \frac{A}{(r^2+x^2+y^2+z^2)^2}\begin{pmatrix} 2(-ry+xz) \\ 2(rx+yz) \\ r^2-x^2-y^2+z^2 \end{pmatrix} \] \[ g=0 \] \[ \mu=0 \] for arbitrary constants A and B. 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 \(\rho\) is a constant.) 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:

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.[28]

Navier–Stokes equations use in games

The Navier–Stokes equations are used extensively in video games in order to model a wide variety of natural phenomena. These include simulations of effects such as water, fire, smoke etc. Many of the implementations used are based on the seminal paper "Real-Time Fluid Dynamics for Games"[29] by J. Stam. More recent implementations based upon this work run on the GPU as opposed to the CPU and achieve a much higher degree of performance.[30] [31]

See also

Notes

  1. Millennium Prize Problems, Clay Mathematics Institute, http://www.claymath.org/millennium/, retrieved 2009-04-11
  2. Fluid Mechanics (Schaum’s Series), M. Potter, D.C. Wiggert, Schaum’s Outlines, McGraw-Hill (USA), 2008, ISBN 978-0-07-148781-8
  3. Vectors, Tensors, and the basic Equations of Fluid Mechanics, R. Aris, Dover Publications, 1989, ISBN(10) 0-486-66110-5
  4. McGraw Hill Encyclopaedia of Physics (2nd Edition), C.B. Parker, 1994, ISBN 0-07-051400-3
  5. 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
  6. Batchelor (1967) pp. 137 & 142.
  7. 7.0 7.1 Emanuel, G. (2001), Analytical fluid dynamics (second ed.), CRC Press, ISBN 0-8493-9114-8 pp. 6–7.
  8. See Batchelor (1967), §3.5, p. 160.
  9. Eric W. Weisstein, Convective Derivative, MathWorld, http://mathworld.wolfram.com/ConvectiveDerivative.html, retrieved 2008-05-20
  10. Batchelor (1967) p. 142.
  11. Feynman, Richard P.; Leighton, Robert B.; Sands, Matthew (1963), The Feynman Lectures on Physics, Reading, Mass.: Addison-Wesley, ISBN 0-201-02116-1, Vol. 1, §9–4 and §12–1.
  12. 12.0 12.1 Batchelor (1967) pp. 142–148.
  13. Batchelor (1967) p. 165.
  14. Batchelor (1967) p. 75.
  15. 15.0 15.1 15.2 See Acheson (1990).
  16. Batchelor (1967) pp. 21 & 147.
  17. Eric W. Weisstein (2005-10-26), Spherical Coordinates, MathWorld, http://mathworld.wolfram.com/SphericalCoordinates.html, retrieved 2008-01-22
  18. Temam, Roger (2001), Navier–Stokes Equations, Theory and Numerical Analysis, AMS Chelsea, pp. 107–112
  19. Holdeman, J.T. (2010), "A Hermite finite element method for incompressible fluid flow", Int. J. Numer. Meth. FLuids 64 (4): 376–408, Bibcode 2010IJNMF..64..376H, doi:10.1002/fld.2154
  20. Holdeman, J.T.; Kim, J.W. (2010), "Computation of incompressible thermal flows using Hermite finite elements", Comput. Methods Appl. Mech. Engrg. 199 (49–52): 3297–3304, Bibcode 2010CMAME.199.3297H, doi:10.1016/j.cma.2010.06.036
  21. Landau & Lifshitz (1987) pp. 44–45.
  22. Batchelor (1967) pp. 147 & 154.
  23. Wang, C.Y. (1991), "Exact solutions of the steady-state Navier–Stokes equations", Annual Review of Fluid Mechanics 23: 159–177, Bibcode 1991AnRFM..23..159W, doi:10.1146/annurev.fl.23.010191.001111
  24. Landau & Lifshitz (1987) pp. 75–88.
  25. 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, Bibcode 1994IJNMF..19..369E, doi:10.1002/fld.1650190502
  26. Ladyzhenskaya, O.A. (1969), The Mathematical Theory of viscous Incompressible Flow (2nd ed.), p. preface, xi
  27. Kamchatno, A. M (1982), Topological solitons in magnetohydrodynamics, http://www.jetp.ac.ru/cgi-bin/dn/e_055_01_0069.pdf
  28. McComb, W.D. (2008), Renormalization methods: A guide for beginners, Oxford University Press, ISBN 0-19-923652-6 pp. 121–128.
  29. Stam, J. (2003), Real-Time Fluid Dynamics for Games, http://www.dgp.toronto.edu/people/stam/reality/Research/pdf/GDC03.pdf
  30. Harris, Mark J. (2004), "38", GPUGems - Fast Fluid Dynamics Simulation on the GPU
  31. Sander, P.; Tatarchuck, N.; Mitchell, J.L. (2007), "9.6", ShaderX5 - Explicit Early-Z Culling for Efficient Fluid Flow Simulation, pp. 553–564

References

External links

ar:معادلات نافيير-ستوكس

bg:Уравнения на Навие-Стокс bs:Navier–Stokesove jednačine ca:Equacions de Navier-Stokes cs:Navierova-Stokesova rovnice da:Navier-Stokes ligning de:Navier-Stokes-Gleichungen es:Ecuaciones de Navier-Stokes fa:معادلات ناویه-استوکس fr:Équations de Navier-Stokes gl:Ecuacións de Navier-Stokes ko:나비에-스토크스 방정식 hi:नेवियर-स्टोक्स समीकरण it:Equazioni di Navier-Stokes he:משוואות נאוויה-סטוקס hu:Navier–Stokes-egyenletek ml:നേവിയർ-സ്റ്റോക്സ് സമവാക്യങ്ങൾ nl:Navier-Stokes-vergelijkingen ja:ナビエ-ストークス方程式 no:Navier-Stokes-ligningene nn:Navier-Stokes-likningane pms:Equassion ëd Navier-Stokes pl:Równania Naviera-Stokesa pt:Equações de Navier-Stokes ro:Ecuațiile Navier-Stokes ru:Уравнения Навье — Стокса simple:Navier–Stokes equations sl:Navier-Stokesove enačbe fi:Navierin–Stokesin yhtälöt sv:Navier-Stokes ekvationer ta:நேவியர்-ஸ்டோக்சு சமன்பாடுகள் th:สมการนาเวียร์-สโตกส์ tr:Navier-Stokes denklemleri uk:Рівняння Нав'є — Стокса vi:Phương trình Navier-Stokes zh:纳维-斯托克斯方程