Navier–Stokes equations explained

The Navier–Stokes equations 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 make 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]

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

See main article: Derivation of the Navier–Stokes equations.

The Navier–Stokes momentum equation can be derived as a particular form of the Cauchy momentum equation, whose general convective form is \frac = \frac 1 \rho \nabla \cdot \boldsymbol + \mathbf.By setting the Cauchy stress tensor \boldsymbol to be the sum of a viscosity term \boldsymbol (the deviatoric stress) and a pressure term -p \mathbf (volumetric stress), we arrive at

where

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

D
Dt
) of any finite volume (V) to represent the change of velocity in fluid media:\begin\frac&=dV \\\frac + \rho (\nabla \cdot)&=\frac + \cdot + (\nabla \cdot \mathbf)= \frac + \nabla\cdot= 0 \endwhere

\rho

),

u

), which is a scalar field, Note 1

\rho

), which is the vector derivative of a scalar field, Note 1Note 1 - Refer to the mathematical operator del represented by the nabla (

\nabla

) symbol.

to arrive at the conservation form of the equations of motion. This is often written:[3]

where \otimes is the outer product of the flow velocity (

u

):\mathbf u \otimes \mathbf u = \mathbf u \mathbf u^

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 \boldsymbol 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:

Since the trace of the rate-of-strain tensor in three dimensions is the divergence (i.e. rate of expansion) of the flow:\operatorname (\boldsymbol \varepsilon) = \nabla\cdot\mathbf.

Given this relation, and since the trace of the identity tensor in three dimensions is three:\operatorname (\boldsymbol I) = 3.

the trace of the stress tensor in three dimensions becomes:\operatorname (\boldsymbol \sigma) = -3p + (3 \lambda + 2 \mu)\nabla\cdot\mathbf.

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

Introducing the bulk viscosity \zeta, \zeta \equiv \lambda + \tfrac23 \mu,

we arrive to the linear constitutive equation in the form usually employed in thermal hydraulics:

which can also be arranged in the other usual form:[5] \boldsymbol \sigma = -p \mathbf I + \mu \left(\nabla\mathbf + (\nabla\mathbf)^\mathrm\right) + \left(\zeta - \frac 2 3 \mu \right) (\nabla\cdot\mathbf) \mathbf I.

Note that in the compressible case the pressure is no more proportional to the isotropic stress term, since there is the additional bulk viscosity term:

p=-

1
3

\operatorname{tr}(\boldsymbol\sigma)+\zeta(\nablau)

\boldsymbol\sigma'

is still coincident with the shear stress tensor

\boldsymbol\tau

(i.e. the deviatoric stress in a Newtonian fluid has no normal stress components), and it has a compressibility term in addition to the incompressible case, which is proportional to the shear viscosity:

\boldsymbol\sigma'=\boldsymbol\tau=\mu\left[\nablau+(\nablau)T-\tfrac23(\nablau)I\right]

Both bulk viscosity \zeta and dynamic viscosity \mu 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.

The most general of the Navier–Stokes equations becomein index notation, the equation can be written as[6]

The corresponding equation in conservation form can be obtained by considering that, given the mass continuity equation, the left side is equivalent to:

\rho

Du
Dt

=

\partial
\partialt

(\rhou)+\nabla(\rhouu)

To give finally:

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. 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 \zeta can be assumed to be constant in which case, the effect of the volume viscosity \zeta is that the mechanical pressure is not equivalent to the thermodynamic pressure:[7] as demonstrated below.\nabla\cdot(\nabla\cdot \mathbf u)\mathbf I=\nabla (\nabla \cdot \mathbf u), \bar \equiv p - \zeta \, \nabla \cdot \mathbf,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,[8] where second viscosity coefficient becomes important) by explicitly assuming \zeta = 0. The assumption of setting \zeta = 0 is called as the Stokes hypothesis.[9] The validity of Stokes hypothesis can be demonstrated for monoatomic gas both experimentally and from the kinetic theory;[10] for other gases and liquids, Stokes hypothesis is generally incorrect. With the Stokes hypothesis, the Navier–Stokes equations become

