Open access peer-reviewed chapter

Fluid Motion Equations in Tensor Form

Written By

Dmitry Nikushchenko and Valery Pavlovsky

Submitted: 20 November 2019 Reviewed: 21 January 2020 Published: 11 March 2020

DOI: 10.5772/intechopen.91284

From the Edited Volume

Advances on Tensor Analysis and their Applications

Edited by Francisco Bulnes

Chapter metrics overview

960 Chapter Downloads

View Full Metrics


In the current chapter, some applications of tensor analysis to fluid dynamics are presented. Governing equations of fluid motion and energy are obtained and analyzed. We shall discuss about continuity equation, equation of motion, and mechanical energy transport equation and four forms of energy equation. Finally, we shall talk about the divergence from transfer equations of different parameters of motion. The tensor form of equations has advantages over the component form: these are, first, compact writing of equations and, second, independency from reference frames, etc. Moreover, it allows to obtain new forms of equations on the basis of governing ones easily.


  • stress tensor
  • Navier–stokes equation
  • energy
  • continuity
  • vorticity
  • divergence form

1. Introduction

The mathematical model of moving fluid includes a set of equations, which are usually written as transport equations of main physical parameters—density, velocity, energy, etc. These equations are conservation laws in fluid flows. Traditionally the component form of the equations is usually used, but at the same time, the componentless form (Gibbs approach) could be applied to obtain and transform these equations. In this chapter several main conservation laws are discussed and represented in tensor form, which has many advantages against usually used component form, like simplicity and compactness, independence on reference frames, less errors in transformations, etc. Below we obtain and analyze continuity and momentum equations and vorticity and energy transport equations, and we discuss also about the divergent form of transport Eqs.


2. Continuity equation

Continuity equation is the mass conservation law for a fluid flow and is presented as a scalar equation, which connects density ρ and velocity of fluid particles V, and for any liquid it could be written as


where =eixi=e1x1+e2x2+e2x3 is the Hamilton operator and the dot is a symbol of a scalar product.

Hereinafter, the Einstein summation convention is used by default.

It also can be written in two other equivalent forms [1, 2]:


In the case of incompressible fluid, we could obtain its simplified form:


Let us apply gradient operator to continuity equation (Eq. (1)):


As a result, we obtain vector equation:


which could be written in a more compact form:


or by a little bit different way:


These equations contain gradient of vector V divergence, which [3] equal to


For incompressible fluid the left part of this relation is equal to zero; therefore for rotation of velocity vector, we can write:


In the case of compressible fluid in accordance with Eq. (6), we have additional terms in the right part of the equation:


Continuity equation can be also written in tensor form:


The tensor ρV can be represented as


Finally, continuity equation can be written in form


Convective derivatives of density and pressure (and any another scalar quantitatives) also can be written in tensor form:


i.e., convective derivative is equal to trace of corresponding tensor.

In addition, for the divergence of the product of scalar and vector functions, we can obtain the following relation:


3. Equations of motion of fluid with constant and variable properties

The equation of a motion in terms of stress [4, 5] is


where f is the body force per unit mass and σ¯ is the divergence of stress tensor σ¯. In accordance with Newton’s law, tensor σ¯ for an incompressible fluid is


where p is the pressure; μ is the fluid shear (dynamic) viscosity; and S¯=12V+VT is the rate of strain tensor. Due to relation V=0, when μconst divergence of stress tensor σ¯ is written as


Then equation of motion of incompressible fluid (Navier–Stokes equation) at μconst is


Additional term μ2S¯ relates to changing of shear viscosity. In Cartesian coordinates Eq. (15) has the form:


In case of compressible fluid with variable viscosity, the equation will contain a term with divergence V, which is not equal to zero now. Rheological relation is this case has the form [2]:


Let us introduce the denotation:


then we can write Eq. (16) as


Divergence of this tensor at μconst is


As a result, equation of motion of compressible fluid with variable viscosity has the form:


