Fluid Mechanics: Lecture Notes of
Fluid Mechanics: Lecture Notes of
Fluid Mechanics
Dr. Elhassen Ammr
IDEAL FLOW
Contents
`
7 Ideal Flow
Ideal fluid is a purely hypothetical fluid which is assumed to have no viscosity and no
compressibility, and, in the case of liquids, no surface tension and no vaporization. The
applications of ideal flow theory are found in aerodynamics, in accelerating flow, boundary layer
theory, tides and waves. The study of ideal flow provides mathematical expressions for
streamlines in elementary or basic flow patterns. By combining these basic flow patterns in
various ways, it is possible to obtain complex flow patterns which, in many cases, resemble
remarkably closely the real situations outside the boundary layer and any associated wakes.
𝜕𝜓
𝑢=
𝜕𝑦
(7.1)
𝜕𝜓
𝑣=−
𝜕𝑥 }
For a two-dimensional plane that is inviscid incompressible and irrotational flow ωz = 0. Then, the
vorticity vector becomes,
𝜕𝑣 𝜕𝑢
𝜉⃗ = 2𝜔
⃗⃗𝑧 = ( − ) 𝑘̂ = 0 (7.3)
𝜕𝑥 𝜕𝑦
Substituting by stream function relations , we get :
𝜕2 𝜓 𝜕2 𝜓
+ = 0 (7.4)
𝜕𝑥 2 𝜕𝑦 2
Geometric Interpretation of ψ :
The lines along which ψ is constant are the streamlines. In a flow field, the tangent drawn at every
point along a streamline shows the direction of velocity . So, the slope at any point along a streamline
is given by,
𝑑𝑦 𝑣
(𝑑𝑥 ) = (7.5)
𝑠𝑡𝑟𝑒𝑎𝑚 𝑙𝑖𝑛𝑒 𝑢
Or 𝑢 𝑑𝑦 − 𝑣𝑑𝑥 = 0 (7.6)
Thus the change in ψ is zero along a streamline, or 𝜓 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 𝑎𝑙𝑜𝑛𝑔 𝑠𝑡𝑟𝑒𝑎𝑚 𝑙𝑖𝑛𝑒
hence This family of streamlines will be useful in visualizing the flow patterns. It may also be
noted that streamlines are always parallel to each other.
Example 7.1
A stream function is given by 𝜓 = 3𝑥 2 − 𝑦 3 Check if it is a possible flow then determine the
magnitude of velocity components at the point (3,1)?
𝜕2 𝜙 𝜕2 𝜙
+ = ∇2 𝜙 = 0 (7.14)
𝜕𝑥 2 𝜕𝑦 2
Fluid Mechanics by Dr. Elhassen Ammr 4
An irrotational flow allows a velocity potential to be defined and to simplification of fundamental
equations. Instead of dealing with the velocity components as unknowns, one can deal with only
one parameter for a given problem. Since, the irrotational flows are best described by velocity
potential, such flows are called as potential flows. In these flows, the lines with constant , is
known as equipotential lines.
In cylindrical coordinates, the stream function defined as, ψ (r,θ)
𝜕𝜙
𝑢𝑟 =
𝜕𝑟
} (7.15)
1 𝜕𝜙
𝑢𝜃 =
𝑟 𝜕𝜃
Or
𝑑𝑦 𝑣
(𝑑𝑥 ) = (7.16)
𝜓=𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 𝑢
Similarly, for an equipotential line, ϕ(x,y)= constant and the differential of ϕ is zero.
𝜕𝜙 𝜕𝜙
𝑑𝜙 = 𝑑𝑥 + 𝑑𝑦 = 𝑢 𝑑𝑥 + 𝑣 𝑑𝑦 = 0
𝜕𝑥 𝜕𝑦
Or
𝑑𝑦 𝑢
(𝑑𝑥 ) =− (7.17)
𝜙=𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 𝑣
Hence, the streamlines and equipotential lines are mutually perpendicular as in Fig. (7.1)
The streamlines, which show the direction of flow at any point, are so spaced that there is an
equal rate of flow Δq discharging through each stream tube. The discharge Δq is equal to the
change in ψ from one streamline to the next. The equipotential lines are then drawn everywhere
normal to the streamlines. The spacings of equipotential lines are selected in such a way that the
change in velocity potential from one equipotential line to the next is constant. Furthermore,
that is, Δψ = Δφ. As a result they form approximate squares (Fig. 7.2).
𝜕𝜙
𝑢𝑟 = 𝜕𝑟 = 4 𝑟 cos 2𝜃
Then by integration
𝜙 = ∫ 𝑢𝑟 𝑑𝑟 = ∫ 4 𝑟 cos 2𝜃 𝑑𝑟 = 2 𝑟 2 cos 2𝜃 + 𝑓(𝜃)
1 𝜕𝜙
𝑢𝜃 = 𝑟 𝜕𝜃 = −4 𝑟 sin 2𝜃
𝜙 = ∫ 𝑢𝜃 𝑟𝑑𝜃 = − ∫ 4 𝑟 2 sin 2𝜃 𝑑𝜃 = 2 𝑟 2 cos 2𝜃 + 𝑔(𝑟)
To satisfy both relations the velocity potential has the form
𝜙 = 2 𝑟 2 cos 2𝜃 + 𝐶
Since the flow is irrotational, imcompressibel and along stream line, the pressure at point 2 can be
evaluated by Bernoulli equation
1 1 1
𝑃1 + 𝜌𝑉12 = 𝑃2 + 𝜌𝑉22 → 𝑃2 = 𝑃1 + 𝜌(𝑉12 − 𝑉22 )
2 2 2
The resultant velocity is
𝑉 2 = 𝑢𝑟2 + 𝑢𝜃2 = (4 𝑟 cos 2𝜃)2 + (−4 𝑟 sin 2𝜃)2 = 16 𝑟 2
The uniform flow is a physically possible incompressible flow that satisfies continuity equation
and the flow is irrotational. Hence, the stream function can be written as,
𝜕𝜓 𝜕𝜓
𝑢= = 𝑈 𝑎𝑛𝑑 𝑣 = − 𝜕𝑥 = 0
𝜕𝑦
Integrating
𝜓 = ∫ 𝑉 𝑑𝑦 = 𝑈𝑦 + 𝑓(𝑥) 𝑎𝑛𝑑 𝑣 = 𝑓′(𝑥)
Since
𝜕𝜓
𝑣 = − 𝜕𝑥 = 0 = 𝑓′(𝑥) 𝑡ℎ𝑒𝑛 𝑓(𝑥) = 𝐶𝑜𝑛𝑠𝑡𝑎𝑛𝑡
The constant is arbitrary since velocity components are always derivatives. We set the constant
equal to zero. Thus, the stream function of the uniform flow parallel to x axis is
𝜓 = 𝑈𝑦 (7.20)
In a similar manner we generate an expression for the velocity potential for this elementary
planar irrotational flow as ,
𝜙 = 𝑈𝑥 (7.21)
Shown in Fig. (7.3a) are several streamlines and equipotential lines for a uniform stream. Notice
the mutual orthogonality.
If the uniform flow is at an angle θ with respect to positive x- direction, then
𝜓 = 𝑈(𝑦 cos 𝛼 − 𝑥 sin 𝛼 ) (7.22)
𝜙 = 𝑈(𝑥 cos 𝛼 + 𝑦 sin 𝛼 ) (7.23)
1 𝜕𝜓 𝑞
𝑢𝑟 = =∓
𝑟 𝜕𝜃 2𝜋𝑟
𝑞 𝑞
𝜓 = ∫ 2𝜋 𝑑𝜃 = ∓ 2𝜋 𝜃 + 𝑓(𝑟) 𝑎𝑛𝑑 𝑢𝜃 = 𝑓′(𝑟)
Since
𝜕𝜓
𝑢𝜃 = − = 0 = 𝑓′(𝑟) 𝑡ℎ𝑒𝑛 𝑓(𝑟) = 𝐶𝑜𝑛𝑠𝑡𝑎𝑛𝑡
𝜕𝑟
We set the constant equal to zero. Thus, the stream function of the source or sink given by
𝑞
𝜓 = ∓ 2𝜋 𝜃 (7.25)
In a similar manner we generate an expression for the velocity potential for this elementary
planar irrotational flow as ,
𝑞
𝜙 = ∓ 2𝜋 ln 𝑟 (7.26)
2𝜋𝜓
− = (𝜃1 − 𝜃2 )
𝑞
Or
2𝜋𝜓 tan 𝜃 −tan 𝜃2
tan (−
𝑞
) = tan(𝜃1 − 𝜃2 ) = 1+tan1𝜃
1 tan 𝜃2
2𝜋𝜓 2𝑎 𝑟 sin 𝜃
tan (− )=
𝑞 𝑟 2 −𝑎2
𝑞 2𝑎 𝑟 sin 𝜃
𝜓=− 𝑡𝑎𝑛−1 ( )
2𝜋 𝑟 2 −𝑎2
Combining Eqs. (7.50) and (7.52), the flow nets can be drawn as shown in Fig. (7.6)
Γ Γ
𝜓 = ∫ 2𝜋𝑟 𝑑𝑟 = − 2𝜋 ln 𝑟 + 𝑓(𝜃) 𝑎𝑛𝑑 𝑢𝑟 = 𝑓′(𝜃)
Since
1 𝜕𝜓
𝑢𝑟 = = 0 = 𝑓′(𝜃) 𝑡ℎ𝑒𝑛 𝑓(𝜃) = 𝐶𝑜𝑛𝑠𝑡𝑎𝑛𝑡
𝑟 𝜕𝜃
We set the constant equal to zero. Thus, the stream function of the source or sink given by
Γ
𝜓 = − 2𝜋 ln 𝑟 (7.31)
In a similar manner we generate an expression for the velocity potential for this elementary
planar irrotational flow as ,
Γ
𝜙 = − 2𝜋𝑟 𝜃 (7.32)
Fig. (7.8) The flow around a half-body: (a) superposition of a source and a uniform
flow; (b) replacement of streamline ψ=πbU with solid boundary to form half-body.
The velocity field is obtained from stream function through differentiation i.e.
1 𝜕𝜓 𝑞
𝑢𝑟 = = 𝑈 cos 𝜃 +
𝑟 𝜕𝜃 2𝜋𝑟
} (7.35)
𝜕𝜓
𝑢𝜃 = − = −𝑈 sin 𝜃
𝜕𝑟
It is clear that at some point along the negative x axis the velocity due to the source will just
cancel that due to the uniform flow and a stagnation point will be created occur at x = -b.
Hence, a stagnation point is created which is obtained by assigning the velocity components to
zero
Fluid Mechanics by Dr. Elhassen Ammr 13
−𝑈 sin 𝜃 = 0 → 𝜃= 𝜋
Substituting in
𝑞 𝑞
𝑈 cos 𝜃 + = 0 →𝑟=
2𝜋𝑟 2𝜋𝑈
The streamline passing through the stagnation point is obtained by substituting the coordinates
of the stagnation point into (5. 33).
𝑞 𝑞 𝑞
𝜓= 𝑈 ( ) sin 𝜋 + 𝜋= = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
2𝜋𝑈 2𝜋 2
Since,
𝑞 𝑞
=𝑏 𝑡ℎ𝑒𝑛 = 𝑏𝜋𝑈
2𝜋𝑈 2
Then the stream line passing through the stagnation point will be
𝑞
𝜓= = 𝑏𝜋𝑈
2
it follows that the equation of the streamline passing through the stagnation point is obtained
as follows;
𝑈 𝑟 sin 𝜃 + 𝑏𝑈 𝜃 = 𝑏𝜋𝑈
Solving for r to get
𝑏(𝜋−𝜃)
𝑟 =
sin 𝜃
where can vary between 0 and 2𝜋 , A plot of this streamline is shown in Fig. (5.9b). It is clear
that this combination of a uniform flow and a source can be used to describe the flow around a
streamlined body placed in a uniform stream. The body is open at the downstream end, and thus
is called a half-body.
Using the relation, the width of the half-body asymptotically approaches 2𝜋𝑏 :
𝑟 sin 𝜃 = 𝑦 = 𝑏(𝜋 − 𝜃)
it is seen that the width of the half body asymptotically approaches to 2𝜋𝑏 while the half-
width is given by when so that as 𝜃 → 0 𝑎𝑛𝑑 𝜃 → 2𝜋 or the half-width approaches ∓𝜋𝑏 .
The magnitude of the velocity, V, at any point is obtained by velocity components given in (7.35)
𝑞 2 𝑈𝑞 cos 𝜃 𝑞 2
𝑉 2 = 𝑢𝑟2 + 𝑢𝜃2 = (𝑈 cos 𝜃 + 2𝜋𝑟) + (−𝑈 sin 𝜃)2 = 𝑈 2 + + (2𝜋𝑟)
𝜋𝑟
With the velocity known, the pressure at any point can be determined from the Bernoulli
equation, which can be written between any two points in the flow field since the flow is
irrotational. Thus, applying the Bernoulli equation between a point far from the body, where the
pressure is Po and the velocity is U, and some arbitrary point with pressure p and velocity V, it
follows that
1 1
𝑃0 + 𝜌𝑈 2 = 𝑃 + 𝜌𝑉 2 (7.37)
2 2
Example 7.3
a)
The vertical distance above the origin is a
known θ = π/2
𝑞 (𝜋 − 𝜃) 𝑞 𝜋 𝑞
𝑟 = = = =3
2𝜋𝑈 sin 𝜃 2𝜋𝑈 2 4𝑈
Then
𝑞 12𝑈
𝑞 = 12 𝑈 𝑎𝑛𝑑 ℎ𝑒𝑛𝑐𝑒 𝑎 = = = 1.9 𝑚
2𝜋𝑈 2𝜋𝑈
b) The height at x = 4 m
𝑞 (𝜋−𝜃) (𝜋−𝜃)
𝑟 = 2𝜋𝑈 = 𝑥 cos 𝜃 = 1.9 sin 𝜃 = 4 cos 𝜃
sin 𝜃
𝑚 sin 𝜃 𝑚
𝜓 = 𝜓𝑈𝑛𝑖𝑓𝑜𝑟𝑚 + 𝜓𝐷𝑜𝑢𝑏𝑙𝑒𝑡 = 𝑈 𝑟 sin 𝜃 − = 𝑈 (𝑟 − 𝑈𝑟) sin 𝜃 (7.38)
𝑟
and the velocity potential is
𝑚 cos 𝜃
𝜙 = 𝜙𝑈𝑛𝑖𝑓𝑜𝑟𝑚 + 𝜙𝐷𝑜𝑢𝑏𝑙𝑒𝑡 = 𝑈 𝑟 cos 𝜃 + (7.39)
𝑟
In order for the stream function to represent flow around a circular cylinder it is necessary that
ψ = 0 for r = R
𝜇 𝜇
𝜓 = 𝑈𝑟 (1 − ) sin 𝜃 → 𝑅2 =
𝑈𝑟 2 𝑈
Thus, the stream function for flow around a circular cylinder can be expressed as
𝑅2
𝜓 = 𝑈 𝑟 (1 − ) sin 𝜃 (7.40)
𝑟2
The velocity components can be obtained from
1 𝜕𝜓 𝑅2
𝑢𝑟 = = 𝑈 (1 − ) cos 𝜃
𝑟 𝜕𝜃 𝑟2
(7.41)
2
𝜕𝜓 𝑅
𝑢𝜃 = − = − 𝑈 sin 𝜃 (1 + ) sin 𝜃}
𝜕𝑟 𝑟2
In order to locate the stagnation point, assign the velocity components in Eq. (7.41) to zero
value and simultaneously solve for r and θ . There are two stagnation points, located at and
denoted by points A and B, given by (𝑟, 𝜃) = (𝑅, 0) 𝑎𝑛𝑑 (𝑅, 𝜋)
The equation of streamlines that passes through the stagnation points A and B, is given by the
following expression;
𝑅2
𝜓 = 𝑈 𝑟 (1 − ) sin 𝜃 = 0
𝑟2
The pressure distribution on the cylinder surface is obtained from the Bernoulli equation written
from a point far from the cylinder where the pressure Po is and the velocity is U so that
1 2 1
𝑃0 + 𝜌𝑈 2 = 𝑃𝑠 + 𝜌 𝑢𝜃𝑠
2 2
Substituting by surface velocity
1 1
𝑃0 + 𝜌𝑈 2 = 𝑃𝑠 + 𝜌 (4𝑈2 sin2 𝜃)
2 2
where Ps is the surface pressure. Elevation changes are neglected. Substituting by surface
velocity equation, the surface pressure can be expressed as
1
𝑃𝑠 = 𝑃0 + 𝜌𝑈 2 (1 − 4 sin2 𝜃) (7.43)
2
In terms of pressure coefficient
𝑃𝑠 −𝑃0
1 = (1 − 4 sin2 𝜃) (7.44)
𝜌𝑈 2
2
Which can be ploted in Fig. (7.10).
Fig. (7.10) A comparison of theoretical (inviscid) pressure distribution on the surface of a circular
cylinder with typical experimental distribution.
The drag force parallel to direction of the uniform flow and the lift force perpendicular to the
direction of the uniform flow can be evaluated by integration. Substitution for from Eq. (7.43)
into these two equations,
2𝜋 2𝜋
𝐹𝐷 = − ∫0 𝑃𝑠 cos 𝜃 𝑅 𝑑𝜃 and 𝐹𝐿 = − ∫0 𝑃𝑠 sin 𝜃 𝑅 𝑑𝜃
Integration reveals that both the drag and lift as predicted by potential theory for a fixed cylinder
in a uniform stream are zero.
𝑅2 Γ
𝜙 = 𝑈 𝑟 cos 𝜃 (1 + ) + 2𝜋 𝜃 (7.46)
𝑟2
we can determine the location of stagnation points by setting the velocities zero on the velocity
components and solve for resulting coordinates (𝑟. 𝜃)
𝑅2
𝑢𝑟 = 𝑈 cos 𝜃 (1 − ) = 0 → 𝑎𝑡 𝑟 = 𝑅
𝑟2
At r = R then
Γ Γ
− 2𝑈 sin 𝜃 + = 0 → sin 𝜃 = (7.48)
2𝜋𝑅 4𝑈𝜋𝑅
If = 0 then θ = 0 or π that is, the stagnation points occur at the front and rear of the cylinder
as are shown in Fig. (7.13a). However, for , −1 ≤ (Γ⁄4𝑈𝜋𝑅 ) ≤ 1 the stagnation points will
occur at some other location on the surface as illustrated in Figs. (7.13 b,c). If the absolute value
of the parameter (Γ⁄4𝑈𝜋𝑅 ) exceeds 1, Eq. (7.48) cannot be satisfied, and the stagnation point
is located away from the cylinder as shown in Fig. (7.13d).
Fig. (7.13) The location of stagnation points on a circular cylinder: (a) without circulation; (b, c,
d) with circulation.
For the cylinder with circulation, the surface pressure, is obtained from the Bernoulli equation
with the surface velocity given by
1 2 1
𝑃0 + 𝜌𝑈 2 = 𝑃𝑠 + 𝜌 𝑢𝜃𝑠 (7.50)
2 2
where Ps is the surface pressure. Elevation changes are neglected. Substituting by surface
velocity equation, the surface pressure can be expressed as
1 2Γ Γ2
𝑃𝑠 = 𝑃0 + 𝜌𝑈 2 (1 − 4 sin2 𝜃 + sin 𝜃 + ) (7.51)
2 2𝜋𝑈𝑅 4𝜋2 𝑈 2 𝑅 2
𝑃𝑠 −𝑃0 2Γ Γ2
1 = 1 − 4 sin2 𝜃 + sin 𝜃 + (7.52)
𝜌𝑈 2 2𝜋𝑈𝑅 4𝜋2 𝑈 2 𝑅 2
2
Fig. (7.14) Pressure distribution on a circular cylinder with and without rotation.
The force per unit length developed on the cylinder can again be obtained by integrating the
differential pressure forces around the circumference
D’Alembert’s paradox:
The drag on an object in an inviscid fluid is zero, but the drag on an object in a fluid with
vanishingly small nonzero viscosity is not zero.
It is seen from Eq.(7.54) that the lift per unit span for a circular cylinder in a given free stream
flow is directly proportional to the circulation. This simple and powerful relation is known as
Kutta-Joukowski theorem.
The Magnus effect is an effect of lift production in an ideal flow which a rotating cylinder can be
defined as:
“The Magnus effect is an observable of lift phenomenon that is commonly associated with a
rotating object moving through the air or a fluid”.