If the dynamic and bulk

\zeta

viscosities are assumed to be uniform in space, the equations in convective form can be simplified further. By computing the divergence of the stress tensor, since the divergence of tensor \nabla \mathbf is \nabla^2 \mathbf and the divergence of tensor \left(\nabla \mathbf\right)^ is \nabla \left(\nabla \cdot \mathbf\right) , one finally arrives to the compressible Navier–Stokes momentum equation:[11] where \frac is the material derivative.
\nu=\mu
\rho
is the shear kinematic viscosity and
\xi=\zeta
\rho
is the bulk kinematic viscosity. The left-hand side changes in the conservation form of the Navier–Stokes momentum equation.By bringing the operator on the flow velocity on the left side, on also has:

The convective acceleration term can also be written as \mathbf u\cdot\nabla\mathbf u = (\nabla\times\mathbf u)\times\mathbf u + \tfrac12\nabla\mathbf u^2,where the vector (\nabla \times \mathbf) \times \mathbf 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 \nabla \cdot \mathbf = 0.[12]

Incompressible flow

The incompressible momentum Navier–Stokes equation results from the following assumptions on the Cauchy stress tensor:[13]

This is constitutive equation is also called the Newtonian law of viscosity.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.[14]

The divergence of the deviatoric stress in case of uniform viscosity is given by:\nabla \cdot \boldsymbol \tau = 2 \mu \nabla \cdot \boldsymbol \varepsilon = \mu \nabla \cdot \left(\nabla\mathbf + \nabla\mathbf ^\mathrm \right) = \mu \, \nabla^2 \mathbfbecause \nabla \cdot \mathbf = 0 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.[15] the incompressible Navier–Stokes equations are best visualized by dividing for the density:[16]

where \nu = \frac is called the kinematic viscosity. By isolating the fluid velocity, one can also state:

If the density is constant throughout the fluid domain, or, in other words, if all fluid elements have the same density, \rho, then we have

where p/\rho is called the unit pressure head.

In incompressible flows, the pressure field satisfies the Poisson equation,

\nabla2p=-\rho

\partialui
\partialxk
\partialuk
\partialxi

=-\rho

\partial2uiuk
\partialxkxi

,

which is obtained by taking the divergence of the momentum equations.

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

\overbrace^ = \overbrace^ + \underbrace_.

The higher-order term, namely the shear stress divergence \nabla \cdot \boldsymbol, has simply reduced to the vector Laplacian term \mu \nabla^2 \mathbf.[17] 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: \mathbf g = - \nabla \varphi by defining the hydraulic head:h \equiv w + \varphi

one can finally condense the whole source in one term, arriving to the incompressible Navier–Stokes equation with conservative external field:\frac + (\mathbf \cdot \nabla) \mathbf - \nu \, \nabla^2 \mathbf = - \nabla h.

The incompressible Navier–Stokes equations with uniform density and viscosity and 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.A special case of the fundamental equation of hydraulics is the Bernoulli's equation.

The incompressible Navier–Stokes equation is composite, the sum of two orthogonal equations,\begin\frac &= \Pi^S\left(-(\mathbf\cdot\nabla)\mathbf + \nu\,\nabla^2\mathbf\right) + \mathbf^S \\\rho^\,\nabla p &= \Pi^I\left(-(\mathbf\cdot\nabla)\mathbf + \nu\,\nabla^2\mathbf\right) + \mathbf^I\endwhere \Pi^S and \Pi^I are solenoidal and irrotational projection operators satisfying \Pi^S + \Pi^I = 1, and \mathbf^S and \mathbf^I 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:\Pi^S\,\mathbf(\mathbf) = \frac\nabla\times\int \frac

