### Reviewing Governing Equations of Fluid Dynamics

Rate this item
20 June

As all of CFD, in one form or the other is based on the fundamental governing equations of fluid dynamics i.e. the continuity, momentum and energy equations these are called as the equations speaking physics. They are the mathematical statements of the three physical principles that govern fluid dynamics, hence it becomes very important to derive and discuss these equations. The current blog is motivated to review the very basis of governing equations understanding their physical meaning before actually deriving them.

The primary objectives of studying or keeping oneself abreast with these equations being:

• It is important for every student of CFD to be comfortable with these equations before embarking on any application of CFD to a particular problem.
• For students from varied disciplines of engineering and experience these may serve as a source of enlightenment for novices and interesting for conversant.
• As these governing equations can be obtained in various forms and the particular form of equation making little difference for a given algorithm the use of these equations in one form may lead to success and the alternate form into oscillations (wiggles) in numerical result or even instability.

Thus it is of vital importance to understand the meaning and significance of each of these equation, indeed of each term in these equation to properly interpret the CFD results obtained by numerically solving these equations.

Models of flow

The basic equations of fluid motion invariably follows the following three step philosophy:
1.  Select appropriate fundamental physical principle from laws of physics such as:

• Mass is conserved
• F = ma, Newton’s II law
• Energy is conserved

2.  Apply these physical principles to a suitable model of the flow

3. Extract the mathematical equation which embody such physical principles.

Now while defining a suitable model of flow we know that a solid body is rather easy to see and define, on the other hand, a fluid is a ”squishy” substance that is hard to grab hold of. If a solid is in translational motion, the velocity of each part of the body is the same, on the other hand, if a fluid is in motion, the velocity may be different at each location in the fluid. For a continuum fluid, we need to construct one of the four  models,discussed below to apply the fundamental physical principles.

Finite control volume

(Fig: 01; Image source: Computational Fluid Dynamics)

Let us imagine a closed volume; drawn within a finite region of the flow. This volume defines the control volume V ; a control surface S is defined as the closed surface that bounds the volume. The control volume may be fixed in space with the fluid moving through it as shown in figure 1 above (left hand side).  As the fundamental physical principles are applied to the fluid inside the control volume and to the fluid crossing the control surface (if the control volume is fixed in space), therefore, instead of looking at the whole flow field at once, with the control volume model we limit our attention to just the fluid in the finite region of the volume itself. The fluid flow equations that we directly obtain by applying the fundamental physical principles to a finite control volume are in the integral form. These integral form of governing equations can be manipulated to indirectly obtain partial differential equations.

The equations so obtained from the finite control volume fixed in space, in either integral or partial differential form are called the conservation form of the governing equations. The equations obtained from the finite control volume moving with the fluid in either integral or partial differential form are called the non-conservation form of governing equations (image above at right hand side).

Infinitesimal fluid element

(Fig: 02; Image source: Computational Fluid Dynamics)

Let us imagine an infinitesimally small fluid element in the flow with a differential volume $dV$ . The fluid element is infinitesimal in the same sense as differential calculus; however it is large enough to contain a huge number of molecules so that it can be viewed as a continuous medium. The fluid element may be fixed in space with the fluid moving through it, alternatively may be moving along a streamline with a velocity vector $\vec{V}$ equal to the flow velocity at each point. Again instead of looking at the whole flow field at once, the fundamental physical principles are applied to just the infinitesimally small fluid element itself. This application leads directly to the fundamental equation in partial differential form. The particular partial differential equation obtained from the fluid element fixed in space are again the conservation form of the equation and the partial differential equation obtained directly from the moving fluid element are again called non-conservation form of the equation. Thus the governing equation can be expressed in the two general forms viz;
Thus the governing equation can be expressed in the two general forms viz;

• conservation form
• non-conservation form

Though, in general aerodynamic theory it is irrelevant whether we deal with the conservation or non-conservation forms of equation, it is certainly important in the case of CFD approach. The nomenclature used to distinguish these two forms (conservation versus nonconservation) has arisen primarily in the CFD literature. Through simple manipulation, one form can be obtained from the other.

The Substantial Derivative: Time rate of change following a moving fluid element

