Basic Fluid Dynamics: Solutions
Basic Fluid Dynamics: Solutions
Basic Fluid Dynamics: Solutions
1 Ideal Fluids
Solution
1
it is clear that enthalpy too is only a function of temperature of the gas.
Thus, for an isothermal atmosphere we obtain
1
T ds = − dp (5)
ρ
Now using the equation of hydrostatic equilibrium we obtain the gradient
of entropy as
ds g
= (6)
dz T
(c) Earth’s atmosphere: In the lower stratosphere, the air is isothermal. Use
the condition of hydrostatic equilibrium to show that:
where the scale height, H = kT /(µmp g). Estimate the scale height. (Use
mean molecular weight µ = 29 and T = 300 K).
Solution
2
The scale height can be calculated to be H = 8.7 km
Here γ ' 1.4 is the ratio of specific heats for gases like Nitrogen and Oxygen.
Why does the above expression vanish for γ = 1? Obtain expressions for
p(z) and ρ(z) if the atmosphere is isentropic.
Solution
3
Solving for temperature we obtain
γ − 1 zgµmp
T = T0 − (19)
γ kB
We also have
dp dh dT µmp dT
=ρ = ρcp = cp p (20)
dz dz dz kB T dz
which gives
γ − 1 zgµmp γ/(γ−1)
p = p0 1 − (21)
γ kB To
For γ → 1 this gives
p = p0 exp (−z/H) (22)
as it should for an isothermal atmosphere (for an isothermal atmosphere
γ = 1.
Solution
The pressure force acts perpendicular to an area element. Let the area
element on the submerged surface be dS, pointing out of the submerged
volume. The total force on the volume element due to fluid pressure is given
by Z Z
F=− p dS = − ∇p dV (23)
4
Incidentally, if the object is only partially submerged then a part of the
submerged surface lies inside the object. Treating the top part and the
bottom part separately, we find that the two contributions cancel and we
are left with the above result.
Solution
5
Defining the stress tensor
Conservation of energy: Total energy per unit volume is the sum of kinetic
energy per unit volume, 12 ρv 2 , and the internal energy per unit volume, ρu,
where u is the specific energy. We shall consider each separately.
Kinetic energy
∂ 1 2 1 ∂ρ ∂v
ρv = v2 + ρv · (33)
∂t 2 2 ∂t ∂t
Using equation of continuity and the equations of motion given in the form
2
∂v v ∇p
+ω×v+∇ =− (34)
∂t 2 ρ
we obtain
∂ 1 2 1 1 ∇p
ρv = − v 2 ∇ · (ρv) − ρv · ∇( v 2 ) − ρv · (35)
∂t 2 2 2 ρ
6
Combining the above equations
or
∂(ρu) ∂s ∂ρ
= ρT +h (41)
∂t ∂t ∂t
For an ideal fluid the flow is adiabatic, implying ds/dt = ∂s/∂t + v · ∇s = 0.
Using this and the continuity equation we get
∂(ρu)
= −ρT v · ∇s − h∇ · (ρv) (42)
∂t
Adding the time rate of change of kinetic and internal energy gives
∂ 1 2 1 1
ρv + ρu = − v 2 ∇ · (ρv) − ρv · ∇( v 2 ) − ρv · ∇h − h∇ · (ρv) (43)
∂t 2 2 2
which can be rearranged to give
∂ 1 2 1 2
ρv + ρu + ∇ · ( ρv + ρh)v = 0 (44)
∂t 2 2
(a) Estimate these time scales for a parcel of air of size 1 m, and 1 km. The
coefficient of thermal conductivity, κ = 0.2 cm2 sec−1 and speed of soundcs =
350 m sec−1 .
Solution
7
Thus for a parcel of size 1 m
Solution
8
from where we deduce that
∂V T ∂V
= >0 (54)
∂s p cp ∂T p
T ds = cp dT − V dp (57)
(i) Write down the linearized continuity and Euler equations satisfied by
perturbations ρ1 , p1 , and v1 .
(iii) Assume that the perturbation gives rise to a pure potential flow, v1 =
∇φ1 . Use this in the linearized Euler equation, and express p1 in terms
of φ1 .
(iv) Assume
p that the flow is barotropic, with sound speed defined by cs =
dp0 /dρ0 . Derive a wave equation for φ1 .
9
(v) Write down the general solution for φ1 , corresponding to plane waves
traveling in the ±x directions.
(vi) What are the corresponding expressions for v1 and p1 ? Are the waves
transverse or longitudinal?
Solution
(i) Since v0 = 0, the nonlinear term in the convective derivative does not
contribute anything. The linearized Euler equations are
∂v1 ∇p1
=− , (59)
∂t ρ0
and the linearized continuity equation is
∂ρ1
+ ρ0 ∇ · v1 = 0 (60)
∂t
(ii) Since the fluid is compressible, we first derive the equation of motion for
vorticity. The Euler equations are
2
∂v ∇p v
+ω×v =− −∇ (61)
∂t ρ 2
Taking the curl on both sides
∂ω ∇ρ × ∇p
+ ∇ × (ω × v) = (62)
∂t ρ2
The non-linear terms do not contribute in the first order since they are
zero for the unperturbed flow (the term on the right hand side is in fact
identically zero for a polytropic equation of state), therefore
∂ω
=0 (63)
∂t
and unless the perturbation has a non-zero vorticity, the vorticity remains
zero.
10
(iv) For an adiabatic gas p = p(ρ), which implies p1 = c2s ρ1 . The previous
equation then becomes
∂φ1 ρ1
+ c2s =0 (65)
∂t ρ0
Differentiating with respect to time we obtain
∂ 2 φ1 c2 ∂ρ1
2
+ s =0 (66)
∂t ρ0 ∂t
Using the continuity equation we we can write this as
∂ 2 φ1 2 ∂ 2 φ1
− cs ∇ · v1 = 0 ⇒ − c2s ∇2 φ1 = 0 (67)
∂t2 ∂t2
φ1 = φ0 ei(k.x±ωt) (68)
Solution
We shall assume that the tub is very large and cylindrically symmetric. We
shall further assume that the flux of water is small, therefore, we shall ignore
the vertical motion of water while describing the flow. We also assume that
the flow is steady and incompressible.
11
Water enter at a large radius R0 , with a small radial velocity, and circulation
Γ0 I
Γ0 = v · dl (70)
For an ideal fluid, the net circulation remains constant with the flow, there-
fore, Γ(R) = Γ0 . Thus
I
Γ0
v · dl = 2πRvφ = Γ0 ⇒ vφ = (71)
2πR
Note that this is just a statement of conservation of angular momentum
since the angular momentum per unit volume ρRvφ is a constant for this
flow.
2 Viscous Fluids
1. Molecular origin of shear viscosity: For most fluids, the shear viscosity
coefficient is only determined experimentally. For an ideal gas the shear
12
viscosity can be determined using kinetic theory of gases. Consider a flow
in x direction where the shear .i.e. ∂vx /∂y is non-zero. In this case, random
motion of the gas molecules moving with typical thermal velocities vt with
a mean free path ` (` = 1/(nσ), n is the number density and σ is the cross-
section of collision) deposit different amounts of x-component of momentum
across a plane y = const. Show that the (x-component of) momentum
deposited per unit time per unit volume of the fluid is given by:
∂ ∂ux
Fx ∼ η , (76)
∂y ∂y
with the coefficient of shear viscosity η = mvt /σ.
2. Using Navier-Stokes and continuity equations along with the first law of
thermodynamics, show that:
∂ 1 2 1 2
ρ v +u + ∇. ρv v + h − ζθv − 2ησ.v
∂t 2 2
ds
= ρT − ζθ2 − 2ησij σ ij (77)
dt
Solution
We have done part of this problem already while deriving the energy con-
servation equation. Let us cast the Navier-Stokes equation in the following
form
dvi ∂p ∂Tij
ρ =− − (78)
dt ∂xi ∂xj
where
1 ∂vi ∂vk 2 ∂vl ∂vl
Tij = −2ησij − ζθδij , σij = + − δij , θ= (79)
2 ∂xk ∂xi 3 ∂xl ∂xl
Recall the kinetic energy part from the previous problem
∂ 1 2 1 ∂ ∂
ρv = v 2 ρ + ρv · v (80)
∂t 2 2 ∂t ∂t
13
It is clear that the second term on the right hand side introduces the fol-
lowing additional terms
∂ 1 2
ρv = . . . + 2ηvi ∂j σij + ζvi ∂j θδij (81)
∂t 2
This can be written as
∂ 1 2
ρv = . . . + 2η∂j (vi ∂j σij ) + ζ∂j (vi θδij ) − 2η(∂j vi )σij − ζ(∂j vi )θδij
∂t 2
(82)
or
∂ 1 2
ρv = . . . + ∇ · (2ηv · σ + ζvθ) − 2ησij σij − ζθ2 (83)
∂t 2
Apart from this we also cannot assume conservation of entropy (since dis-
sipative processes actually produce it), therefore, the ds/dt term that had
dropped out in the previous case remains on the right hand side, leading to
the result we are required to prove.
Q. Interpret different terms of this equation and show that it means that
both the coefficients of viscosity must be positive.
Solution
If there are no sources or sinks of energy, the left hand side and the right
hand side of Eq 77 vanish indentically. Note that the flux of energy now
contains additional terms dependent on shear. This is not surprising since
shear transports momentum through the fluid and transport of momentum
involves transport of energy as well.
14
3. For an incompressible flow, show that the pressure is determined entirely
by the velocity field and derive a Poisson equation for the pressure.
Solution
4.
Determine the flow of a viscous fluid of thickness h on an inclined plane due
to the force of gravity.
Solution
Let the direction of the flow be x and the direction perpendicular to the plane
by z, then the gravitational potential is given by Φ = gz cos(θ) − gx sin(θ),
where θ is the angle of the inclined plane.
The condition that the height of the flow remains a constant, along with the
continuity equation implies that vx is a constant. Moreover, the condition
that at the top of the fluid the pressure is given by the atmospheric pressure,
which is a constant along the direction of the flow, implies that the pressure
is only a function of z. The x component of the Navier-Stokes equation is
given by
∂ p
+ gz cos θ − gx sin θ = ν∇2 vx (87)
∂x ρ
which gives
d2 vx g sin θ
2
=− (88)
dz ν
15
The general solution of this equation is given by
1
vx (z) = − g sin θ z 2 + Bz + C (89)
2ν
The flow satisfies the boundary condition vx (0) = 0. Furthermore, if we
ignore the viscosity of air, it is clear that the condition that ησij = 0 at
z = h, where h is the height of the flow, and that ησij be continuous,
implies that σij = 0. Note that continuity of ησij is a necessary condition
since its divergence occurs in the Navier-Stokes equations, and discontinuity
would lead to singular terms. The two constants can be determined from
these two boundary conditions, vx (0) = 0 and dvx /dz(h) = 0, to give the
solution
g sin θ
vx (z) = z(2h − z) (90)
2ν
5. Poiseuille flow: Consider fluid flow in a pipe of radius a. The flow is such
that the only component of velocity that is non-zero is along the pipe and
its variation is only along the cross-section .i.e. the flow can be determined
by a velocity field: vz (r).
a) Show that for a given pressure gradient along the tube, dp/dz, the velocity
field is given by:
dp 1 2
vz (r) = (a − r2 ). (91)
dz 4η
Solution
Since the flow is steady ∂t = 0. For a long pipe the flow is invariant along
the length of the tube, therefore, the gradient of the flow along the length
vanishes. Thus, the left hand side of the Navier-Stokes equation is zero.
Ignoring any gravitational field we obtain
p v2
∇ + = ν∇2 v (92)
ρ 2
16
Taking projection along the z-axis we obtain
dp
= η∇2 vz (93)
dz
Note that dp/dz is a constant. Expressing the Laplacian in the cylindrical
polar coordinates and noting that the only variation is along r, we obtain
1 d d 1 dp
r vz (r) = (94)
r dr dr η dz
Integrating twice we obtain
1 dp r2
vz (R) = + C log r + D (95)
η dz 4
where, C and D are constants. Since the flow is non singular at the origin,
C = 0. The other boundary condition is that vz (z) = 0, imposing which we
obtain
dp 1
vz (r) = (a2 − r2 ). (96)
dz 4η
b) Compute the tangential force (per unit area) on the walls of the pipe.
Solution
The force per unit area is given by ηSrz , all other components of the stress
tensor vanish.
dp a
Srz = (97)
dz 2η
The total force on a piece of length l is given by
dp
F = 2πalη Srz = πa2 l (98)
dz
which is not a surprising result since πa2 is the crossectional area of the tube
and the pressure gradient times the length is the pressure difference across
the segment of the tube. Clearly, the pressure forces are required to balance
the total viscous forces on the tube.
17