Derivation of the Navier–Stokes equations
- 1 Basic assumptions
- 2 The material derivative
- 3 Continuity equations
- 4 Cauchy momentum equation
- 5 Application to different fluids
- 6 Stream function formulation
- 7 The stress tensor
- 8 References
The Navier–Stokes equations are based on the assumption that the fluid, at the scale of interest, is a continuum, in other words is not made up of discrete particles but rather a continuous substance. Another necessary assumption is that all the fields of interest like pressure, flow velocity, density, and temperature are differentiable, weakly at least.
The equations are derived from the basic principles of continuity of mass, momentum, and energy. For that matter, sometimes it is necessary to consider a finite arbitrary volume, called a control volume, over which these principles can be applied. This finite volume is denoted by and its bounding surface . The control volume can remain fixed in space or can move with the fluid.
The material derivative
Changes in properties of a moving fluid can be measured in two different ways. One can measure a given property by either carrying out the measurement on a fixed point in space as particles of the fluid pass by, or by following a parcel of fluid along its streamline. The derivative of a field with respect to a fixed position in space is called the Eulerian derivative while the derivative following a moving parcel is called the advective or material ("Lagrangian" ) derivative.
The material derivative is defined as the nonlinear operator:
where is the flow velocity. The first term on the right-hand side of the equation is the ordinary Eulerian derivative (i.e. the derivative on a fixed reference frame, representing changes at a point with respect to time) whereas the second term represents changes of a quantity with respect to position (see advection). This "special" derivative is in fact the ordinary derivative of a function of many variables along a path following the fluid motion; it may be derived through application of the chain rule in which all independent variables are checked for change along the path (i.e. the total derivative).
For example, the measurement of changes in wind velocity in the atmosphere can be obtained with the help of an anemometer in a weather station or by observing the movement of a weather balloon. The anemometer in the first case is measuring the velocity of all the moving particles passing through a fixed point in space, whereas in the second case the instrument is measuring changes in velocity as it moves with the flow.
This is done via the continuity equation, an integral relation stating that the rate of change of some integrated property defined over a control volume must be equal to what amount is lost or gained through the boundaries of the volume plus what is created or consumed by sources and sinks inside the volume. This is expressed by the following integral continuity equation:
where is the flow velocity of the fluid, is the outward-pointing unit-normal vector, and represents the sources and sinks in the flow, taking the sinks as positive.
Applying Reynolds transport theorem to the integral on the left and then combining all of the integrals:
The integral must be zero for any control volume; this can only be true if the integrand itself is zero, so that:
From this valuable relation (a very generic continuity equation), three important concepts may be concisely written: conservation of mass, conservation of momentum, and conservation of energy. Validity is retained if is a vector, in which case the vector-vector product in the second term will be a dyad.
A general momentum equation is obtained when the conservation relation is applied to momentum. If the intensive property ; considered is the mass flux (also momentum density), i.e. the product of mass density and flow velocity , by substitution in the general continuum equation:
Using the formula for the divergence of a dyad,
we then have
Note that the gradient of a vector is a special case of the covariant derivative, the operation results in second rank tensors; except in Cartesian coordinates, it's important to understand that this isn't simply an element by element gradient. Rearranging and recognizing that :
The leftmost expression enclosed in parentheses is, by mass continuity (shown in a moment), equal to zero. Noting that what remains on the left side of the equation is the material derivative:
or, with the use of the material derivative operator previously defined:
This appears to simply be an expression of Newton's second law (F = ma) in terms of body forces instead of point forces. Each term in any case of the Navier–Stokes equations is a body force. A shorter though less rigorous way to arrive at this result would be the application of the chain rule to acceleration:
where . The reason why this is "less rigorous" is that we haven't shown that the choice of
is correct; however it does make sense since with that choice of path the derivative is "following" a fluid "particle", and in order for Newton's second law to work, forces must be summed following a particle. For this reason the convective derivative is also known as the particle derivative.
Conservation of mass
Mass may be considered also. Taking (no sources or sinks of mass) and putting in density:
where is the mass density (mass per unit volume), and is the flow velocity. This equation is called the mass continuity equation, or simply "the" continuity equation. This equation generally accompanies the Navier–Stokes equation.
In the case of an incompressible fluid, (i.e. the density following the path of a fluid element is constant) and the equation reduces to:
which is in fact a statement of the conservation of volume.
Cauchy momentum equation
The generic density of the momentum source seen previously is made specific first by breaking it up into two new terms, one to describe surface forces and one for body forces, such as gravity. By examining the forces acting on a small cube in a fluid, it may be shown that
where is the Cauchy stress tensor, and accounts for body forces present. This equation is called the Cauchy momentum equation and describes the non-relativistic momentum conservation of any continuum that conserves mass. is a rank two symmetric tensor given by its covariant components. In orthogonal coordinates in three dimensions it is represented as the 3x3 matrix:
The motivation for doing this is that pressure is typically a variable of interest, and also this simplifies application to specific fluid families later on since the rightmost tensor in the equation above must be zero for a fluid at rest. Note that is traceless. The Cauchy equation may now be written in another more explicit form:
This equation is still incomplete. For completion, one must make hypotheses on the forms of and , that is, one needs a constitutive law for the stress tensor which can be obtained for specific fluid families and on the pressure. Some of these hypotheses bring to Euler equations (fluid dynamics), other ones bring to Navier-Stokes equations. Additionally, if the flow is assumed compressible an equation of state will be required, which will likely further require a conservation of energy formulation.
Application to different fluids
The general form of the equations of motion is not "ready for use", the stress tensor is still unknown so that more information is needed; this information is normally some knowledge of the viscous behavior of the fluid. For different types of fluid flow this results in specific forms of the Navier–Stokes equations.
Compressible Newtonian fluid
The formulation for Newtonian fluids stems from an observation made by Newton that, for most fluids,
In order to apply this to the Navier–Stokes equations, three assumptions were made by Stokes:
The above list states the classic argument that the shear strain rate tensor (i.e. the (symmetric) shear part of the velocity gradient) is a pure shear tensor and does not include any inflow/outflow part (i.e. any compression/expansion part). This means that its trace is zero, and this is achieved by subtracting in a symmetric way from the diagonal elements of the tensor. The compressional contribution to viscous stress is added as a separate diagonal tensor.
Applying these assumptions will lead to :
That is, the deviatoric of the deformation rate tensor is identified to the deviatoric of the stress tensor, up to a factor μ.
is the Kronecker delta. μ and λ are proportionality constants associated with the assumption that stress depends on strain linearly; μ is called the first coefficient of viscosity or shear viscosity (usually just called "viscosity") and λ is the second coefficient of viscosity or volume viscosity (and it is related to bulk viscosity). The value of λ, which produces a viscous effect associated with volume change, is very difficult to determine, not even its sign is known with absolute certainty. Even in compressible flows, the term involving λ is often negligible; however it can occasionally be important even in nearly incompressible flows and is a matter of controversy. When taken nonzero, the most common approximation is λ ≈ - ⅔ μ.
A straightforward substitution of into the momentum conservation equation will yield the Navier–Stokes equations, describing a compressible Newtonian fluid:
where the transpose has been used. The body force has been decomposed into density and external acceleration, i.e. . The associated mass continuity equation is:
In addition to this equation, an equation of state and an equation for the conservation of energy is needed. The equation of state to use depends on context (often the ideal gas law), the conservation of energy will read:
With a good equation of state and good functions for the dependence of parameters (such as viscosity) on the variables, this system of equations seems to properly model the dynamics of all known gases and most liquids.
Incompressible Newtonian fluid
For the special (but very common) case of incompressible flow, the momentum equations simplify significantly. Taking into account the following assumptions:
- Viscosity will now be a constant
- The second viscosity effect
- The simplified mass continuity equation
then looking at the viscous terms of the momentum equation for example we have:
Similarly for the and momentum directions we have and .
The above solution is key to deriving Navier-Stokes equations from Equation of motion in fluid dynamics when density and viscosity are constant.
A non-Newtonian fluid is a fluid whose flow properties differ in any way from those of Newtonian fluids. Most commonly the viscosity of non-Newtonian fluids is a function of shear rate or shear rate history. However, there are some non-Newtonian fluids with shear-independent viscosity, that nonetheless exhibit normal stress-differences or other non-Newtonian behaviour. Many salt solutions and molten polymers are non-Newtonian fluids, as are many commonly found substances such as ketchup, custard, toothpaste, starch suspensions, paint, blood, and shampoo. In a Newtonian fluid, the relation between the shear stress and the shear rate is linear, passing through the origin, the constant of proportionality being the coefficient of viscosity. In a non-Newtonian fluid, the relation between the shear stress and the shear rate is different, and can even be time-dependent. The study of the non-Newtonian fluids is usually called rheology. A few examples are given here.
In Bingham fluids, the situation is slightly different:
This form is useful for approximating all sorts of general fluids, including shear thinning (such as latex paint) and shear thickening (such as corn starch water mixture).
Stream function formulation
In the analysis of a flow, it is often desirable to reduce the number of equations or the number of variables being dealt with, or both. The incompressible Navier-Stokes equation with mass continuity (four equations in four unknowns) can, in fact, be reduced to a single equation with a single dependent variable in 2D, or one vector equation in 3D. This is enabled by two vector calculus identities:
for any differentiable scalar and vector . The first identity implies that any term in the Navier-Stokes equation that may be represented as the gradient of a scalar will disappear when the curl of the equation is taken. Commonly, pressure p and external acceleration g are what eliminate, resulting in (this is true in 2D as well as 3D):
where it's assumed that all body forces are describable as gradients (for example it is true for gravity), and density has been divided so that viscosity becomes kinematic viscosity.
The second vector calculus identity above states that the divergence of the curl of a vector field is zero. Since the (incompressible) mass continuity equation specifies the divergence of flow velocity being zero, we can replace the flow velocity with the curl of some vector so that mass continuity is always satisfied:
So, as long as flow velocity is represented through , mass continuity is unconditionally satisfied. With this new dependent vector variable, the Navier-Stokes equation (with curl taken as above) becomes a single fourth order vector equation, no longer containing the unknown pressure variable and no longer dependent on a separate mass continuity equation:
Apart from containing fourth order derivatives, this equation is fairly complicated, and is thus uncommon. Note that if the cross differentiation is left out, the result is a third order vector equation containing an unknown vector field (the gradient of pressure) that may be determined from the same boundary conditions that one would apply to the fourth order equation above.
2D flow in orthogonal coordinates
The true utility of this formulation is seen when the flow is two dimensional in nature and the equation is written in a general orthogonal coordinate system, in other words a system where the basis vectors are orthogonal. Note that this by no means limits application to Cartesian coordinates, in fact most of the common coordinates systems are orthogonal, including familiar ones like cylindrical and obscure ones like toroidal.
The 3D flow velocity is expressed as (note that the discussion has been coordinate free up till now):
where are basis vectors, not necessarily constant and not necessarily normalized, and are flow velocity components; let also the coordinates of space be .
Now suppose that the flow is 2D. This doesn't mean the flow is in a plane, rather it means that the component of flow velocity in one direction is zero and the remaining components are independent of the same direction. In that case (take component 3 to be zero):
The vector function is still defined via:
but this must simplify in some way also since the flow is assumed 2D. If orthogonal coordinates are assumed, the curl takes on a fairly simple form, and the equation above expanded becomes:
Examining this equation shows that we can set and retain equality with no loss of generality, so that:
the significance here is that only one component of remains, so that 2D flow becomes a problem with only one dependent variable. The cross differentiated Navier–Stokes equation becomes two 0 = 0 equations and one meaningful equation.
The remaining component is called the stream function. The equation for can simplify since a variety of quantities will now equal zero, for example:
Manipulating the cross differentiated Navier–Stokes equation using the above two equations and a variety of identities will eventually yield the 1D scalar equation for the stream function:
where is the biharmonic operator. This is very useful because it is a single self-contained scalar equation that describes both momentum and mass conservation in 2D. The only other equations that this partial differential equation needs are initial and boundary conditions.
Derivation of the scalar stream function equation
Distributing the curl:
Replacing curl of the curl with the Laplacian and expanding convection and viscosity:
Above, the curl of a gradient is zero, and the divergence of is zero. Negating:
Expanding the curl of the cross product into four terms:
Only one of four terms of the expanded curl is nonzero. The second is zero because it is the dot product of orthogonal vectors, the third is zero because it contains the divergence of flow velocity, and the fourth is zero because the divergence of a vector with only component three is zero (since it is assumed that nothing (except maybe ) depends on component three).
This vector equation is one meaningful scalar equation and two 0 = 0 equations.
The assumptions for the stream function equation are listed below:
- The flow is incompressible and Newtonian.
- Coordinates are orthogonal.
- Flow is 2D:
- The first two scale factors of the coordinate system are independent of the last coordinate: , otherwise extra terms appear.
The stream function has some useful properties:
- Since , the vorticity of the flow is just the negative of the Laplacian of the stream function.
- The level curves of the stream function are streamlines.
The stress tensor
The derivation of the Navier-Stokes equation involves the consideration of forces acting on fluid elements, so that a quantity called the stress tensor appears naturally in the Cauchy momentum equation. Since the divergence of this tensor is taken, it is customary to write out the equation fully simplified, so that the original appearance of the stress tensor is lost.
However, the stress tensor still has some important uses, especially in formulating boundary conditions at fluid interfaces. Recalling that , for a Newtonian fluid the stress tensor is:
If the fluid is assumed to be incompressible, the tensor simplifies significantly. In 3D cartesian coordinates for example:
is the strain rate tensor, by definition:
- Munson, Bruce R. Fundamentals of Fluid Mechanics. 7th. Jefferson City: John Wiley and Sons, Inc., 2013. Print.
- Lebedev, Leonid P. (2003). Tensor Analysis. World Scientific. ISBN 981-238-360-3.
- Batchelor 2000, pp. 141.
- Morse, P.M. and Ingard, K.U. "Theoretical Acoustics", Princeton University Press (1968)
- Landau and Lifshitz, Fluid Mechanics, Second Edition: Volume 6 (Course of Theoretical Physics) page 45
- Batchelor 2000, pp. 144.
- Eric W. Weisstein. "Vector Derivative". MathWorld. Retrieved 2008-06-07.
- Batchelor, G.K. (2000). An Introduction to Fluid Dynamics. New York: Cambridge University Press. ISBN 978-0-521-66396-0.
- White, Frank M. (2006). Viscous Fluid Flow (3rd ed.). New York, NY: McGraw Hill. ISBN 0-07-240231-8.
- Surface Tension Module, by John W. M. Bush, at MIT OCW.
- Galdi, An Introduction to the Mathematical Theory of the Navier-Stokes Equations: Steady-State Problems. Springer 2011