\, \mathrm V', \quad \Pi^I = 1-\Pi^Swith 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, is given by,\left(\mathbf,\frac\right) = -\bigl(\mathbf, \left(\mathbf\cdot\nabla\right)\mathbf\bigr) - \nu \left(\nabla\mathbf: \nabla\mathbf\right) + \left(\mathbf, \mathbf^S\right)

for divergence-free test functions \mathbf 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.

Weak form of the incompressible Navier–Stokes equations

Strong form

Consider the incompressible Navier–Stokes equations for a Newtonian fluid of constant density \rho in a domain \Omega \subset \mathbb R^d \quad (d=2, 3)with boundary \partial \Omega = \Gamma_D \cup \Gamma_N,being \Gamma_D and \Gamma_N portions of the boundary where respectively a Dirichlet and a Neumann boundary condition is applied (\Gamma_D \cap \Gamma_N = \emptyset):[18] \begin\rho \dfrac + \rho (\mathbf \cdot \nabla) \mathbf - \nabla \cdot \boldsymbol (\mathbf, p) = \mathbf & \text \Omega \times (0, T) \\\nabla \cdot \mathbf = 0 & \text \Omega \times (0, T) \\\mathbf = \mathbf & \text \Gamma_D \times (0, T) \\ \boldsymbol (\mathbf, p) \hat = \mathbf & \text \Gamma_N \times (0, T) \\\mathbf(0)= \mathbf_0 & \text \Omega \times \\end\mathbf is the fluid velocity, p the fluid pressure, \mathbf a given forcing term,

\hat{n

} the outward directed unit normal vector to \Gamma_N, and \boldsymbol(\mathbf, p) the viscous stress tensor defined as: \boldsymbol (\mathbf, p) = -p \mathbf + 2 \mu \boldsymbol(\mathbf).Let \mu be the dynamic viscosity of the fluid, \mathbf the second-order identity tensor and \boldsymbol(\mathbf) the strain-rate tensor defined as: \boldsymbol (\mathbf) = \frac \left(\left(\nabla \mathbf \right) + \left(\nabla \mathbf \right)^\mathrm\right).The functions \mathbf and \mathbf are given Dirichlet and Neumann boundary data, while \mathbf_0 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 \nabla \cdot \left(\nabla \mathbf \right)^\mathrm = \nabla (\nabla \cdot \mathbf)and exploiting mass conservation, the divergence of the total stress tensor in the momentum equation can also be expressed as: \begin\nabla \cdot \boldsymbol (\mathbf, p)& = \nabla \cdot \left(-p \mathbf + 2 \mu \boldsymbol(\mathbf) \right) \\& = - \nabla p + 2 \mu \nabla \cdot \boldsymbol(\mathbf) \\& = - \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 + \nabla \cdot \left(\nabla \mathbf \right)^\mathrm \right) \\& = -\nabla p + \mu \bigl(\Delta \mathbf + \nabla \underbrace_ \bigr)= -\nabla p + \mu \, \Delta \mathbf.\endMoreover, note that the Neumann boundary conditions can be rearranged as: \boldsymbol(\mathbf, p) \hat = \left(-p \mathbf + 2 \mu \boldsymbol(\mathbf)\right)\hat = -p \hat + \mu \frac.

Weak form

In order to find the weak form of the Navier–Stokes equations, firstly, consider the momentum equation \rho \frac - \mu \Delta \mathbf + \rho (\mathbf \cdot \nabla) \mathbf + \nabla p = \mathbf multiply it for a test function \mathbf, defined in a suitable space V, and integrate both members with respect to the domain \Omega:\int \limits_\Omega \rho \frac\cdot \mathbf - \int \limits_\Omega \mu \Delta \mathbf \cdot \mathbf + \int \limits_\Omega \rho (\mathbf \cdot \nabla) \mathbf \cdot \mathbf + \int \limits_\Omega \nabla p \cdot \mathbf = \int \limits_\Omega \mathbf \cdot \mathbfCounter-integrating by parts the diffusive and the pressure terms and by using the Gauss' theorem: \begin-\int \limits_\Omega \mu \Delta \mathbf \cdot \mathbf &= \int_\Omega \mu \nabla \mathbf \cdot \nabla \mathbf - \int \limits_ \mu \frac \cdot \mathbf \\\int \limits_\Omega \nabla p \cdot \mathbf &= -\int \limits_\Omega p \nabla \cdot \mathbf + \int \limits_ p \mathbf \cdot \end