Before deriving the governing equation, we need to establish a notation which is common in aerodynamics , that of the substantial derivative, understanding its important physical meaning. Consider an infinitesimally small fluid element moving with the flow, through cartesian space. The unit vectors along the $x$,$y$ and $z$ axes are $i$, $j$, and $k$ respectively.

(Fig: 03; Image source: Computational Fluid Dynamics)

The vector field in this cartesian space is given by:
$V = u{i} + v{j} + w{k}$

where the x,y and z components of velocity are given, respectively by:
$u= u (x,y,z,t) \\ v= v (x,y,z,t) \\ w= w (x,y,z,t)$

Note: We are considering in general an unsteady flow, where $u$,$v$ and $w$ are functions of both space and time. In addition, the scalar density field is given by :

$\rho = \rho(x,y,z,t)$

At time t, the fluid element is located at point 1, at this point and time the ρ of fluid element is:

$\rho_1 = \rho(x_1,y_1,z_1,t_1)$

At a later time t2 , the same fluid element has moved to point 2 as shown in figure 2.

$\rho_2 = \rho(x_2,y_2,z_2,t_2)$

Since $\rho = \rho (x, y, z, t)$ we can expand this function in a Taylor series about point 1 as follows:

$\rho_2 = \rho_1 + \left( \frac{\partial \rho}{\partial x} \right)_1 (x_2 - x_1) + \left(\frac{\partial \rho}{\partial y} \right)_1 (y_2 - y_1) + \left(\frac{\partial \rho}{\partial z} \right)_1 (z_2 - z_1) + \left(\frac{\partial \rho}{\partial t} \right)_1 (t_2 - t_1) + \mbox{higher order terms}$ --(01)

Dividing both sides by $(t_2 - t_1)$ and ignoring higher order terms

$\frac{\rho_2 - \rho_1}{(t_2 - t_1)} = \left( \frac{\partial \rho}{\partial x} \right)_1 \left( \frac{x_2 - x_1}{t_2 - t_1}\right) + \left( \frac{\partial \rho}{\partial y} \right)_1 \left( \frac{y_2 - y_1}{t_2 - t_1}\right) + \left( \frac{\partial \rho}{\partial z} \right)_1 \left( \frac{z_2 - z_1}{t_2 - t_1}\right) + \left( \frac{\partial \rho}{\partial t} \right)_1$

Note: The L.H.S is physically the average time rate of change in density of the fluid element as it moves from point 1 to point 2. Applying $lim (t_2 \longrightarrow t_1)$, it becomes;

$\lim_{t_2 \to t_1} \left( \frac{\rho_2 - \rho_1}{t_2 - t_1}\right) = \frac{D\rho}{Dt}$

The term on the right side of the above equation (01) denotes the instantaneous time rate of change of $\rho$ of fluid element as it moves through space. Here our eyes are locked on the fluid element as it moves and we are watching the density of the element change as it moves through point $1$. By definition $\frac{D}{Dt}$ is called the substantial derivative. This is different from $\frac{\partial \rho}{\partial t}$, which is physically the time rate of change of $\rho$ at the fixed point $1$. For $\frac{\partial \rho}{\partial t}$, we fix our eyes on the stationary point $1$ and watch the density change due to transient fluctuations in the flow field.
Thus $\frac{D \rho}{D t}$ and $\frac{\partial \rho}{\partial t}$ are physically different
quantities:
Returning to equation (01):

$\lim_{t_2 \to t_1} \left( \frac{x_2 - x_1} {t_2 - t_1} \right)_1 \equiv u$

$\lim_{t_2 \to t_1} \left( \frac{y_2 - y_1} {t_2 - t_1} \right)_1 \equiv v$

$\lim_{t_2 \to t_1} \left( \frac{z_2 - z_1} {t_2 - t_1} \right)_1 \equiv w$

Thus taking limit of equation (01), as $t_2 \longrightarrow t_1$ we get;

$\frac{D\rho}{Dt} = u \frac{\partial \rho}{\partial t} + v \frac{\partial \rho}{\partial t} + w \frac{\partial \rho}{\partial t} + \frac{\partial \rho}{\partial t}$               -------------(02)

