Lectures EN
Lectures EN
Alfredo Soldati
1
Summary i
Lecture 1 - Statics
Lecture 2 - Fluid Dynamics
Lecture 3
Lecture 4 - Fluid motion in pipes
Lecture 5 - Fundamental equations for viscous flows
Lecture 6 -
Lecture 7
Lecture 8
Lecture 9 - Macroscopic balance equations
Lecture 10 - Momentum conservation equation
Lecture 11
Lecture 12
Lecture 13
2
Suggested Books
3
Lecture 1 - Statics
Statics
4
We can imagine one small parcel of fluid of mass ∆m, volume
∆V , and surface S as in the figure.
5
Fluid Density
The density (of a fluid) is defined as the ratio between mass and
volume. It is an intensive property, indicating that it does not
depend on the overall quantity of material.
∆m kg
ρ = lim
∆V →0 ∆V m3
6
Pascal’s Law
7
Balance of Forces
gravity (g = 9.8066)
dF~G = ~g dm = ρ~g dV
N
surface force pressure ([p] = Pa = m2
)
where p is the value of the pressure at the point and dS~ is the
surface vector.
8
Balance of Forces
9
Equilibrium of a Fluid Element
F~P + F~G = 0
Z
~
(−∇pdV + ρ~g dV ) = 0
V
Since the volume over which we are integrating is arbitrary, the
integrand must be zero everywhere, thus the Law of the statics
of fluids follows:
~ + ρ~g = 0
−∇p
10
Reference system
dp ˆ ˆ 0)
i = ρ~gx = ρgx i(=
~g dx
ẑ
dp ˆ ˆ 0)
ŷ y j = ρ~gy = ρgy j(=
dy
x̂ dp
k̂ = ρ~gz = −ρgz k̂ = −ρg k̂
dz
11
Hydrostatics equation
dp
= −ρg
dz
12
Example: underwater pressure
If z < 0,
dp = −ρg dz
p(0)
Z Z0
⇒ =− ρg dz
p(z) z
13
Homework
Oil well.
14
Archimede’s Principle
A body immersed in a fluid receives a pressure force
equal in modulus but opposite to the gravity force acting
on the dislocated fluid.
15
Archimede’s Principle
16
Homework
dV = r cos φdθdr · r dφ
17
Homework
18
Atmospheric Pressure & Density
The law for the statics of a fluid holds also in the atmosphere:
dp = −ρg dz
T (z) = T0 − αz
19
Since air is a gas, if we assume the perfect gas law to hold we
have
p RT M
= ⇒ρ=p
ρ M RT
with R = 8314, M = 29. Therefore,
Mg
dp = −ρg dz = −p dz
RT
dp MG
=− dz
p RT
20
Integrating from zero level to level z,
Zp Zz
dp Mg
=− dz
p RT
p0 z0
With z0 = 0,
Zp Zz
dp Mg
=− dz
p R(T0 − αz)
p0 0
p Mg T0 − αz
⇒ ln = ln
p0 Rα T0
and finally
Mg
T0 − αz αR
p(z) = p0
T0
21
The reference conditions at 0 are:
T0 = 293K ; p0 = 101325Pa
22
Atmosphere density
RT (z)
p(z) = ρ(z)
M
RT0
p0 = ρ0
M
p(z) ρ(z) RT (z)
=
p0 ρ0 RT0
Mg
T0 − αz ( αR −1)
ρ(z) = ρ0
T0
ρ0 = 1.38kg /m3 ⇒ ρ(5000m) = 0.83kg /m3
23
Surface Tension
N
Surface tension: σ = m
24
The overall force exerted by the external pressure is
Fext =
Z2π Zπ/2
= pe R cos θdθRdφ
0 0
Zπ/2
(1)
= 2πR 2 pe cos θdθ
0
π/2
cos2 θ
= 2πR 2 pe
2 0
2
= −πR pe
25
In an analogous fashion, the force exerted by the inertial pressure
(in the vertical direction) is
Fint = πR 2 pi
Fσ = −2πRσ
πR 2 pi = πR 2 pe + 2πRσ
26
In an analogous fashion, the force exerted by the inertial pressure
(in the vertical direction) is
Fint = πR 2 pi
Fσ = −2πRσ
πR 2 pi = πR 2 pe + 2πRσ
26
Questions:
27
Lecture 2 - Fluid Dynamics
While fluid statics involves no motion, fluid dynamics involves
motion and the forces that are generated by motion.
28
Viscosity
viscosity = µ[Pa · s]
m2
kinematic viscosity = ν[ ]
s
29
Viscosity
30
Viscosity
31
Viscosity
Experimentally we observe:
F
has pressure units mN2 , but it is not a pressure since it acts
A
“in” the plane of the F force.
32
Viscosity
We define:
F
shear stress τ = A;
U
shear rate ΓS = h.
33
Viscosity
dτ
When dΓ S
= constant, the fluid is called Newtonian. In this case,
viscosity is thus defined as
τ
µ= [Pa · s]
Γ
τ = µ (ΓS ) · ΓS
34
Viscosity
RΩR
dF = τ dA = µΓS dA = µ Ldθ
h
35
Viscosity
37
Sphere
38
Sphere
39
Sphere
[D] = m
N kg
[µ] = Ps · s = m2
· s = g mm2 ss2 = ms
41
Sphere
FD FD ρF v 2 D 2
; ;
ρF v 2 D µ Dv D 2 µ Dv D 2
42
Sphere
44
Sphere
45
Sphere
46
Sphere
47
Sphere
Note on drag crisis: when ReP becomes large then, the boundary
layer becomes turbulent and the wake becomes smaller. N.B. the
wake is loss of energy. A smaller wake → less waste of energy.
48
See supplemental material 2
( slides from Van Dyke, An Album of Fluid
Motion )
48
Sphere
Note that in the expression of the drag force we are using the
relative velocity: u~ is the fluid velocity and ~v is the sphere velocity.
49
Sphere
πD 3 πD 3 1 πD 2 dmP ~v
ρP ~g − u − ~v )|~
ρF ~g + ρF (~ u − ~v | cD (ReP ) =
6 6 2 4 dt
This is a general equation which will describe the motion of a
sphere. We will solve it starting from simpler cases. Note that the
term (~u − ~v )|~
u − ~v | is important because it retains the square of
the velocity modulus but also the direction of the relative velocity.
50
Sphere
D3 1 πD 2
π g (ρP − ρf ) − ρF v 2 · cD (ReP ) = 0
6 2 4
Substituting the expression for cD (ReP ):
D 3 1 π
2
2 24
D
π
g (ρP − ρF ) = ρ F v
6 2 4 ReP
51
Substituting the expression for ReP :
D 1 2 1 24µ
g (ρP − ρF ) = ρ
F v
6 2 4
ρF
D
v
Finally, we find the so-called free-fall velocity or terminal velocity.
D 2 (ρP − ρF )g
v=
18 µ
52
Sphere
D = 50µm = 50 · 10−6 m
55
Sphere
56
Sphere
x(0) = 0
y (0) = 0
ẋ(0) = 0
ẏ (0) = 0
~ = (V , 0). The equation becomes
For the flow, V
d~v ~ − ~v
V
= + ρ̂~g
dt τP
57
Sphere
In components:
dvx V − vx
=
dt τP
dvy vy
= − + ρ̂g
dt τP
or
V − ẋ
ẍ =
τP
ẏ
ÿ = − + ρ̂g
τP
We can now integrate separately the two components.
58
Sphere
x direction:
dẋ V − ẋ
=
dt τP
dẋ dt
=
V − ẋ τP
t
− ln(V − ẋ) = + C0
τP
t
V − ẋ = C · exp −
τP
At t = 0 we have ẋ = 0, so
V − 0 = C · exp(0) ⇒ C = V
then
t
ẋ = V 1 − exp −
τP
59
Sphere
ẋ
Normalized velocity along x: V = 1 − exp − τtP .
60
Sphere
0 = V τP + C2 ⇒ C2 = −V τP
and finally
t
x(t) = V τP e −ti/τP − 1 +
τP
61
Sphere
x
Normalized position along x: V τP = exp − τtP − 1 + t
τP .
After the relaxation time, the curve relaxes onto a straight line.
62
Sphere
y direction:
dẏ ẏ
= − + ρ̂g
dt τP
dẏ
= dt
ρ̂g − τẏP
ẏ
−τP ln ρ̂g − = t + C 00
τP
ẏ 0 t
ρ̂g − = C exp −
τP τP
t
ẏ (t) = ρ̂g τP − C exp −
τP
Considering the boundary condition
ẏ (0) = 0 ⇒ C = ρ̂g τP
t
ẏ = ρ̂g τP 1 − exp − 63
τP
Sphere
becomes
−t/τP t
x(t) = ρ̂g τP2 e −1+
τP
64
Sphere
65
Sphere
d(m~v ) X ~
= Fi
dt
i
dm d~v X
~v +m = F~i
dt dt
i
?
66
Lecture 4 - Fluid motion in pipes
Pipe
The pipe has length L [m] and diameter D [m]. To drive the flow
we must apply a force (a pressure difference between the pipe
cross-section in 1 and the one in 2 .
67
Pipe
Q = volumetric flowrate m3 /s
68
Pipe
70
Pipe
71
In the literature and in manuals it is possible to find two different
expressions for f :
|∆P| D
fF (Re) = Fanning friction factor
2ρv 2 L
|∆P| D
fM (Re) = 1 2 Moody friction factor
2 ρv
L
The Moody (or Darcy) friction factor is four times the Fanning
friction factor; it is largely used by civil and mechanical engineers.
The diagrams showing the dependence of the friction factor on the
Reynolds’ number are called Moody diagrams.
72
Pipe
73
Pipe
74
Pipe
Smooth pipes
We will use, with the majority, the Fanning friction factor. In
pipes, the friction factor has the following depencence on the
Reynolds’ number:
75
Pipe
Laminar flow
Re < 2100
16
f =
Re
This expression is exact and can be evaluated analitically under
certain hypotheses.
The pressure drop is thus
|∆P| D 16
=
2ρv 2 L Re
|∆P| D 16µ
2
=
2ρv L ρvD
So the dependence of the mean velocity on the pressure drop is
|∆P| D 2
v= ·
32 Lµ 76
Pipe
πD 2
Q = flowrate = v
4
And we find the Hagen-Poiseuille equation:
π |∆P| 4
Q= D
128 Lµ
77
Pipe
Turbulent flow
f = 0.079Re −1/4
78
Pipe
Note that
forRe < 2100 ∆P ∼ v
79
Pipe
Rough pipes
Normal pipes are machined and not perfectly smooth.
DN is the nominal diameter. k is the (dimensional) absolute
roughness. = DkN is the (non dimensional) relative roughness.
f = 0.046Re −0.16
81
Pipe
4
ρ = 1200kg /m3 ; v = Q = 7.7 · 10−4 m/s
πD 2
ρvD
Re = = 0.011
µ
which is less than the laminar/turbulence transition threshold.
83
Pipe
84
Pipe
85
Pipe
86
Pipe
Example 1
◦
Water at 93 C flows in a smooth pipe of D = 100mm with a
flowrate of 100m3 /h. Compute the pressure drop per meter of
◦
tube length. Data for 93 C are:
ρ = 960kg /m3 ; µ = 0.31 · 10−3 Pa · s
4Q 4 · 0.0277
Q = 100m3 /h = 0.027m3 /s ; v = 2
= = 3.54m/s
πD π · 0.01
The Reynolds number is Re = ρvD 6
µ = 1.09 · 10 . Even though we
are at the limit of the range of applicability, we use the Blasius
formula:
f = 0.079 · Re −0.25 = 2.4 · 10−3
and the pressure drop per meter is
|∆P| v2 Pa
= 2ρ f = 5.77 · 102
L D m 87
Pipe
Example 2
Compute pressure drop per unit length and power per unit length
for an horizontal smooth pipe of diameter D = 50mm which
transports a flowrate Q = 0.01m3 /s of oil with density
ρ = 980kg /m2 and viscosity µ = 0.1Pa · s.
88
Pipe
Example 2
Pressure drop per unit length is
v2 Q2
∆p 4
= 2ρf = 32ρf 2 5 v= Q
∆L D π D πD 2
∆p
∆L
f = 0.079 · Re −0.25 [smooth pipe]
ρvD 4ρQ
Re = = = 2.5 · 103
µ πµD
so the flow is turbulent.
∆p
= 11.368Pa/m
∆L
P ∆P
= Q = 113.6W /m
∆L ∆L
89
Lecture 5 - Fundamental equations
for viscous flows
Fundamental equations
90
Fundamental equations
91
Fundamental equations
In a given fluid system, the unknown which we must find are the
velocity ~v , the thermodynamic pressure p, and the absolute
temperature T .
Under the hypothesis of local thermodynamic equilibrium, we have
92
Conservation of mass
93
Conservation of mass
∆(Flowrate) = ρ vx |x ∆y ∆z − ρ vx |x+∆x ∆y ∆z
94
Conservation of mass
95
Conservation of mass
97
Conservation of mass
Incompressible fluid
If ρ is constant and uniform,
∂ ρ ∂v ∂ρ
+ ρ i + vi =0
∂t ∂x i ∂x i
and continuity reduces to
∂ vi ~ · ~v = 0
= div~v = ∇
∂xi
The fluid is then said to be divergence free.
99
Lagrangian derivative
dQ ∂Q ∂Q ∂Q ∂Q
= vx + vy + vz +
dt
|{z} |∂x ∂y ∂z ∂t
{z } |{z}
1 2 3
1 : material (Lagrangian) derivative; 2 : convective derivative;
3 : (local) time derivative.
100
Lagrangian derivative
101
Conservation of momentum
where f~b = ρ~g is the body force and f~s is the surface force.
102
Conservation of momentum
The surface force, f~s , comprises all the forces exerted on the
surfaces bounding the control volume. Important: we consider
positive a force exerted by the fluid at larger coordinates. This
means that positive forces, acting normal to the surface, put the
elemental volume under traction.
103
Conservation of momentum
To exemplify how
we derive the
equation focus on
the x direction
alone:
Dvx
ρ = fs,x + fb,x
Dt
104
Conservation of momentum
fb,x = ρgx
1
fs,x = [ σxx |x+∆x ∆y ∆z − σxx |x ∆y ∆z +
∆V
+ τyx |y +∆y ∆x∆z − τyx |y ∆x∆z +
+ τzx |z+∆z ∆x∆y − τzx |z ∆x∆y ]
Under the continuum assumption, in the limit of ∆V → 0 we have
∂ σx,x ∂ τyx ∂ τzx
fs,x = + +
∂x ∂y ∂z
and analogously
∂ τx,y ∂ σyy ∂ τzy
fs,y = + +
∂x ∂y ∂z
∂ τx,z ∂ τyz ∂ σzz
fs,z = + +
∂x ∂y ∂z 105
Conservation of momentum
Navier-Stokes equations
We start from the Cauchy equations and we proceed under the
hypothesis that the fluid is Newtonian; consequently
108
Navier-Stokes equations
Dvi ∂p ∂ 2 vi 1 ∂ 2 vi
ρ =− +µ 2 + µ + ρgi
Dt ∂xi ∂xj 3 ∂xi xj
and in vectorial form
110
Navier-Stokes for incompressible flows
~ · ~v = 0
∇
Dvi ∂p ∂ 2 vi
ρ =− + µ 2 + ρgi
Dt ∂xi ∂xj
111
Navier-Stokes equations
∂P ∂p ∂h
− =− − ρg
∂xi ∂xi ∂xi
where P is the equivalent pressure, which includes both
contributions of pressure and gravity.
112
Navier-Stokes equations
These equations are four scalar equations, which can be solved for
the four scalar uknowns (p, vx , vy , vz ) with suitable boundary
conditions.
113
Lecture 6 -
Boundary conditions
114
Boundary conditions
Mathematically, if we take
ξ tangential coordinate of
the solid surface
η normal coordinate of the
solid surface
n~ normal unit vector to the
solid surface
~t tangential unit vector to
the solid surface
we get
∂η
No-penetration : ~v · n~ = ∂t (= 0 if the solid does not move);
∂ξ
No-slip : ~v · ~t = ∂t (= 0 if the solid does not move);
115
Boundary conditions
116
Unidirectional flows
117
Unidirectional flows
118
Unidirectional flows
∂ 2 vx dP
µ 2
=
∂y dx
The left term is function of y , the right one is function of x; we
can then integrate
1 dP 2
vx (y ) = y + c1 y + c2
2µ dx
The boundary conditions are
vx (y = ±1/2) = 0
121
Unidirectional flows
Finally we obtain
" 2 #
H2
dP 2y
vx (y ) = − 1−
8µ dx h
123
Unidirectional flows
The upper wall moves with a constant velocity U. With the same
hypotheses used for the previous example, and considering ∂∂xP = 0,
we have that the Navier-Stokes equations become:
d2 vx
(x) 0=
dy 2
dP
(y ) 0=−
dy
dP
(z) 0=−
dz
with the continuity equation
∂ vx
=0
∂x
124
Unidirectional flows
vx (y = H) = U dvx U
τyx = µ =µ
dy H
and integrating N-Sx we obtain
It is constant and uniform across
vx (y ) = c1 y + c2 the flow.
125
Unidirectional flows
∂• ∂•
vz 6= 0 ; vθ = 0 ; vz = 0 ; ;
∂t ∂θ
126
Unidirectional flows
127
Unidirectional flows
Integrating,
dvz 1 2 dP
r = r + c1
dr 2µ dz
and integrating again
1 2 dP
vz (r ) = r + c1 ln r + c2
4µ dz
128
Unidirectional flows
vz (R) = 0
dvz
=0
dr r =0
R2
r 2
dP
vz (r ) = − 1−
4µ dz R
129
Unidirectional flows
ZR 2 r 2
1 R dP
< vz > = − 1− 2πr dr
πR 2 4µ dz R
0
Z R
r3
2 dP
= − r − 2 dr
4µ dz 0 R
2
R dP
= −
8µ dz
R2
dP
vmax = −
4µ dz
130
Lecture 7
(See pdf document)
131
Lecture 8
(See pdf document)
132
Lecture 9 - Macroscopic balance
equations
Macroscopic balance
Mass conservation
The time variation of the total mass between sections 1 and 2
equals the difference between the mass flowrates:
Z2
∂
(< ρ > A) dz = w1 − w2
∂t
1
where < • > means an average over the cross section.
Z
w1 ρv dA =< ρ v >1 A1
A1
Z
w2 ρv dA =< ρ v >2 A2
A2
Z2
∂
⇒ < ρ > Adz =< ρv >1 A1 − < ρv >2 A2
∂t
1
135
Macroscopic balance
Energy conservation
The quantity conserved here is γ, which is the energy per unit
mass:
1
γ = e + v2 + g h
2
Where e is the internal energy of the system (molecular motion),
v 2 /2 is the kinetic energy, and gh is the potential energy.
We apply the conservation principle to two sections
which are infinitesimally close:
∂ 1 2
ρ e + v + gh A =
∂t 2
∂ 1 ∂ ∂ q̇ ∂ ẇs
=− ρv e + v 2 + gh A − (hρv i A) + +
∂z 2 ∂z ∂z ∂z
136
Macroscopic balance
137
Macroscopic balance
Integrating from 1 to 2,
Zz2
d 1 2
ρ e + v + gh Adz
dt 2
z1
1 2 1 2
= ρv e + v + gh A1 − ρv e + v + gh A2 +
2 1 2 2
+ hρv i1 A1 − hρv i2 A2 + q̇ + ẇs
138
Macroscopic balance
139
Macroscopic balance
hv 3 ii
Defining αi = hv i3i
,
1 1 p2 p1
e 2 − e 1 + α2 v 2 2
− α1 v 2 1
+ gh2 − gh1 + − = q + ws
2 2 ρ2 ρ1
αi represents how non-uniform the velocity distribution is over the
cross-section.
Homework: compute the velocity distribution and αi of several
typical flows (Couette, Poiseuille, etc.).
In differential form,
1 2
p
de + d α hv i + g dh + d = dq + dws
2 ρ
141
Macroscopic balance
142
Macroscopic balance
dlv = T dS − dq ≥ 0
143
Macroscopic balance
144
Lecture 10 - Momentum
conservation equation
Momentum conservation equation
145
Momentum conservation equation
∂ ∂ ∂ h ~i ∂ F~
[ρ h~v i A] = − [ρ hv · ~v i A] − pA − + ρ~g A
∂t ∂z ∂z ∂z
1 2 3 4 5
146
Momentum conservation equation
And then
Zz2
~0 = ρ1 hv · ~v i A1 − ρ2 v ~· ~v2 A2 + p1 A
~1 − p2 A
~2 − F~ + ρAdz~g
1
z1
Zz2
~0 = ρ1 hv i hv · ~
v i1 hv · ~
v i 2 ~ ~ ~
1 A1 −ρ2 hv i2 A2 +p1 A1 −p2 A2 −F + ρAdz~g
hv i1 hv i2
z1
We observe that
hv · ~v ii
= frachv · v ii hv ii frach~v ii hv ii = β1 h~v ii
hv ii
with
v2 i
βi = 2
hv ii
148
Momentum conservation equation
Finally,
Zz2
~1 − p2 A
~0 = w [β1 h~v i − β2 h~v i ] + p1 A ~2 − F~ + ρAdz~g
1 2
z1
149
Examples of application
0 = w (v1 − v2 ) − f
However, v2 = 0 and
F = ρv 2 A
150
Examples of application
Moving plate
F = ρ (v − u) A (v − u) = ρA (v − u)2
151
Examples of application
Paddled wheel
The force is
F = ρvA [v − RΩ]
152
Lecture 11
(See pdf document)
153
Lecture 12
(See pdf document)
154
Lecture 13
(See pdf document)
155