Using these relations, one gets: \int \limits_\Omega \rho \dfrac\cdot \mathbf + \int \limits_\Omega \mu \nabla \mathbf \cdot \nabla \mathbf + \int \limits_\Omega \rho (\mathbf \cdot \nabla) \mathbf \cdot \mathbf - \int \limits_\Omega p \nabla \cdot \mathbf= \int \limits_\Omega \mathbf \cdot \mathbf + \int \limits_ \left (\mu \frac - p \hat\right) \cdot \mathbf \quad \forall \mathbf \in V.In the same fashion, the continuity equation is multiplied for a test function belonging to a space Q and integrated in the domain \Omega:\int \limits_\Omega q \nabla \cdot \mathbf = 0. \quad \forall q \in Q. The space functions are chosen as follows: \beginV = \left[H_0^1(\Omega) \right]^d &= \left\, \\Q &= L^2(\Omega)\endConsidering that the test function vanishes on the Dirichlet boundary and considering the Neumann condition, the integral on the boundary can be rearranged as: \int \limits_ \left (\mu \frac - p \hat \right) \cdot \mathbf = \underbrace_ + \int \limits_ \underbrace_ \cdot \mathbf= \int \limits_ \mathbf \cdot \mathbf.Having this in mind, the weak formulation of the Navier–Stokes equations is expressed as: \begin&\text \mathbf \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 \\[5pt]&\quad\begin\displaystyle \int \limits_\rho \dfrac\cdot \mathbf + \int \limits_ \mu \nabla \mathbf \cdot \nabla \mathbf + \int \limits_ \rho (\mathbf \cdot \nabla) \mathbf \cdot \mathbf - \int \limits_ p \nabla \cdot \mathbf = \int \limits_\mathbf \cdot \mathbf + \int \limits_ \mathbf \cdot \mathbf \quad \forall \mathbf \in V, \\\displaystyle \int \limits_ q \nabla \cdot \mathbf = 0 \quad \forall q \in Q. \end\end

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_i, \frac\right) = -\bigl(\mathbf_i, \left(\mathbf\cdot\nabla\right)\mathbf_j\bigr) - \nu\left(\nabla\mathbf_i: \nabla\mathbf_j\right) + \left(\mathbf_i, \mathbf^S\right).

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,\begin\nabla\varphi &= \left(\frac,\,\frac\right)^\mathrm, \\[5pt]\nabla\times\varphi &= \left(\frac,\,-\frac\right)^\mathrm.\end

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. 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_i, \nabla p) = -\left(\mathbf_i, \left(\mathbf\cdot\nabla\right)\mathbf_j\right) - \nu\left(\nabla\mathbf_i: \nabla\mathbf_j\right) + \left(\mathbf_i, \mathbf^I\right)

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_i 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 K , and a non-inertial frame of reference K', which is translating with velocity \mathbf(t) and rotating with angular velocity \Omega(t) with respect to the stationary frame. The Navier–Stokes equation observed from the non-inertial frame then becomes

Here \mathbf and \mathbf 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 K' with respect to K and the fourth term is due to the angular acceleration of K' with respect to K.

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

See main article: Continuity equation.

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:\begin\frac&=dV \\\frac + \rho (\nabla \cdot)&=\frac + \cdot + (\nabla \cdot \mathbf)= \frac + \nabla\cdot= 0 \endA fluid media for which the density (

\rho

) is constant is called incompressible. Therefore, the rate of change of density (

\rho

) with respect to time
(\partial\rho
\partialt

)