From the above equation we can obtain an expression for the substantial derivative in cartesian coordinates:

$\frac{D}{D t} \equiv \frac{\partial }{\partial t} + u \frac{\partial }{\partial x} + v \frac{\partial }{\partial t} + w \frac{\partial }{\partial t}$            -------------(03)

Further more in cartesian coordinates the vector operator $\nabla$ is defines as:

$\nabla \equiv i \frac{\partial }{\partial x} + j \frac{\partial }{\partial y} + k \frac{\partial }{\partial z}$        -------------(04)

Further equation (03) can be written as;

$\frac{D}{Dt} \equiv \frac{\partial }{\partial t} (V \cdot \nabla)$   -------------(05)

Equation (05) represents a definition of the substantial derivative operator in vector notation, valid for any coordinate system.

Note: In above equation (05), $\frac{\partial }{\partial t}$is the substantial derivative that is physically time rate of change following a moving fluid element, $\frac{\partial }{\partial t}$ is called the local derivative, which is physically the time rate of change at a fixed point;  $V \cdot \nabla$is called the convective derivative, which is physically the time rate of change due to the movement of fluid element from on location to another in the flow field where the flow properties are spatially different.

Again;

$\frac{D T}{Dt} = \frac{\partial T}{\partial t} + (V \cdot \nabla) = \frac{\partial T}{\partial t} + u \frac{\partial T}{\partial x} + v \frac{\partial T}{\partial y} + w \frac{\partial T}{\partial z}$                   -------------(06)

Above equation (06) states physically that $T$ of the fluid element is changing as the element sweeps past a point in the flow because at that point the flow field $T$ itself may be fluctuating with time ($\frac{\partial T}{\partial t}$ local derivative term ) and because the fluid element is simply on its way to another point in the flow field when the temperature is different ($V \cdot \nabla$, the convective derivative term).
We could have circumvented the above discussion as:

$\rho = \rho(x,y,z,t)$

Then by chain rule from differential calculus,

$d\rho = \frac{\partial \rho}{\partial x} dx + \frac{\partial \rho}{\partial y} dy + \frac{\partial \rho}{\partial z} dz + \frac{\partial \rho}{\partial t} dt$   ------- (07)

Dividing both sides by $dt$ ;

$\frac{d\rho}{dt} = \frac{\partial \rho}{\partial t} + \frac{\partial \rho}{\partial x} \frac{dx}{dt} + \frac{\partial \rho}{\partial y} \frac{dy}{dt} + \frac{\partial \rho}{\partial z} \frac{dz}{dt}$        ------- (08)

Since $\frac{dx}{dt} = u, \frac{dy}{dt} = v, \frac{dz}{dt} = w$

$\frac{d\rho}{dt} = \frac{\partial \rho}{\partial t} + u \frac{\partial \rho}{\partial x} + v \frac{\partial \rho}{\partial y} + w \frac{\partial \rho}{\partial z}$    ------- (09)

Here $\frac{d\rho}{dt}$ and $\frac{D\rho}{Dt}$ are one and the same.

Divergence of velocity: Physical meaning

Divergence of velocity term: $\nabla \cdot V$

Consider a control volume moving with the fluid as shown in the figure below. This control volume is always made up of same fluid particles as it moves with the flow hence its mass is fixed and invariant with time. However its volume $V$ and control surface $S$ are changing with time as it moves to different regions of the flow where different values of $\rho$ exists i.e. this moving control volume of fixed  mass is constantly increasing or decreasing its volume and is changing its shape, depending on the characteristics of the flow. At some instant in time it looks like below figure:

(Fig: 04; Image source: Computational Fluid Dynamics)

Consider an infinitesimal element of the surface $dS$ moving at the local velocity $\vec{V}$, as in the above figure. The change in the volume of control volume, $\Delta V$, due to just the movement of $dS$ over a time increment $\Delta t$ is from figure 4 equal to the volume of the long, thin cylinder with base area $dS$ and altitude $(V \Delta t) \cdot \hat{n}$ where $\hat{n}$ is a unit vector perpendicular to the surface at $dS$.

$\Delta V = [(\vec{V} \Delta t) \cdot n]dS = (V \Delta t)\cdot dS ~~~~~~(\mbox{where}: dS \equiv$n dS)                    ------- (10)

