2.1. Fluid Mechanics
Consider flow of a fluid through a stationary control volume. The macroscopic balance of any entity (mass, momentum, energy) over the control volume can be expressed as:
The application of the entity balance equation, Equation (1), to mass gives the following integral equation [
1,
2]:
where
is the fluid density,
is the unit outward normal to the control surface,
is the fluid velocity vector,
is the control surface area,
is the time,
is the volume of the control volume, the cyclic double integral is the surface integral over the entire control surface, and the cyclic triple integral is the volume integral over the entire control volume. It should be noted that the surface integral
is the net outward flow of mass across the entire control surface. The volume integral
is the rate of accumulation of mass within the entire control volume (assumed to be fixed and non-deforming). For a control volume with one inlet and one outlet, the macroscopic or integral mass balance equation, Equation (2), under steady state condition, reduces to:
where
is the fluid velocity,
is the cross-section area of inlet or outlet opening, and
is the mass flow rate. The subscript 1 indicates inlet variables and the subscript 2 indicates outlet variables.
The application of the entity balance equation, Equation (1), to linear momentum gives the following integral equation [
1,
2]:
where
is the force vector. Equation (4) is often referred to as
momentum theorem [
1]. The surface integral
is the net outward flow of linear momentum across the entire control surface. The volume integral
is the rate of accumulation of linear momentum within the entire control volume (assumed to be fixed and non-deforming). The momentum balance equation, Equation (4), is a vector equation. In Cartesian coordinates, the vector momentum balance equation can be written as three scalar equations:
where
and
are velocity and force components in
directions. For a control volume with one inlet and one outlet, the macroscopic or integral momentum balance equations, Equations (5)–(7), under steady state condition, reduce to:
Using mass balance, Equation (3), Equations (8)–(10) can be further simplified as:
Note that we are assuming velocity profiles are uniform at inlet and outlet of the control volume.
The application of the entity balance equation, Equation (1), to mechanical energy gives the following integral equation assuming
frictionless flow [
1,
2]:
where
is the potential energy per unit mass,
is the kinetic energy per unit mass,
is the pressure, and
is the rate of shaft work. The surface integral
is the net outward flow of mechanical energy (including flow work) across the entire control surface. The volume integral
is the rate of accumulation of mechanical energy within the entire control volume (assumed to be fixed and non-deforming). For a control volume with one inlet and one outlet, the macroscopic mechanical energy balance equation for frictionless flow, Equation (14), under steady state condition, reduces to:
Using mass balance, Equation (3), Equation (15) can be further simplified as:
Note that mechanical energy is conserved only in frictionless flows. In real flows, however, mechanical energy is not conserved as mechanical energy dissipation occurs due to friction in fluids. The mechanical energy loss due to friction in real flows can be treated as negative generation (destruction) in entity balance equation, Equation (1). Thus, Equation (16) can be modified as [
2]:
where
is the rate of mechanical energy dissipation due to friction in fluid. Equation (17) assumes that the velocity profiles are uniform at inlet and outlet of the control volume. Furthermore any work due to viscous effects (shear stresses and viscous normal stresses) at the control surface is assumed to be negligible.
2.2. Thermodynamics
The
first law of thermodynamics is simply the principle of conservation of energy. When applied to a control volume, it indicates that that the rate of accumulation of total energy inside the control volume is equal to the net rate of total energy addition to the control volume. Equation (1) is applicable to total energy as the entity with no generation. For a stationary control volume (fixed and non-deforming control volume), the first law of thermodynamics can be expressed as [
1]:
where
is the specific total energy (total energy per unit mass) of fluid and
is the rate of heat transfer. The specific total energy
includes internal energy, kinetic energy and potential energy, that is,
, where
is the specific internal energy. The work associated with shear stress and viscous portion of normal stress at the control surface is assumed to be zero [
1]. The surface integral
is the net outward flow of total energy (including flow work) across the entire control surface. The volume integral
is the rate of accumulation of total energy within the entire control volume.
For a control volume with one inlet and one outlet, the macroscopic total energy balance (first law of thermodynamics), Equation (18), under steady state condition, reduces to:
Using mass balance, Equation (3), Equation (19) can be further simplified as:
As
where
is acceleration due to gravity,
is elevation and
is specific enthalpy of fluid given as:
, Equation (20) could also be written as:
For reversible (frictionless) flows, it can be readily shown that
Upon substitution of
from Equation (23) into Equation (22), the mechanical energy balance equation for frictionless flow, Equation (16), is recovered.
The
second law of thermodynamics states that all irreversible (real) processes are accompanied by entropy generation in the universe [
3]. For flow through a stationary control volume, the entropy generation rate (
in the universe can be expressed as:
where
is the entropy per unit mass of fluid,
is the rate of heat transfer to control volume from
ith heat reservoir at an absolute temperature of
, the subscripts
and
refer to control volume and surroundings, respectively. The equality in Equation (24) is valid for any reversible (frictionless) process and the inequality is valid for all irreversible processes. The surface integral
is the net outward flow of entropy across the entire control surface. The volume integral
is the rate of accumulation of entropy within the entire control volume (assumed to be fixed and non-deforming).
For a control volume with one inlet and one outlet, Equation (24), under steady state condition, reduces to:
Using mass balance, Equation (3), Equation (25) can be further simplified as:
2.3. Steady Flow in a Pipe
Consider steady flow of an incompressible fluid in a cylindrical pipe of uniform diameter (see
Figure 1). From mass balance,
As
and
are constant, the velocity is constant,
From momentum balance, Equation (11):
Now consider force balance over a differential control volume of length
as shown in
Figure 1:
where
is the wall shear stress,
is the pipe internal diameter, and
. Equation (30) leads to:
Upon rearrangement, Equation (31) gives
where
is the pipe radius. Equation (32) can also be applied to any radial position as:
where
is any radial position in the pipe. From Equations (32) and (33), it follows that:
Equation (34) describes the variation of shear stress with the radial position. The shear stress varies linearly with the radial position.
Using macroscopic mechanical energy balance, Equation (17), it can be readily shown that for steady incompressible flow in a horizontal pipe of uniform diameter:
where
is the length of the pipe. The rate of mechanical energy loss
can further be expressed in terms of a friction factor (
) defined as:
where
is the average velocity in the pipe. Upon substitution of
from Equation (32) into Equation (36), we get
From Equations (35) and (37), it follows that the mechanical energy loss per unit mass of fluid is:
From Equation (38), it follows that the mechanical energy loss per unit length per unit mass of fluid is:
In order to calculate the mechanical energy loss in pipeline flows, the value of friction factor is required.
In
laminar flow of Newtonian fluids
, friction factor is related to Reynolds number through the following theoretical relationship [
1,
4]:
where the Reynolds number
is defined as:
In
turbulent flow of Newtonian fluids, friction factor is a function of Reynolds number and relative roughness of pipe
. For hydraulically smooth pipes
, the friction factor depends only on
in turbulent regime. The following semi-empirical equation, often referred to as von Karman–Nikuradse equation, describes the
turbulent behavior of Newtonian fluids in smooth pipes very well [
1]:
The von Karman–Nikuradse equation is not explicit in friction factor. A number of explicit
relations are available in the literature. One of the popular ones is the Blasius friction factor equation for turbulent flow of Newtonian fluids in smooth pipes [
4]:
Equation (43) is accurate over a Reynolds number range of
. For turbulent flow in rough pipes, the following Colebrook equation [
5,
6] is widely accepted:
This Colebrook equation is implicit in friction factor. A number of explicit
relations are available in the literature for turbulent flow of Newtonian fluids in rough pipes [
7,
8,
9]. An explicit equation which is very accurate for turbulent flow of Newtonian fluids in rough pipes is as follows:
This equation was originally proposed by Zigrang and Sylvester [
10].
2.4. Entropy Generation in Steady Flow in a Pipe
In flow of real fluids, the dissipation of mechanical energy, and hence loss of pressure, is simultaneously reflected in the generation of entropy [
11,
12]. Consequently, the pipeline flow experiments performed by undergraduate students in the fluid mechanics laboratory can also be used as a tool to teach the second law of thermodynamics which states that all real processes are accompanied by generation of entropy in the universe.
For steady flow in a pipe with no heat transfer, Equation (26) reduces to:
There is no entropy generation in the surroundings. All the entropy is generated within the fluid inside the pipe and the rate of entropy generation is the net rate of increase in entropy of the flowing stream.
We can now relate entropy change of the fluid stream to other variables. For pure substances, the relationship between entropy and other state variables is given as [
3]:
where
is the absolute temperature. From the first law of thermodynamics, Equation (22), the enthalpy change is zero in the absence of heat transfer and shaft work for steady flow in a horizontal pipe of uniform diameter. Consequently, Equation (48) reduces to:
Assuming incompressible flow and constant temperature, Equation (49) upon integration gives:
Strictly speaking, the temperature is expected to rise somewhat in adiabatic flow due to frictional heating. However, the temperature rise is usually very small in pipeline flow experiments conducted in the undergraduate fluid mechanics laboratory. From Equations (47) and (50), it follows that:
The subscript “
CV” has been removed from
for the sake of simplicity. We can also express the rate of entropy generation in a pipe on a unit length basis as:
where
is the rate of entropy generation per unit length of the pipe. From Equations (37) and (52), it can be readily shown that:
In laminar flow, the friction factor
is given by Equation (40). Consequently, Equation (53) yields:
Thus entropy generation rate per unit length of pipe in steady laminar flow of a Newtonian fluid is directly proportional to fluid viscosity and square of average velocity in the pipe.
In turbulent flow of a Newtonian fluid in hydraulically smooth pipe, Equations (43) and (53) give the flowing expression for entropy generation rate per unit length of pipe:
In turbulent flow, the entropy generation rate per unit length of pipe also depends on pipe diameter and fluid density, in addition to viscosity and fluid velocity dependence. Although the viscosity dependence of
in turbulent flow is less severe in comparison with laminar flow, the velocity dependence is stronger in turbulent flow.
Figure 2 shows the plots of
on a log-log scale for laminar and turbulent flows generated from Equations (54) and (55), respectively. The fluid properties used in the equations are:
. The temperature used is 298.15 K. A single line of slope 2 is obtained for laminar regime regardless of the pipe diameter. The entropy generation rate per unit length of the pipe increases linearly with the increase in average velocity in the pipe. A family of parallel lines of slope 2.75 is obtained for the turbulent regime. The line shifts upward towards higher entropy generation rate with the increase in the pipe diameter.