and the gradient of density

(\nabla\rho)

are equal to zero

(0)

. In this case the general equation of continuity,
\partial\rho
\partialt

+\nabla({\rhou

})= 0, reduces to:

\rho(\nabla{}{u

}) = 0. Furthermore, assuming that density (

\rho

) is a non-zero constant

(\rho0)

means that the right-hand side of the equation

(0)

is divisible by density (

\rho

). Therefore, the continuity equation for an incompressible fluid reduces further to:(\nabla) = 0This relationship, (\nabla) = 0, identifies that the divergence of the flow velocity vector (

u

) is equal to zero

(0)

, 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

(\nabla2u=\nabla(\nablau)-\nabla x (\nabla x u))

, and vorticity

(\vec\omega=\nabla x u)

which is now expressed like so, for an incompressible fluid:\nabla ^\mathbf = - (\nabla \times (\nabla \times \mathbf)) = - (\nabla \times \vec \omega)

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 u_z = 0 and no dependence of anything on z), where the equations reduce to:\begin \rho \left(\frac + u_x \frac + u_y \frac\right) &= -\frac + \mu \left(\frac + \frac\right) + \rho g_x \\ \rho \left(\frac + u_x \frac + u_y \frac\right) &= -\frac + \mu \left(\frac + \frac\right) + \rho g_y.\end

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. For incompressible flow, defining the stream function \psi throughu_x = \frac; \quad u_y = -\fracresults 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:\frac\left(\nabla^2 \psi\right) + \frac \frac\left(\nabla^2 \psi\right) - \frac \frac\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. We can also express this compactly using the Jacobian determinant:\frac\left(\nabla^2 \psi\right) + \frac = \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.

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.[19] [20] 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.[21]

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

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, , , 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. For large Knudsen number of the problem, the Boltzmann equation may be a suitable replacement. Failing that, one may have to resort to molecular dynamics or various hybrid methods.

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.

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:\frac = -1; \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.

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 that must satisfy:\frac + R f^2 = -1; \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 parameter R being the Reynolds number with appropriately chosen scales.[23] This is an example of flow assumptions losing their applicability, and an example of the difficulty in "high" Reynolds number flows.[23]

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.

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, such as Jeffery–Hamel flow, Von Kármán swirling flow, stagnation point flow, Landau–Squire jet, and Taylor–Green vortex.[24] 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.[25]

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 r be a constant radius of the inner coil. One set of solutions is given by:\begin\rho(x, y, z) &= \frac \\p(x, y, z) &= \frac \\\mathbf(x, y, z) &= \frac\begin 2(-ry + xz) \\ 2(rx + yz) \\ r^2 - x^2 - y^2 + z^2 \end \\g &= 0 \\\mu &= 0\end

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, 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:

Viscous three-dimensional periodic solutions

T3=[0,L]3

and are characterized by positive and negative helicity respectively.The solution with positive helicity is given by:\beginu_x &= \frac \, 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^ \\u_y &= \frac \, 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^ \\u_z &= \frac \, 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^\endwhere

k=2\pi/L

is the wave number and the velocity components are normalized so that the average kinetic energy per unit of mass is
2/2
U
0
at

t=0

.The pressure field is obtained from the velocity field as

p=p0-\rho0\|\boldsymbol{u}\|2/2