Over the time increment $\Delta t$, the total change in volume of the whole control volume is equal to the summation of equation (10) over the total control surface. In the limit as $dS \longrightarrow 0$, the sum becomes the surface integral.

$\int_s \int (V \Delta t) \cdot dS$

If this integral is divided by $\Delta t$, the result is physically the time rate of change of the control volume, denoted by:

$\frac{DV}{Dt} = \frac{1}{\Delta t} \int \int (\vec{V} \cdot \Delta t)\cdot dS \int_s \int \vec{V} \cdot dS$      ------- (11)

Note: We have written the left hand side of equation (11) as the substantial derivative of $V$, because we are dealing with the time rate of change of the control volume as the volume moves with the flow, and this is physically what we mean by the substantial derivative. Applying the divergence theorem from vector calculus to the right hand side of equation (11) we have:

$\frac{DV}{Dt} = \int \int_V \int (\Delta \cdot V) dV$     ------- (12)

Now let us imagine that the moving control volume in figure above is shrunk to a very small volume $\delta V$, essentially becoming an infinitesimal moving fluid element as to the right of the figure 2, then;

$\frac{D (\delta V)}{Dt} = \int \int_{\delta V} \int (\nabla \cdot V) dV$     ------- (13)

Imagine that $\delta V$ is small enough such that $\nabla \cdot V$ is essentially the same value throughout $\delta V$. Then the integral in equation (13) in the limit as $\delta V$ shrinks to zero, is given by, $(V \Delta t)\cdot dV$. From equation (13), we have:

$\frac{\delta V}{Dt} = (\nabla \cdot V) \delta V \\ \nabla \cdot V = \frac{1}{\delta V} \frac{D (\delta V)}{Dt}$   ------- (14)

Note: The above equation (14) physically means that the time rate of change of the volume of a moving fluid element per unit volume.

In the further blogs I plan to come up with the detail derivations of these conservation equations for mass, momentum and energy in different forms separately.

References:

Disclaimer: The discussion in this blog is inspired and refereed from the well known books in CFD community viz; "Computational Fluid Dynamics"  by JOHN ANDERSON & "An Introduction to Computational Fluid Dynamics" by H. K. VERSTEEG and W. MALALASEKERA. The author of the blog does not own or claim any copy right of the content discussed above and is purely intended only to serve as a guiding line for freshers in CFD, discussing the most respected works in the domain.

##### Dr. Ganesh Visavale

Dr. Ganesh is a leading researcher in computational engineering, sustainable energy and its application in process industry. He has done immence contribution in LearnCAx. Before he joined post-doctoral fellowship at IIT Delhi, he was the general manager at LearnCAx. He was instrumental in conceptualization, development and implementation of online education from CCTech for CAx professional. Ganesh has a number of publications both in international journal and conference proceedings. Before CCTech, he held the position of Associate Scientist in solar thermal division at Sardar Patel Renewable Energy Research Institute, Anand.

Ganesh holds Ph.D and M.Chem. Engineering from Department of Chemical Engineering, Institute of Chemical Technology, Mumbai (formerly UDCT Mumbai).

Reviewing Governing Equations of Fluid Dynamics - 4.9 out of 5 based on 19 votes

### Latest from Ganesh Visavale

 Career Path to CFD Engineer Views : 13098 Introduction to Turbulence and Turbulence Modeling Views : 25119

### Related items

 Good Looking Mesh May Not Always be Good for the Simulation Author : Sandip Jadhav Views : 9081 Basics of Y Plus, Boundary Layer and Wall Function in Turbulent Flows Author : Vijay Mali Views : 45181 Introduction to Turbulence and Turbulence Modeling Author : Ganesh Visavale Views : 25119 Data Center Cooling Infrastructure Author : Ganesh Visavale Views : 13068 No Meshing ! Its Meshless CFD Author : Ganesh Visavale Views : 12833

Refresh

+2 Abhijeet Gahlot 2014-09-06 12:30
Great article! For someone who has been out of touch with CFD for two years you have explained these theories with such simplicity that I understood it way better than I ever did in university. Thanks a lot and I hope to read more of your blogs