in Cartesian coordinates


If we represent fluid particle acceleration as the sum of local and convective terms, then (Eq. (19)) will take the form:


considering viscosity variability is especially important for turbulent flow modeling using the Boussinesq hypothesis with turbulent viscosity μt.

Let us apply divergence operation to the Navier–Stokes equation for compressible fluid with variable viscosity. With this purpose we shall apply operation to each vector term of Eq. (20):


If the fluid motion occurs in gravity force field, then there is potential U=gz, where z is the vertical coordinate and the body force per unit mass is f=U. In this case ρf=ρf+ρf=ρUρΔU.

Function U is linear; therefore ΔU=0 and


As a result of applied divergence operation to Navier–Stokes equation at μconst, we obtain scalar equation:


In the case of incompressible fluid, we have


if also μ=const, then


Now we consider the general case of fluid motion, taking into account its compressibility.

The set of equations of motion of an incompressible fluid contains two—Navier–Stokes and continuity (one vector equation and one scalar equation) [2, 3]:


This set of two equations is closed: it contains two unknown quantities—velocity vector V and pressure per two equations. The set describes laminar flows; in turbulent flows it becomes unclosed because Reynolds stress tensor appeared.

In case of compressible flows at ρconst, divergence of velocity is V0, and the Navier–Stokes equation (Eq. (19)) of a fluid motion at μ=const has the form:


where p is defined by Eq. (17). Continuity equation is written in the form of Eq. (1). If ρconst, the set of equations (Eq. (25) and Eq. (1)) becomes unclosed, because density will also be unknown. To close the set of equation, energy equation is used, which contains one more unknown scalar quantity—temperature T. To determine temperature T, state equation is used; usually in fluid dynamics, it is the Mendeleev-Clapeyron equation. Energy equation could be written as the equation of specific internal energy transport:


where u is the specific internal energy (for ideal gas it could be expressed with the help of the isochore heat capacity, du=cvdT); q is the heat flux vector (in laminar flow by Fourier’s law, q=λT); λ is the thermal conductivity of the material; and qs is the heat flux from internal or external sources.

Mendeleev-Clapeyron equation has the form


where R is the universal gas constant. In case of real gas or fluid, the state equation becomes more complicated.

For liquids it usually supposes ρ = const. This condition is applicable for gas motions and also in case the velocities of gas particles are less than 1/3 of sound velocity.

Eqs. (1), (25), (26), and (27) are valid for laminar regime of motion. In case of turbulent regime in these equations, correlations will appear, caused by velocity, density, and temperature pulsations. For closure of the set of equations of turbulent motion, additional relations are required.


4. Vorticity vector and its associated tensor

Vorticity ω is a vector quantity, which characterizes velocity field:


in component form


where εijk is the Levi-Civita tensor in component form. Components of ω vector are


Vorticity vector ω and spin tensor Ω¯ are connected with each other through Levi-Civita tensor 3ε¯=εijkeiejek. These quantities are mutually associated. They say that tensor Ω¯=12VVT is associated to vector ω=12×V, because the following relations are satisfied:


And vice versa, vector ω is associated with tensor Ω¯ since the following expression is valid:


In Eq. (30) spin tensor Ω¯ is translated to the vector ω; in Eq. (31) vector ω is associated with spin tensor.

Let us prove expression Eq. (30):


The same for Eq. (31):


Let us descry components of this second-rank tensor: when i=j they are equal to zero; when i=1,j=2 they are


values for all i,j=1,2,3 could be obtained by the same way.

The matrix of components of this tensor is


It can be seen that it is a matrix of components of the antisymmetric tensor Ω¯, which means that relation (31) is valid.

It is easy to see also that


5. Vorticity transport equation

Rotation of convective acceleration of a fluid particle could be written as


Evidence of this equation can be performed by writing convective acceleration according to the formula:


Gradient of vorticity is the pseudo tensor of rank 2:


Trace of this tensor is trω=0. It is also possible to distinguish the symmetric and antisymmetric parts of this tensor:


Let us assume that the fluid is incompressible, μ = const, and its motion occurs in the field of potential mass forces. In this case with the help of Eq. (34), we can obtain the Navier–Stokes equation in the form:


now we apply curl operation (rot=×) to the left and right parts of this equation:


We could rewrite the second term of the left part in this form:


but ω=0, and fluid is incompressible (V=0); therefore, this term finally can be written as


As a result, we can obtain transport equation of vortices in an incompressible viscous fluid, which is named as the generalized Helmholtz equation:


or in more compact form:


It is necessary to note that in the case of compressible fluid and at μconst, this equation becomes much more complicated.

This transport equation can be written in another form, considering the equality VωωV=×ω×V. Then


If we apply divergence operation to Eq. (36), then for incompressible fluid we obtain


because ω=0, we have


On the other hand,


and, finally, we have 0=0, i.e., we shall not obtain a new expression.

For the second power of vorticity, we can write


and now, if we scalar multiply transport equation of vortices by ω:


then we obtain scalar transport equation of ω2:


For incompressible fluid S¯=Ω¯ because S¯=12ΔV+12V and Ω¯=12ΔV12V.

As we already know V××V=2VΩ¯; therefore, Eq. (34) can be written as


Let us write one more equation:




This equation also can be written in the next form:



One more interesting relation is


but as we already mentioned, V××V=2VΩ¯; therefore,


The vector product of gradients of scalar functions gives us a vector; in terms of rotation of a vector function, we can write


Really, the left part of this equation is a vector:


and the right part is.


Therefore, Eq. (44) is valid.

The vector product of gradients of scalar functions also can be written as


Here we have in component form:


It is easy to see that this is equal to expression for f×φ with the minus sign.


6. Mechanical energy equation

Mechanical energy balance equation can be obtained as a scalar product of each member of Eq. (12) on velocity vector V:


Transformations of the left part lead us to the following results:


It is easy to see that in sum the left part is the material derivative of kinetic energy of a fluid particle—quantity ddtV22. Then Eq. (46) takes the form:


Usually stress tensor is defined as the sum σ¯=pE¯+τ¯, where τ¯ is the shear stress tensor. Then the first term of the right part of Eq. (46) takes the form:


Now we can represent equation of mechanical energy balance (Eq. (46)) considering pE¯=p as follows:


The first member of the right part of Eq. (46) is power of stresses Vσ¯, which can be written in the form:


It is easy to be proven if we rewrite this expression in component form in Cartesian coordinates. In this case the left part of Eq. (49) is


The first term of the right part of Eq. (49) in component form is


The second term of the right part of Eq. (49) in component form is


Finally Eq. (49) in component form is


Due to the symmetry of the stress tensor σ¯=σ¯T, this expression is an identity (i.e., the left side is equal to the right one). Indeed, the second term of the right-hand side of this relation, after re-designating the index i by k and vice versa, takes the form Vkσkixi, but σki=σik; therefore both parts of the expression are equal to each other. Thus, equality (49) is valid.

We could simplify the last term of the right part of Eq. (46) if we introduce potential U of mass forces in field of gravity (z axis is positive upwards) as earlier f=U, U=gz=rg, where g is the gravity acceleration vector in the field of gravity. Then


After substituting the above expressions into Eq. (46), we obtain the equation for mechanical energy of a fluid flow:


In the left part of this equation, we observe the total mechanical energy of a fluid flow as the sum of kinetic and potential energy of the flow [6]. Often the right part of Eq. (51) is written in another form, where stress tensor is written as the sum σ=pE¯+τ¯. Then the right part of Eq. (51) will have the form:


The first member is


The third member is


When we substitute these terms in Eq. (52) and then in Eq. (51), the equation for mechanical energy of a fluid flow will take the form:


As a result, we could conclude that the rate of change of total mechanical energy of a flow is equal to the sum of the powers of the pressure forces and viscous friction.

Navier–Stokes equation for a steady flow of viscous incompressible fluid is


The Laplacian of velocity in the right part can be written in the form:


It can be obtained by consideration of operation ××V:


The member with the basis vector e1 is determined as


The same can be written for the members with basis vectors e2 and e3. As a result, we obtain


And therefore formula Eq. (55) is valid.

One more useful expression based on Eq. (55) is


Using Eqs. (34) and (55) and considering the mass force in field of gravity with the help of potential U, U=gz (z axis is positive upwards), we obtain instead Eq. (54):


where ν=μρ is the kinematic (momentum) viscosity of fluid.

In incompressible fluid ρ=const, V=0 and then we have


The gradient of total mechanical energy of a fluid particle E=V22+pρ+gz depends on vortex structure of the flow. When ×V=0 the right part of Eq. (56) is zero, and then E=const in the whole area of the flow.

It is possible to obtain the divergence form of Eq. (54) for incompressible fluid considering V=0 and using Eq. (55) and the relation:


Then Eq. (54) will take the form:


Using concepts of identity tensor I¯ and Levi-Civita tensor 3ε¯=εijkeiejek, we can write members of the right part in the divergence form, and as a result, the whole Navier–Stokes equation for steady flow of incompressible fluid can be written as


The last term of Eq. (59) can be considered in a more simple form due to relation for incompressible fluid ΔV=V=S¯. Finally, the divergence form of the Navier–Stokes equation for steady flow of an incompressible fluid is


7. Energy equation for moving fluid

The first law of thermodynamics connects internal energy, heat, and work. In the case of moving fluid, it can be written as follows:


where t is the time; u is the specific internal energy; q is the heat flux density vector due to thermal conductivity; σ¯ is the stress tensor; and qv is the value of heat entering into the particle volume from action of external or internal sources per unit time. In this expression, the colon denotes double scalar product of tensors; in this case these are the stress tensor and velocity gradient tensor.

The physical meaning of this equation is that the rate of change of internal energy per unit volume is equal to rate of energy supply due to heat conduction, due to dissipation of mechanical energy of the flow, and due to heat from external or internal sources. Since stress tensor σ¯ can be written as σ¯=pE¯+τ¯, where τ¯ is the shear stress tensor, taking into account material derivative definition, we can rewrite Eq. (61) in this form:


This is the energy equation in terms of transfer of specific internal energy u.

Vector q in the energy equation is determined by Fourier’s law:


where T is the temperature and λ is the coefficient of thermal conductivity.

Fourier’s law of thermal conductivity can also be written in terms of enthalpy, which for an ideal gas is related to temperature by the formula h=cpT, where ср is the isobar heat capacity. Then considering λ=ρcpa, where a is the thermal diffusivity, heat flux density vector can be written in the form:


where Pr=a/ν is the Prandtl number.

In Cartesian coordinates Eq. (62) can be written as follows:


The terms pV and τ¯:V show us in a moving fluid heating or cooling can occur. The term pV may cause significant change of temperature, when gas expands (compresses) rapidly. The term τ¯:V is always positive; it characterizes dissipation of mechanical energy and its transformation to heat energy. This scalar quantity is usually named as Rayleigh dissipation function [6] and denoted as τ¯:V=Ф. Let us write this function in Cartesian coordinates for Newtonian viscous fluid, when rheological relation has the form:


where μ is the fluid shear viscosity and S¯ is the strain rate tensor.

Now we could write the dissipative term τ¯:V in Eq. (62) by simple transformations:


Thus, in component form Rayleigh function Ф can be written as


or in usual notations


This function can also be written in the componentless form:


For perfect gases [6, 7] internal energy is connected with temperature by the relation du=cvdT, where cv is the isochore thermal capacity. Then, instead of Eq. (62) with the help of expression for vector q, we can write equation for temperature transport in the form:


The energy equation (Eq. (62)) can be also written in terms of enthalpy h=u+pρ. With this purpose we need to add the term ρddtpρ to the left and right parts of the equation. Then we obtain in the left part ρdhdt, but in the right part, we shall get this term in transformed form shown as follows:


Here we also used continuity equation (Eq. (2)). Finally, we can obtain energy equation in the form of enthalpy transport as


This is the second form of energy equation for the perfect gas in which dh=cpdT, where cp is the isobar heat capacity, which leads to the following transport equation for temperature:


One more form of the energy equation can be written if we introduce stagnation enthalpy h+V22. To do it we need to add equations for mechanical energy (Eq. (48) to Eq. (71)); as a result we obtain the equation:


Here we used the relation:


which is easy to be proven if we write it down in the component form considering symmetry of stress tensor τ.

As a result, the dissipative term in Eq. (73) can be written as follows:


where Ф is the Rayleigh dissipation function and Ψ=Vτ¯ is the scalar quantity, which can be named as additional dissipation function. This additional dissipation function in Cartesian coordinates for Newtonian Stokes liquid can be written as


In usual axis designations, the first term is


while second term is


Finally function Ψ in Cartesian coordinates can be written as follows:


The fourth form of the energy equation can be written in terms of entropy s transport. According to the fundamental thermodynamic relation,


Hence we have


and then if we substitute quantity dhdt from Eq. (77) to Eq. (71), we obtain


All forms of the equation energy (in terms of internal energy, enthalpy, stagnation enthalpy, and entropy) are equivalent.

Equation for temperature field of an arbitrary gas in the form of equation of transport of temperature T can be obtained from Eq. (62) or Eq. (71). In these cases quantities dudt and dhdt for arbitrary gases and liquids must be specified using known formulas, which follow from Maxwell’s relations:


The subscripts in derivatives here fix the parameters, with the constancy of which the derivatives are calculated. From these formulas the expressions for derivatives can be obtained:


If we substitute them into Eq. (62) and Eq. (71), we obtain two forms of the equation energy in terms of temperature transport.

In heat transfer problems, boundary conditions are specified in three different kinds—the first, second, and third kind:

  1. The boundary conditions of the first kind consist in setting the temperature on the surface of the body.

  2. The boundary conditions of the second kind are setting of the distribution of the heat flux density q on the surface of the body.

  3. The boundary conditions of the third kind consist in setting the temperature of the flow over the surface of the body and the heat transfer conditions on its surface.


8. Divergence form of transport equations

Material derivative of any physical quantity Θ multiplied by density ρ always can be written in the “divergent” form as


This directly follows from the continuity equation [Eq. (2)].

Let us consider in detail the following cases for three ranks of a certain physical quantity Θ.

8.1 Quantity Θ is a scalar

Let us assume that quantity Θ is temperature T:


We could prove this equality if we write the left and right parts in component form. For the left part, we have


For the right part, we have


Since the expression in parentheses is zero (due to continuity equation), the equality of the left and right parts is obvious.

8.2 Quantity Θ is a vector

Let us assume that quantity Θ is velocity V. In this case its material derivative can be written in the form:


Here in the last term, we see tensor ρVV (momentum flow tensor); the sign of tensor multiplicationis omitted for ease of recording.

We could prove this equality if we write the left and right parts in the component form and use continuity equation.

For the left part, we have


The first term of the right part is


The second term of the right part is


The right part as a whole is


Therefore, the expression (Eq. (83)) is valid in case Θ is a vector.

8.3 Quantity Θ is a tensor

Let us assume that Θ is a tensor, for instance, stress tensor σ¯. Stress tensor is a second-rank symmetric tensor, which in Cartesian coordinates can be written in the form σ¯=σijeiej. Let us prove the equality:


The left part of this equation in the component form can be written as follows:


The right part is


Therefore, the expression (Eq. (83)) is also valid in case Θ is a tensor.

It is necessary to note the derivative ddtσ¯, which contains local and convective parts ddt=t+V, can, at first glance, be used in fluid models when writing the defining equation in the form of a differential transport Equation [2, 5]. However, careful analysis shows that the material derivative for a second-rank tensor is not an invariant quantity [5, 8, 9]. By this reason, instead of derivative ddt, derivative DDt is usually used as the material derivative for a second-rank tensor, which contains also rotational part (deviatoric stress rate), which provides symmetry relative to rotations. The rotational part cannot be written in divergent form.

There are different forms of deviatoric stress rate for an arbitrary second-rank tensor A, for instance:

Jaumann G.: A¯Ω¯+A¯Ω¯T, Ω¯—antisymmetric spin tensor.

Rivlin R.: A¯V+VTA¯.

Truesdell C.: VA¯+A¯VT+trVA¯.

Oldroyd J., Sedov L.I., etc. [8, 10, 11]

At present, the question of which derivative is more appropriate to use when constructing rheological equations is unclear. The most common is the rotational derivative by Gustav Jaumann. The corresponding material derivative in the form by Jaumann, for an arbitrary tensor of the second rank, has the form


Material derivative in the form by Rivlin is written as follows:


It is easy to see that Rivlin’s derivative differs from Jaumann’s one by the additional term A¯S¯+A¯S¯T, which is neutral by itself.

Rotational derivative of a symmetric tensor is also a symmetric tensor. As an example, let us consider the rotational derivative of strain-rate tensor and spin tensor:


As a result, we have obtained the symmetrical second-rank tensor.


9. Conclusions

In this chapter, some applications of tensor calculus in fluid dynamics and heat transfer are presented. Typical transformations of equations and governing relations are discussed. Main conservation equations are given and analyzed. The governing equations of fluid motion and energy were obtained.


  1. 1. Kochin N, Kibel I, Rose N. Theoretical Hydrodynamic. 6nd Ed. Vol. 1. Moscow: PhysMathLit; 1963. p. 583. (in Russian)
  2. 2. Nikushchenko D, Pavlovsky V. Computational Hydrodynamics. Theoretical Basis. St. Petersburg: Lan; 2018. p. 364. ISBN: 978-5-8114-2924-0 (in Russian)
  3. 3. Batchelor G. An Introduction to Fluid Dynamics. Cambridge: Cambridge University Press; 2000. p. 615
  4. 4. Sedov L. Continuum Mechanics. Moscow: Nauka; 1970. p. 492. (in Russian)
  5. 5. Pavlovsky V. A Short Course in Continuum Mechanics. SPbGTURP: St. Petersburg; 1993. p. 212. (in Russian)
  6. 6. Udaev B. Heat Transfer. Vysshaya shkola: Moscow; 1973. p. 360. (in Russian)
  7. 7. Kutateladze S. Fundamentals of Heat Transfer Theory. Moscow: Atomizdat; 1979. p. 416. (in Russian)
  8. 8. Astarita G, Marrucci G. Principles of Non-Newtonian Fluid Mechanics. Maidenhead–Berkshire: McGraw-Hill; 1974. p. 296
  9. 9. Ehrhard P, editor. Fuhrer Durch Die Stromungslehre: Grundlagen Und Phanomene. Wiesbaden: Springer Fachmedien; 2014. p. 548
  10. 10. Truesdell C, Noll W. The Non-Linear Field Theories of Mechanics. Heidelberg: Springer; 2004. p. 602. ISBN: 978-3-662-10388-3
  11. 11. Oldroyd JG. On the formulation of rheological equations of state. Proceedings of the Royal Society. 1950;A200:523

Written By

Dmitry Nikushchenko and Valery Pavlovsky

Submitted: 20 November 2019 Reviewed: 21 January 2020 Published: 11 March 2020