(where

p0

and

\rho0

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

\omega=\sqrt{3}k\boldsymbol{u}

. 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.

Representations in 3D

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

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

Cartesian coordinates

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

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

The continuity equation reads:\partial_t \rho + \partial_x (\rho u_x) + \partial_y (\rho u_y) + \partial_z (\rho u_z) = 0.

When the flow is incompressible, \rho does not change for any fluid particle, and its material derivative vanishes: \frac = 0. The continuity equation is reduced to:\partial_x u_x + \partial_y u_y + \partial_z u_z = 0.

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[15] the following momentum equations for r, \phi, and z\begin r:\ & \rho \left(+ u_r + \frac + u_z - \frac\right) \\ &\quad = - \\ &\qquad + \mu \left(\frac \partial_r \left(r \right) + \frac + - \frac - \frac \right) \\ &\qquad + \frac\mu \partial_r \left(\frac + \frac + \right) \\ &\qquad + \rho g_r \\[8px]\end\begin \varphi:\ & \rho \left(+ u_r + \frac + u_z + \frac \right) \\ &\quad = -\frac \\ &\qquad + \mu \left(\frac \ \partial_r \left(r \right) + \frac + - \frac + \frac \right) \\ &\qquad + \frac\mu \frac \partial_\varphi \left(\frac + \frac + \right) \\ &\qquad + \rho g_\varphi \\[8px]\end\begin z:\ & \rho \left(+ u_r + \frac + u_z \right) \\ &\quad = - \\ &\qquad + \mu \left(\frac \partial_r \left(r \right) + \frac + \right) \\ &\qquad + \frac\mu \partial_z \left(\frac + \frac + \right) \\ &\qquad + \rho g_z.\end

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_r \left(\rho r u_r\right) + \frac + = 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:\begin \rho \left(+ u_r + u_z \right) &= - + \mu \left(\frac \partial_r \left(r \right) + - \frac\right) + \rho g_r \\ \rho \left(+ u_r + u_z \right) &= - + \mu \left(\frac \partial_r \left(r \right) + \right) + \rho g_z \\ \frac \partial_r\left(r u_r\right) + &= 0.\end

Spherical coordinates

In spherical coordinates, the r, \phi, and \theta momentum equations are[15] (note the convention used: \theta is polar angle, or colatitude, 0 \leq \theta \leq \pi):\begin r:\ &\rho \left(+ u_r + \frac + \frac - \frac\right) \\ &\quad = - \\ &\qquad + \mu \left(\frac \partial_r \left(r^2 \right) + \frac + \frac \partial_\theta \left(\sin\theta \right) - 2\frac - \frac \right) \\ &\qquad + \frac\mu \partial_r \left(\frac \partial_r\left(r^2 u_r\right) + \frac \partial_\theta \left(u_\theta\sin\theta \right) + \frac \right) \\ &\qquad + \rho g_r \\[8px]\end\begin \varphi:\ &\rho \left(+ u_r + \frac + \frac + \frac\right) \\ &\quad = -\frac \\ &\qquad + \mu \left(\frac \partial_r \left(r^2 \right) + \frac + \frac \partial_\theta \left(\sin\theta \right) + \frac \right) \\ &\qquad + \frac\mu\frac \partial_\varphi \left(\frac \partial_r \left(r^2 u_r\right) + \frac \partial_\theta \left(u_\theta\sin\theta \right) + \frac \right) \\ &\qquad + \rho g_\varphi \\[8px]\end\begin \theta:\ &\rho \left(+ u_r + \frac + \frac + \frac\right) \\ &\quad = -\frac \\ &\qquad + \mu \left(\frac \partial_r \left(r^2 \right) + \frac + \frac \partial_\theta \left(\sin\theta \right) + \frac - \frac \right) \\ &\qquad + \frac\mu\frac \partial_\theta \left(\frac \partial_r \left(r^2 u_r\right) + \frac \partial_\theta \left(u_\theta\sin\theta \right) + \frac \right) \\ &\qquad + \rho g_\theta.\end

Mass continuity will read: + \frac \partial_r \left(\rho r^2 u_r\right) + \frac + \frac \partial_\theta \left(\sin\theta \rho u_\theta\right) = 0.

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

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. Simulations of small-scale gaseous fluids, such as fire and smoke, are often based on the seminal paper "Real-Time Fluid Dynamics for Games" by Jos Stam, which elaborates one of the methods proposed in Stam's earlier, more famous paper "Stable Fluids" 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.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.[27]

General references

External links

Notes and References

  1. Book: McLean, Doug . Understanding Aerodynamics: Arguing from the Real Physics . John Wiley & Sons . 2012 . Continuum Fluid Mechanics and the Navier-Stokes Equations . 13 - 78 . 9781119967514 . 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... . https://books.google.com/books?id=UE3sxu28R0wC&pg=PA13 .
  2. Web site: Existence and smoothness of the Navier–Stokes equation . Fefferman . Charles L. . claymath.org . Clay Mathematics Institute . 2017-04-02 . https://web.archive.org/web/20150415042320/http://www.claymath.org/sites/default/files/navierstokes.pdf . 2015-04-15 . dead .
  3. Batchelor (1967) pp. 137 & 142.
  4. Book: Chorin . Alexandre E. . Marsden . Jerrold E. . 1993 . A Mathematical Introduction to Fluid Mechanics . 33.
  5. Bird, Stewart, Lightfoot, Transport Phenomena, 1st ed., 1960, eq. (3.2-11a)
  6. Landau, Lev Davidovich, and Evgenii Mikhailovich Lifshitz. Fluid mechanics: Landau And Lifshitz: course of theoretical physics, Volume 6. Vol. 6. Elsevier, 2013.
  7. Landau & Lifshitz (1987) pp. 44–45, 196
  8. White (2006) p. 67.
  9. Stokes, G. G. (2007). On the theories of the internal friction of fluids in motion, and of the equilibrium and motion of elastic solids.
  10. Vincenti, W. G., Kruger Jr., C. H. (1975). Introduction to physical gas dynamic. Introduction to physical gas dynamics/Huntington.
  11. Batchelor (1967) pp. 147 & 154.
  12. Batchelor (1967) p. 75.
  13. Batchelor (1967) pp. 142–148.
  14. Batchelor (1967) p. 165.
  15. See Acheson (1990).
  16. Abdulkadirov . Ruslan . Lyakhov . Pavel . 2022-02-22 . Estimates of Mild Solutions of Navier–Stokes Equations in Weak Herz-Type Besov–Morrey Spaces . Mathematics . en . 10 . 5 . 680 . 10.3390/math10050680 . 2227-7390. free .
  17. Batchelor (1967) pp. 21 & 147.
  18. Book: Alfio Quarteroni . Quarteroni . Alfio . Numerical models for differential problems . Springer . 978-88-470-5522-3 . Second. 2014-04-25 .
  19. Book: Fluid Mechanics . M. . Potter . D. C. . Wiggert . Schaum's Outlines . McGraw-Hill . 2008 . 978-0-07-148781-8.
  20. Book: Aris, R. . Vectors, Tensors, and the basic Equations of Fluid Mechanics . Dover Publications . 1989 . 0-486-66110-5 .
  21. Book: Parker, C. B. . McGraw Hill Encyclopaedia of Physics . 2nd . 1994 . McGraw-Hill . 0-07-051400-3 .
  22. 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
  23. Shah . Tasneem Mohammad. Analysis of the multigrid method. NASA Sti/Recon Technical Report N. 91. 23418. 1989STIN...9123418S. 1972.
  24. Landau & Lifshitz (1987) pp. 75–88.
  25. Web site: Navier Stokes Equations . dead . https://web.archive.org/web/20150619215817/http://www.claudino.webs.com/Navier%20Stokes%20Equations.pps . 2015-06-19 . 2023-03-11 . www.claudino.webs.com.
  26. Physicists uncover new dynamical framework for turbulence. August 29, 2022. Georgia Institute of Technology. Proceedings of the National Academy of Sciences of the United States of America . 119 . 34 . e2120665119 . Phys.org. 10.1073/pnas.2120665119. 35984901 . 9407532 . 251693676 .
  27. Web site: Robert Bridson. Matthias Müller-Fischer. Fluid Simulation for Computer Animation. www.cs.ubc.ca.