Professional Documents
Culture Documents
Basic Fluid Mechanics For Civil Engineers (Presentation) Author Maxime Nicolas
Basic Fluid Mechanics For Civil Engineers (Presentation) Author Maxime Nicolas
Maxime Nicolas
Maxime Nicolas
maxime.nicolas@univ-amu.fr
september–december 2016
1 Preamble
Course schedule
Online
Working advices
Course outline
PREAMBLE
Course syllabus
Schedule:
10 lectures
10 workshops
Online
with
slides
workshops texts
equation forms
Working advices
Course outline
Physics
continuum mech.
aerodynamics waves
from timberframehome.wordpress.com
from www.marseille-port.fr
from http://www.chantiersdefrance.fr
FIGURE 1–5
The arrangement of atoms in different phases: (a) molecules are at relatively fixed positions
in a solid, (b) groups of molecules move about each other in the liquid phase, and
(c) molecules move about at random in the gas phase.
Main concepts
density
stresses and pressure
viscosity
superficial tension
density
Stress
�
→
Elementary force F applying on an elementary surface S.
𝛿F
n
𝛿S
�
→
Ratio is
�
→= F
S
the stress vector.
Standard unit : Pa (pascal). 1 Pa = 1 N⋅m−2 = 1 kg⋅m−1 ⋅s−2
Stress
The surface element S is oriented by a unit vector � →
n.
�
→
n is normal (perpendicular) to the tangential plane.
�
→=�
→+�
→
n t
→⋅�
→ �
→
with
� →⋅�
→ = (� →
n )�
→
n �
→=�
→−�
→ = (� t)t
n t n
n
𝛿S t
Pressure
Notation : p
S.I. unit : pascal (Pa) 1 Pa = 1 N⋅m−2 = 1 kg⋅m−1 ⋅s−2
The pressure in a fluid is an isotropic stress: its intensity does not depend
on the direction.
Pressure examples
p(H)
S = 0.5 m2
p(H)
viscosity
A macroscopic view on viscosity :
moving plate U
F
h u(y)
velocity profile
fixed boundary
viscosity
fluid ⌘ (Pa⋅s)
air 1.8 10−5
water 10−3
blood 6 10−3
honey 10
fresh concrete 5–25 Bnon-newtonian fluid
⌫=
⌘
⇢
superficial tension
symbol:
unit: [ ]=N⋅m−1
order of magnitude: 0.02 to 0.075 N⋅m−1
most common: water �air = 0.073 N⋅m−1
When the fluid molecules are preferring the contact with a solid surface
rather than the surrounding air, it is said that the fluid is wetting the solid.
wetting non-wetting
𝜃 𝜃
p = pint − pext = � + �
1 1
R1 R2
pext
pint p
int
pdrop = 2
R pbubble = 4
R
capillary rise
The capillary rise is a very common phenomena (rise of water in sils, rocks
or concrete), and can be illustrated with a single tube:
𝛥h
h=
4 cos ✓
⇢gd
Vectors
� 0 �
�
→
g =� 0 �
� −g �
Vector field
�
→ � Ax (x,y ,z,t) �
A (x,y ,z,t) = � Ay (x,y ,z,t) �
� Az (x,y ,z,t) �
The value of the vector has to be computed at each space point and for
each time.
Vector field
�
→
Plot of A = (cos x, sin y ,0)
Vector field
f (t + t) − f (t)
f (t) = t →0
d
, as
dt t
but many useful functions in fluid mechanics are multi-variables functions
(pressure, velocity).
Partial derivative:
@f (x,y ,z,t) f (x,y + y ,z,t) − f (x,y ,z,t)
= , as y →0
@y y
Important implication :
@2f @2f
=
@x@y @y @x
@x@y (x y + 1)
@2 2
Example: compute
M. Nicolas (Polytech Marseille GC3A) Fluid mechanics september–december 2016 37 / 49
Introduction and basic concepts Maths for fluid mechanics
Let’s define
@f (x,y ,z)
= k(x,y ,z)
@y
Integrating along a single coordinate (here y ) gives
Example: k = @f
@y = xy 2 , please find f (x,y )
� @
�
�
→
∇ =� �
@x
� �
@
nabla or del
� �
@y
@
@z
gradient
� @f
�
��→ �
→
gradf = ∇ f = � �
@x
� �
@f
� �
@y
@f
@z
��→
scalar ��→ vector
grad
�
→
Example: compute ∇ (x 2 yz + 2)
divergence
� @
� � Ax �
→ �
� → �→ � � ⋅ � Ay � = @Ax + @Ay + @Az
∇ ⋅ A = div A = �
@x
�
@
� � � Az �
@y
@ @x @y @z
@z
vector �→ scalar
div
→ �
� → �
→
Example 1: compute ∇ ⋅ A with A = (x,y ,z)
→ �
� → �
→
Example 2: compute ∇ ⋅ A with A = (y ,z,x)
→ �
� → �
→ � →
Let’s compare ∇ ⋅ A and A ⋅ ∇
→ �
� → �
→
∇ ⋅ A (the divergence) of A is a scalar
�
→ � →
A ⋅ ∇ is an scalar di↵erential operator:
�
→ � →
A ⋅ ∇ = Ax + Ay + Az
@ @ @
@x @y @z
→ �
� → � → � →
Obviously ∇ ⋅ A ≠ A ⋅ ∇
curl
� @
� � Ax �
→ �
� → � → � → ��→� → �→� →
∇ × A = ∇ ∧ A = curl A = rot A = � � × � Ay �
@x
� �
@
� � � Az �
@y
@
@z
� − �
@Az @Ay
→ �
� → � @y @z
�
∇× A =� @Ax
− @Az
�
� �
@z @x
−
@Ay @Ax
@x @y
��→
vector ��→ vector
curl
curl
Alternate method:
�
→ �
→ �
→
� ex ez �
�
→ �
→
ey
∇ × A = det �
� @x
@ @ @ �
@z �
� Ax Az �
@y
Ay
→ �
� →
Example: calculate ∇ × A for
x2 − y2 �
→ � 2
�
A = � y − z2 �
� z2 − x2 �
laplacian
The laplacian is the divergence of the gradient:
�
→ � →
f = ∇ ⋅ ∇ f = ∇2 f
scalar �→ scalar
But a laplacian can also apply to a vector:
→ �
Ax �
�
A =� Ay �
� Az �
vector �→ vector
M. Nicolas (Polytech Marseille GC3A) Fluid mechanics september–december 2016 45 / 49
Introduction and basic concepts Maths for fluid mechanics
Useful formulae
Prove it!
�
→ � → � → � → �
→ � → �
→
The double curl:
∇ × ∇ × A = ∇(∇ ⋅ A ) − A
Memo
��→
scalar ��→ vector
grad
vector �→ scalar
div
��→
vector ��→ vector
curl
scalar �→ scalar
vector �→ vector
Flow in a pipe: �
→
v (�
→
r ,t) and p(�
→
r ,t)
�
→
v (r ,✓,z,t), p(r ,✓,z,t)
In this course, only the cartesian and cylindrical coordinate systems will be
used.
� �
@f
�
→
∇f = � �
@r
1 @f
� �
r @✓
@f
@z
→ �
� → 1 @
∇⋅A = (rAr ) + +
1 @A✓ @Az
r @r r @✓ @z
� r @✓ − @z
@A✓
�
→ �→
1 @Az
�
∇× A =�
� @r − @z
@Az @Ar �
�
� r @r (rA✓ ) − r @✓
1 @ 1 @Ar �
@ 2 f 1 @f 1 @2f @2f
f = + + +
@r 2 r @r r 2 @✓2 @z 2
Maxime Nicolas
maxime.nicolas@univ-amu.fr
september–december 2016
3 Archimedes
Cube at equilibrium
y
x
�
→ � →
W + Fp =0
Continuous approach
�
→ � →
at equilibrium, W + F p = 0, written as
� ⇢�
→
g dV − � p(M)dS �
→
n =0
V S
Useful theorem
�→ �
→
� f dS n = � ∇ f dV
S V
�
→
Thus
� ⇢�
→
g dV − � ∇ p(M)dV = 0
V V
�
→
and
� �⇢�
→
g dV − ∇ p(M)dV � = 0
V
finally
�
→
∇ p − ⇢�
→
g =0
integration
for �
→
g = (0,0 − g ) and p = p(z),
−⇢g − =0
dp
dz
which gives
p(z) = p0 − ⇢gz
with p0 the reference pressure at z = 0.
A C D E F
B
pA = pB = pC = pD = pE = pF
what do you think of pressure at M?
numerical example
for z = −10 m,
1 patm
p
A
h
z
p
B
2
Bremember �
→
n is an outgoing unit vector
p n M
z patm
0 n
x
p(z)
pressure center
�
→
applying F p on P does not induce rotation of the surface.
�→ � → ��→
OC × F p and OM × (p �
→
n ) are both torques.
z patm z patm
0 n 0 n
x x
HC
p(z) Fp G
C
z patm z patm
0 n 0 n
x x
HC
p(z) Fp G
C
h= H
2
3
the pressure center is always below the gravity center (barycenter). It can
be proved that
HC = HG +
I
HG S
with
HC : depth of the pressure center
HG : depth of the gravity center
S: wetted surface
I : moment of inertia
see Workshop #2
Archimedes’ principle
�
→
and combining with the hydrostatics law ∇ p = ⇢�
→
g , we have
�
→ �
→
F p = − � ⇢�
→
g dV = −mf �
→
g = FA
V
a density di↵erence
�
→ � → � →
R = W + F A = (⇢s − ⇢)V �
→
G
g
W
�
→
this R force may be positive or negative (the sign of the density di↵erence
⇢s − ⇢).
Consider a hollow sphere made of steel, outer radius R and wall width w .
Find the width w for which the sphere does not sink nor float.
2R
FA
z
V2
G
V1 B
�
→
F A = −� ⇢1 �
→
g dV − � ⇢2 �
→
g dV = −(⇢1 V1 + ⇢2 V2 )�
→
g
V1 V2
l
h
L
dry sand
H w: concrete width
saturated sand
Maxime Nicolas
maxime.nicolas@univ-amu.fr
september–december 2016
2 Mass conservation
Fluid particle
fluid
H
O H
H
O
particle
H
macro scale meso scale micro scale
r(t2 )
r(t3 ) r(t4 )
r(t1 )
r(t 0)
O
BUT TOO MANY FLUID PARTICLES TO FOLLOW
d�→
with
�
→
u =
r
dt
Integration of �
→
u gives �
→
r (if needed)
Steady flow
Bsteady ≠ static !
U0 �
x �
�
→
u = � −y �
L �
0 �
Acceleration
Acceleration
ux = ux (x,y ,z,t)
ux = x+ y+ z+ t + ...
@ux @ux @ux @ux
@x @y @z @t
the same for uy and uz :
uy = x+ y+ z+ t + ...
@uy @uy @uy @uy
@x @y @z @t
uz = x+ y+ z+ t + ...
@uz @uz @uz @uz
@x @y @z @t
Acceleration
alternate writing:
ux = x + y + z + t
@ux @ux @ux @ux
@x @y @z @t
and the x-acceleration is
= ux + uy + uz +
ux @ux @ux @ux @ux
t @x @y @z @t
or
= �ux + uy + uz + � ux
ux @ @ @ @
t @x @y @z @t
particular derivative
D�
→ @�
→
�
→ →
= + (�
→
u ⋅ ∇ )�
u u
u
Dt @t
�
→ �
→
u ⋅ ∇ = ux + uy + uz
@ @ @
@x @y @z
D�
→
�
→ →
= (�
→
u ⋅ ∇ )�
u
u
Dt
Plane flow : �
→
u = (ux (y ,z),0,0), then
�
→ →
(�
→
u ⋅ ∇ )�
u =0
U0 �
x �
�
→
u = � −y �
L �
0 �
the acceleration is :
�
→
a =
Streamlines
Def: In every point of the flow field, the tangent to a streamline is given by
the velocity vector �
→
u.
U0 �
x �
�
→
u = � −y �
L �
0 �
the streamline equation is
=
dx dy
ux uy
so
=−
dx dy
x y
Stream tubes
a stream tube
Flow rate
Q = � dQ = � �
→
u ⋅�
→
n dS in m3 ⋅ s−1
S S
syringe
U2
piston U1 S1
S2
flowrate is
Q = U1 S1 = U2 S2
since S2 � S1 , U2 � U1 and the fluid has a large kinetic energy !
Mass conservation
�→ � →
� ⇢dV = − � ⇢ u ⋅ n dS
@
@t V S
using Ostrogradski,
�
→
dV = − � ∇ ⋅ (⇢�
→
u )dV
@⇢
�
V @t V
then
@⇢ � →
� � + ∇ ⋅ (⇢�
→
u )� dV = 0
V @t
Mass conservation
�
→ �
→ �
→ →
since
∇ ⋅ (⇢�
→
u)=�
→
u ⋅ ∇⇢ + ⇢∇ ⋅ �
u,
the mass conservation equation is
@⇢ � �
→ �
→ →
+→
u ⋅ ∇⇢ + ⇢∇ ⋅ �
u =0
@t
or
�
→ →
+ ⇢∇ ⋅ �
u =0
D⇢
Dt
�
→
=0 ∇ ⇢ = 0,
@⇢
and
@t
and the mass conservation equation reduces to
�
→ →
∇ ⋅�
u =0
WS2 preparation
WS2 preparation
30 m
B
2m
80 m
100 m 5m
60 m
A C
Maxime Nicolas
maxime.nicolas@univ-amu.fr
september–december 2016
Modern formulation:
F=
(mv )
d
dt
where F is a force, and mv a momentum.
v
W
�→ �
→ � →
�V ⇢ u dV = F v + F s
d
V dt
control volume
f (�
→
r ,t) is a scalar function transported by the flow-field �
→
u.
control volume
f (�
→
d
� r ,t)dV
dt V (t)
� f dV = � dV + � f �→
u ⋅�
→
d @f
n dS
dt V V @t S
using the divergence theorem,
@f �→
� f dV = � � + ∇ ⋅ [f �
→
u ]� dV
d
dt V V @t
�
→
With a vector A = (Ax ,Ay ,Az ) transported by the flow-field �
→
u , each
component (scalar) follows
@Ai �→
� Ai dV = � � + ∇ ⋅ [Ai �
→
u ]� dV
d
dt V V @t
It follows that
�
→
�
→ �
→ → �
� A dV = � dV + � A (�
u ⋅→
n ) dS
d @A
dt V V @t S
Taking f = ⇢, we write
@⇢ �→
� ⇢ dV = � � + ∇ ⋅ [⇢�
→
u ]� dV
d
dt V V @t
� ⇢ dV = 0
d
dt V
this implies
@⇢ � →
+ ∇ ⋅ [⇢�
→
u]=0
@t
or
�
→ →
+ ⇢∇ ⋅ �
u =0
D⇢
Dt
Reminder
�
→ →
+ ⇢∇ ⋅ �
u =0
D⇢
Dt
u
�
→
With the momentum density A = ⇢�
→
u
�→ @ �
(⇢ →
u ) dV + � ⇢�
→
u (�
→
u ⋅�
→
� ⇢ u dV = � n ) dS
d
dt V V @t S
@�
→
We know that
@ �
(⇢ →
u �
u)=⇢ +→
@⇢
u
@t @t @t
and the divergence theorem gives
�→ � → � → �
→ �→ � →
� ⇢ u ( u ⋅ n ) dS = � ∇ ⋅ (⇢ u ⊗ u )dV
S V
� u x � � vx � � u x v x u x vy u x vz �
� u y � ⊗ � v y � = � u y vx u y vy u y vz �
� u z � � vz � � u z vx u z vy u z vz �
� ux ux uz �
2
ux uy
�
→ �→
u ⊗ u = � uy ux uy2 uy uz �
� uz ux uz uy uz2 �
Note that �
→
u ⊗�
→
u is symmetric.
� → �
� →
�
∇ ⋅ Ax
�
→ � → �
� → �
∇ ⋅A=� ∇ ⋅ Ay �
� �
→ �
� →
� ∇ ⋅ Az �
�
→
with A x = (Axx,Axy ,Axz) the x-line of A.
�
→ → �
Write on the board:
∇ ⋅ (�
u ⊗→
u ) = ...
�
→ → � �
→ → �
→ →
∇ ⋅ (�
u ⊗→
u)=�
→
u (∇ ⋅ �
u ) + (�
→
u ⋅ ∇ )�
u
and therefore
�
→ �→ �
→ →
∇ ⋅ (⇢�
→
u ⊗�
→
u)=�
→
u ( ∇ ⋅ [⇢�
→
u ]) + ⇢(�
→
u ⋅ ∇ )�
u
u transport law
�→ @ �
(⇢ →
u ) dV + � ⇢�
→
u (�
→
u ⋅�
→
� ⇢ u dV = � n ) dS
d
dt V V @t S
�→ @�→
u �
= � ��⇢ +→ �
d @⇢
� ⇢ u dV u
dt V V @t @t
�→ �
→ →
+�
→
u ( ∇ ⋅ [⇢�
→
u ]) + ⇢(�
→
u ⋅ ∇ )�
u � dV
@⇢ � →
= � �� →
u� + ∇ ⋅ (⇢�
→u )�
@t
@�
→
V
�
→ →
+⇢ � + (�
→
u ⋅ ∇ )�u �� dV
u
@t
u transport law
Since
@⇢ � →
+ ∇ ⋅ (⇢�
→
u)=0
@t
@�
→ �
→
and
�
→ → Du
+ (�
→
u ⋅ ∇ )�
u =
u
,
@t Dt
then
�→ D�
→
� ⇢ u dV = � ⇢
d u
dV
dt V V Dt
Newton’s law
�→ D�
→ �
→
� ⇢ u dV = � ⇢ dV = � F i
d u
dt V V Dt i
volume force
the weight is the only volume force for a dielectric and non-magnetic fluid.
�
→ �
→
F v = W = � ⇢�
→
g dV
V
surface forces
We write the total surface forces as the sum of local forces applying on the
�→ �
→
surface S:
F s = � T (M,� →
n )dS
S
�→
where T (M,�→n ) is a stress vector for all M ∈ S, for a unit vector �
→
n on
�
→
each element of S.
T = � →n
STOP 2-tensor × vector (see next slide)
We need to calculate
�
→
n
� xx xy xz � � nx � � xx nx + xy ny + xz nz �
� � � ny � = � yx nx + yy ny + yz nz �
� � � nz � � �
yx yy yz
zx zy zz zx nx + zy ny + zz nz
which is a vector
Newton’s law
D�
→ �
→ � →
dV = W + F s
u
� ⇢
V Dt
D�→ �
→
dV = � ⇢� →
g dV + � T (M,�
→
n )dS
u
� ⇢
V Dt V S
D�→
�
→
dV = � ⇢� →
g dV + � ∇ ⋅ dV
u
� ⇢
V Dt V V
and locally,
D�
→
�
→
= ⇢�
→
g +∇⋅
u
⇢
Dt
For each component (i = x,y ,z),
= ⇢gi +
Dui @ ij
⇢
Dt @xj
Lecture abstract
�
→ →
+ ⇢∇ ⋅ �
u =0
D⇢
Dt
Momentum conservation equation:
D�
→
�
→
= ⇢�
→
g +∇⋅
u
⇢
Dt
remember that
@ � �
→
≡ +→
u ⋅∇
D
Dt @t
The fluid stress tensor gathers all the information about surface forces:
= −pI + D
moving plate U
F
h u(y)
velocity profile
D= F
S, a function of ˙ = U
h
fixed boundary
Basic rheology
shear stress D, as a function of the shear rate ˙
D = f (˙)
D
id id
flu flu
m an
ha oni
ng wt
Bi ne
shear stress
gin
en
𝜂
ick
slope=viscosity
h
r-t
ea
shear-thinning
sh
.
inviscid fluid: idealized fluid of zero viscosity 𝛾
shear rate
Maxime Nicolas
maxime.nicolas@univ-amu.fr
september–december 2016
1 Flash test
2 Flows classification
3 Bernoulli’s theorem
Flash test
5 questions
15 min to answer
work for yourself
NO CHEATING PLEASE!
U0 �
2x �
�
→
u = � 2y �
L �
−4z �
is this an incompressible flow?
5 calculate D �→
u �Dt with
�
→ gt −x
u = � �
L y
�
→ →
+ ⇢∇ ⋅ �
u =0
D⇢
Dt
Momentum conservation equation:
D�
→
�
→
= ⇢�
→
g +∇⋅
u
⇢
Dt
remember that
@ � �
→
≡ +→
u ⋅∇
D
Dt @t
The fluid stress tensor gathers all the information about surface forces:
= −pI + D
moving plate U
F
h u(y)
velocity profile
D= F
S, a function of ˙ = U
h
fixed boundary
@�
→
�
→ → �
→ �
→
+ ⇢(�
→
u ⋅ ∇ )�
u = ⇢�
→
g − ∇p + ∇ ⋅ D
u
⇢
@t
Inertia term:
�
→ →
�⇢(�
→
u ⋅ ∇ )�
U2
u� ∝ ⇢ �U � U =
1
⇢
L L
rheology (viscous) term:
�→
� ∇ ⋅ D� ∝
U
⌘
L2
�
→ →
To compare :
�⇢(�→
u ⋅ ∇ )�u � ⇢UL
�→ =
� ∇ ⋅ D� ⌘
M. Nicolas (Polytech Marseille GC3A) Fluid mechanics september–december 2016 8 / 21
Flows classification
Re = 0 < Re < ∞
⇢UL
,
⌘
with
⇢ fluid density
U characteristic velocity
L characteristic length
⌘ fluid dynamic viscosity
Flows classification: Re � 1
Flows classification: Re � 1
Wind over a small-scale house in a wind tunnel. Photo from Leibniz Institut
www.atb-postdam.de
Assume Re � 1
= −pI
�
→ �
→
and
∇⋅ = −∇p
only pressure gradient remains
�
→ → �
→
and
⇢(�
→
u ⋅ ∇ )�
u = ⇢�
→
g − ∇p
�
→ → � → u2 �
→ → �
(�
→
u ⋅ ∇ )�
u = ∇ � � + (∇ × �
u)× →
u
2
�
→ u2 �
→ → � 1�→
∇ � � + (∇ × �
u)× →
u = �→
g − ∇p
2 ⇢
�→ 1�→
= − ∇ (gz) − ∇ p
⇢
along a streamline
�
→
Following a streamline, with dl a small oriented line element of the
streamline
→ u2 �
� → �→ → � �
→ �
→ 1 � → �
→
∇ � � ⋅ dl + [( ∇ × �
u)× →
u ] ⋅ dl = �
→
g ⋅ dl − � ∇ p� ⋅ dl
2 ⇢
∇ u u
dl
(∇ u ) u
�→ �→ → � �
→
Since �
→
u �� dl , [( ∇ × �
u)× →
u ] ⋅ dl = 0
→ u2 �
� → �
→ �
→ 1 � → �
→
∇ � � ⋅ dl = g ⋅ dl − � ∇ p� ⋅ dl
2 ⇢
along a streamline
�
→ u2 p � →
∇ � + gz + � ⋅ dl = 0
2 ⇢
meaning that
u2
+ gz + = C ′
p
2 ⇢
or
u2
⇢ + ⇢gz + p = C
2
this was first proved by Daniel Bernoulli in 1738.
Bernoulli’s theorem
Understanding Bernoulli
⇢Vu 2 + pV + ⇢Vgz = CV
1
2
or
mu + pV + mgz = CV
1 2
2
streamline g
h
streamline
h
output velocity: �
uB = 2g h
known as the Toricelli’s formula (1608–1647)
Maxime Nicolas
maxime.nicolas@univ-amu.fr
september–december 2016
3 CFD
Bonus stats:
Bonus number
0.0 1
0.2 8
0.4 11
0.6 19
0.8 13
1.0 2
Mean bonus is 0.55
�
→ →
+ ⇢∇ ⋅ �
u =0
D⇢
Dt
Momentum conservation equation:
D�
→
�
→
= ⇢�
→
g +∇⋅
u
⇢
Dt
with
= −pI + D
Newtonian fluids
The Navier-Stokes equation is the momentum conservation equation for
3D newtonian fluids:
linearity between shear stress and shear rate
D
id id
flu flu
m an
ha oni
ng wt
Bi ne
shear stress
gin
en
𝜂
ick
slope=viscosity
h
r-t
ea
shear-thinning
sh
.
inviscid fluid: idealized fluid of zero viscosity 𝛾
shear rate
tensor D
the divergence of D
We write D
� + + + �
@ux @ux @ux @uy @ux @uz
� �
@x @x @y @x @z @x
D = ⌘� + + + �
@uy @uy @uy @uy
� �
@ux @uz
@y @x @y @y @z @y
� + + + �
@ux @uz @uy @uz @uz @uz
@z @x @z @y @z @z
�→
and
( ∇ ⋅ D)x = ⌘(. . .)
�→
which is
( ∇ ⋅ D)x = ⌘ ux
and finally the divergence of D is
�
→
∇ ⋅D=⌘ �
→
u
@�
→
or
�
→ → �→
+ (�→
u ⋅ ∇ )�
u = ⇢�
→
g − ∇p + ⌘ � →
u
⇢ u
@t
� = ⌘2 �
@u @u
⌘1
@y y =0+ @y y =0−
velocity
fluid 1 and stress
continuity
fluid 2
Example of BC
�
→
Example: �
→
u = U solid at a solid non-deformable surface.
fluid
no-slip no-slip
condition condition
solid Usolid
Main classification:
plane cylindrical
Boundary-driven Example 1 Example 4
Pressure-driven Example 2 Example 3
Boundary-driven + pressure-driven WS6
Flow: �
→
u = ux (y ), no pressure gradient
Boundary conditions: � →
u = 0 at y = 0, �
→u = U at y = h
Solution:
ux (y ) = U , p = constant
y
h
moving plate
U
fixed plate
Flow: �
→
u = ux (y ), constant pressure gradient along x: @p�@x = K
Boundary conditions: �→u = 0 at y = 0 and at y = h
Solution:
ux (y ) = (y − h)y
1 dp
2⌘ dx
fixed plate
pressure gradient
p
p -
+
fixed plate
Flow: �
→
u = uz (r ), constant pressure gradient dp�dx = K
Boundary conditions: � →
u = 0 at r = R
r
u=0 on the boundary
pressure gradient z
p p
+ -
We need to write:
� ur @u@r + r @✓ + uz @z − r
� � 0 �
u✓ 2
u✓ @ur
�
→ �
@ur
�→ →
r
( u ⋅ ∇) u = �
� ur @r✓ + r✓ @✓✓ + uz @z✓ + rr ✓
@u u @u @u u u �=� 0 �
�
� ur @rz + r✓ @✓z + uz @zz
@u u @u @u � � 0 �
� @p
� � 0 �
�
→
∇p = � �=� 0 �
@r
� �
1 @p
� � � @p �
r @✓
@p
@z @z
�
@ 2 ur
+ r12 @@✓u2r + @@zu2r + 1r @u@r − r 2 @✓ − r 2 � � �
2 2
r 2 @u✓ ur
0
�
→
u =� �=�
@r 2
�
@ 2 u✓
+ r12 @@✓u2✓ + @@zu2✓ + 1r @u@r + r 2 @✓ − r 2 � �
2 2 u✓
✓ 2 @ur 0
� � � @uz �
�r @r �
@r 2
+ r12 @@✓u2z + @@zu2z + 1r @u
@ 2 uz 2 2
z
1 @
@r 2 @r r @r
Solution:
uz (r ) = − (R − r )
1 dp 2 2
4⌘ dz
r
u=0 on the boundary
pressure gradient z
p p
+ -
uz (r ) = − (R − r )
1 dp 2 2
4⌘ dz
flow-rate through the pipe:
q = � udS = 2⇡ � uz (r )r dr = −
R ⇡ dp 4
R
s 0 8⌘ dz
mean velocity:
ū = =−
q 1 dp 2
R
⇡R 2 8⌘ dz
Because of the non-slip condition on the wall, the fluid exerts a stress on
the wall. The local shear stress at r = R is
= �⌘ �
@uz
@r r =R
Then the total viscous force on a pipe of length L is
Fv = � dz2⇡R dz = 2⇡LR × = ⇡R 2 L
L R dp dp
0 2 dz dz
R2
velocity field:
�
→
u = (ur ,u✓ ,uz )
Mass conservation eq.:
�
→ →
∇ ⋅�
u =0= + +
@ur 1 @u✓ @uz
@r r @✓ @z
�
→
u = (0,u✓ (r ),0)
NS:
0 = −
@p
@r
@ 1 @(ru✓ )
0 = − +⌘ � �
1 @p
r @✓ @r r @r
⇢g = −
@p
@z
with BC:
u✓ (R1 ) = ⌦R1 and u✓ (R2 ) = 0
CFD
0 = −⇢g −
dp
dz
pi+1 = pi − ⇢gdz
BC : p = patm at z = 0
CFD softwares
home-made codes
open-source codes
commercial softwares
Autodesk CFD
ComSol
Fluent
StarCCM+
...
Maxime Nicolas
maxime.nicolas@univ-amu.fr
september–december 2016
4 Sedimentation
Hypothesis:
very low Reynolds numbers Re → 0
steady flow: @ �
→
u �@t = 0
Within this frame , the NS equation reduces to
�
→
0 = ⇢�
→
g − ∇p + ⌘ �
→
u
�
→
The stokes equation ∇ p ′ = ⌘ �
→
u has 4 interesting properties:
1 Unicity of the solution
2 Linearity
3 Reversibility
Assume that the BC are known (either at infinite or at finite distance from
an interface).
If (�
u→1 ,p1′ ) is a solution and (�
u→2 ,p2′ ) is another solution, it can be proved
that
(�u→1 ,p1′ ) = (�
u→2 ,p2′ )
meaning that the solution is unique.
Linearity
The flow
( �
→+ �
→, ′
+ ′
1 u1 2 u2 1 p1 2 p2 )
Reversibility
le
llu
ce
flagelles
Swimming at low Re
It can be proved that the solution of the Stokes equation (for a given set
of BC) is the flow which minimizes the loss of energy.
In 1853, G. Stokes derived the exact expression for the drag force of a
sphere moving at velocity U0 in a viscous fluid at rest (or the drag force of
a steady sphere in flow of velocity U0 far from the sphere).
�
→ �→
F Stokes = −6⇡⌘a U 0
U
0
r
Problem formulation
�
→
Solve
∇ p′ = ⌘ �
→u
�
→ �
∇⋅→ u =0
in spherical coordinates
with BC :
�
→
u = 0 at the sphere surface r = a
�
→ �
→
u = U 0 far from the sphere (r → ∞)
1] Flow symmetry:
� ur (r ,✓) �
�
→
u = � u✓ (r ,✓) � , p ′ = p ′ (r ,✓)
� 0 �
ur = u✓ = −
1 @ 1 @
,
r 2 sin ✓ @✓ r sin ✓ @r
which gives
= 2 (Z ), =− (Z )
@p ⌘ @ @p ⌘ @
@r r sin ✓ @✓ @✓ r sin ✓ @r
with an operator
@ 2 sin ✓ @
Z≡ + 2 � �
1 @
@r 2 r @✓ sin ✓ @✓
@4f 2
− 2 @
+ 8r − 8f = 0
@f
r4 4
4r 2
@r @r @r
With the test solution f = r k , the characteristic polynome is
or
(k − 1)(k − 2)(k + 1)(k − 4) = 0
So that
f (r ) = + Br + Cr 2 + Dr 4
A
r
M. Nicolas (Polytech Marseille GC3A) Fluid mechanics september–december 2016 20 / 34
Drag force on a sphere
a3 3ar r 2
= U0 � − + � sin2 ✓
4r 4 2
a3 3a a3 3a
ur = U0 � − + 1� cos ✓, u✓ = U0 � − − 1� sin ✓
2r 3 2r 4r 3 4r
⌧r ✓ = −⌘ �r � �+ �
@ u✓ 1 @ur
@r r r @✓
and the shear force
�
→ �→
F Stokes = −6⇡⌘a U 0
and this is the (long) way to prove the Stokes drag force !
Sedimentation
What is sedimentation
Sedimentation occurs in
geophysical flows
transport then settling of particles in rivers
industrial mixtures
building materials (concrete)
Sedimentation
Motion equation:
d 2z
= − ⇡a3 (⇢p − ⇢)g − 6⇡⌘a
4 dz
m
dt 2 3 dt
or
= − ⇡a3 (⇢p − ⇢)g − 6⇡⌘aU
4 3 dU 4
⇡a ⇢p
3 dt 3
or
⇢p − ⇢
= −� �g −
dU 9 ⌘
U
dt ⇢p 2 a2 ⇢p
Sedimentation
ML−1 T −1
� � = = T −1
⌘
a2 ⇢p L2 ML−3
⇢p − ⇢
= −� �g −
dU U
dt ⇢p T
Sedimentation
2 (⇢p − ⇢)a2 g
U = −UStokes (1 − e−t�T ), UStokes =
9 ⌘
= 0< <1
volume occupied by the particles
,
total volume
Us = UStokes F ( )
F ( ) = (1 − )n
When the vessel is inclined (even slightly), the settling velocity of the
particles is enhanced.
back-flow
channel
Maxime Nicolas
maxime.nicolas@univ-amu.fr
september–december 2016
4 Practical cases
Pumping concrete
Vertical coating
5 Homework 2016
Stress-strain relation
D
id id
flu flu
m an
ha oni
ng wt
Bi ne
shear stress
gin
en
𝜂
ick
h
slope=viscosity
r-t
ea
shear-thinning
sh
.
inviscid fluid: idealized fluid of zero viscosity 𝛾
shear rate
Power-law fluids
⌧ = k ˙n
Depending on the exponent n, the behavior is
n < 1 Shear-thinning fluids (shampoo, paint)
n = 1 newtonian fluids (air, water, honey)
n > 1 Shear-tickenning fluids
In general
⌧ = ⌧0 + F ( ˙ )
means that a minimal stress must be applied to trigger the motion.
⌧ = ⌧0 + ⌘app ˙
D�
→
�
→
= ⇢�
→
g +∇⋅ , = −pI + D
u
⇢
Dt
D� →
or
�→ �
→
= − ∇ p′ + ∇ ⋅ D
u
⇢
Dt
For any steady and parallel flow, one can write a balance between the
pressure gradient and the shear stress
�
→ �
→
∇ p′ = ∇ ⋅ D
Flow in a pipe
For a cylindrical pipe, the force balance for a cylindrical element of fluid is
p ′ ⇡r 2 = −2⇡rdx⌧
dx
R
r
p' p'+p'
r p′
⌧ =− = −K
r
2 x 2
For r = R, ⌧ (R) = ⌧w , so that
=
⌧ r
⌧w R
M. Nicolas (Polytech Marseille GC3A) Fluid mechanics september–december 2016 11 / 33
The Rabinovitch-Mooney formula
Flow in a pipe
The flow-rate
Q =� 2⇡ruz (r )dr
R
0
can be expressed as
Q = ⇡ �r 2 uz (r )�0 − ⇡ �
R R duz
r2 dr
0 dr
The first term is zero, then, using
˙ =− r =R
duz ⌧
,
dr ⌧w
⌧ 2
Q = ⇡� �R � ˙ d �R �
R ⌧
0 ⌧w ⌧w
Finally,
⇡R 3
Q= ⌧ 2 ˙ (⌧ ) d⌧
⌧w
3 �
⌧w 0
known as the Rabinovitch-Mooney formula, valid for any rheology.
newtonian: ˙ = ⌧
⌘
power-law fluid: ˙ = � K⌧ �
1�n
Herschel-Bulkley : ˙ = � ⌧ −⌧ �
0
1�n
K
many other models . . .
⌧w = −K
R
2
˙ (⌧ ) =
⌧
⌘
We find
Q =−
⇡
KR 4
8⌘
as in Lecture #6 (p. 23)
Bingham rheology
⌧ = ⌧0 − ⌘app
duz
dr
We assume there exists a radius r0 which separates a shear zone (⌧ > ⌧0 )
and a non-shear zone (⌧ < ⌧0 ) with
⌧ (r0 ) = ⌧0
−K = ⌧0 − ⌘app
r duz
2 dr
easily integrated to get uz (r )
BC:
at the wall: uz (R) = 0
at r = r0 = − 2⌧
K : ⌧ = ⌧0
0
uz (r ) = �⌧0 (r − R) + (r − R 2 )� , r > r0
1 K 2
⌘app 4
Limit cases
In the limit of ⌧0 → 0, the Poiseuille flow is found.
Flow rate
⇡R 3
Q= ⌧ 2 ˙ (⌧ ) d⌧
⌧w
�
⌧w3 0
⌧w = −K
R
2
with a Bingham rheology
˙ (⌧ ) = (⌧ − ⌧0 )
1
⌘app
We find
⇡R 3 ⌧0 KR
Q =− � + �
⌘app 3 8
Practical cases
Concrete pump
Pump specifications:
Concrete rheology:
⌧0 = 200 Pa, ⌘app = 400 Pa⋅s
Vertical coating
A vertical fluid coating is applied on a vertical wall:
z
y
0 h
fluid of rheology ⌧ ( ˙ )
no stress at the free surface ⌧ (y = h) = 0
no-slip condition at the wall: uz (y = 0) = 0
M. Nicolas (Polytech Marseille GC3A) Fluid mechanics september–december 2016 24 / 33
Practical cases Vertical coating
Vertical coating
z
(y+dy)
(y)
dz
W
y
0 h
= −⇢g
d⌧
dy
M. Nicolas (Polytech Marseille GC3A) Fluid mechanics september–december 2016 25 / 33
Practical cases Vertical coating
Vertical coating
⌧ (y ) = ⇢g (h − y )
Bingham rheology:
If ⌧max < ⌧0 (or h < h0 ), the fluid is at rest (no flow)
If ⌧max > ⌧0 (or h > h0 ), the fluid flows downwards.
Vertical coating
Bingham rheology:
⌧ = ⌧0 + ⌘ = ⇢g (h − y )
duz
dy
integrates to
uz (y ) = �⇢g �h − � − ⌧0 �
y y
⌘ 2
with a BC uz (0) = 0
Maximum velocity uzM is reached at
y0 = h − = h − h0
⌧0
⇢g
and is
uzM = (h − h0 )2
1 ⇢g
2 ⌘
Vertical coating
Homework 2016
S
L
hT
Rc hs
zR
z
B
hb
x
O b/2
a oil
(a) (b)
Advices
Maxime Nicolas
maxime.nicolas@univ-amu.fr
september–december 2016
Porous material
=
volume occupied by the solid
total volume
Porosity:
"=1− =
volume occupied by the fluid
total volume
Darcy’s law
p'+𝛥p' p'
p′
Q =− A
k
⌘ L
with k the intrinsic permeability.
or
k p′
ū = =−
Q
A ⌘ L
by Henri Darcy (1803–1858).
M. Nicolas (Polytech Marseille GC3A) Fluid mechanics september–december 2016 6 / 22
Flow in porous media Darcy’s law
Permeability
⇡ p′ 4
Q =− a
8⌘ L
Ltube = ⌧ × Lsample
L tube
L sample
" a2
k=
⌧ 8
2a1 2a2
L1 L2
1. Parallel permeabilities
=− =−
Q1 k1 p Q2 k2 p
,
A1 ⌘ L A2 ⌘ L
Total flow rate:
Q = Q1 + Q2 = −(k1 A1 + k2 A2 )
p
⌘L
E↵ective permeability:
kparallel = � � k1 + � � k2
A1 A2
A1 + A2 A1 + A2
2. Serial permeabilities
=− =−
Q k1 p1 Q k2 p2
,
A ⌘ L1 A ⌘ L2
Total pressure drop:
Q L1 + L2
p= p1 + p2 = − ⌘
A kserial
E↵ective permeability:
L1 + L2
kserial = L1
k1 + L2
k2
If k1 � k2 ,
kparallel ≈
A1
A1 + A2
k1
L1 + L2
kserial ≈ k2
L2
the flow is governed by the smaller permeability
Q
2
Q Q
1 1
z
H soil sample
2R
Darcy:
Q1 = ⇡R 2
k p
⌘ H
Pressure drop:
p = ⇢g z
Intrinsic permeability:
k=
⌘ Q1 H
⇢g ⇡R 2 z
or hydraulic permeability
K=
⇢g
k
⌘
Hydraulic permeability
K=
⇢g
k
⌘
Dimension:
[⇢][g ][k]
[K ] = = L ⋅ T −1
[⌘]
Unit: K in m⋅s−1 (as a velocity)
h0 u
h(x)
x
ū = − = ⇢g
k dp dp dh
,
⌘ dx dx dx
h0 u
h(x)
x
k⇢g d[h2 ]
=� ū dz = −
Q h(x)
L 0 2⌘ dx
the free surface of water in the dam is
�
h(x) = h02 −
2⌘ Q
x
k⇢g L
h0 u
h(x)
x
0 x*
x∗ =
k⇢g L 2
h
2⌘ Q 0
Maxime Nicolas
maxime.nicolas@univ-amu.fr
september–december 2016
1 Capillary e↵ects
2 Course summary
3 Open discussion
Capillary e↵ects
Jurin
The rise of the liquid in the tube follows a law established by Jurin:
h=
2 cos ✓
R⇢g
where
is the interfacial tension between liquid and air
✓ is the wetting angle between liquid and tube material
R is the tube radius
superficial tension
Superficial tension
Contact angle
𝛳<90° 𝛳>90°
𝛳 𝛳 𝛳
hydrophilic hydrophobic
Hydrophobic glass
Course summary
4 relevance of hydrostatics
6 boundary conditions
General equations
D�
→
�
→
= ⇢�
→
g +∇⋅ , = −pI + D
u
⇢
Dt
The tensor D expresses the rheology of the fluid
Navier-Stokes equation
velocity
fluid 1 and stress
continuity
fluid 2
fluid
no-slip no-slip
condition condition
solid Usolid
Poiseuille flow:
r
u=0 on the boundary
pressure gradient z
p p
+ -
uz (r ) = − (R − r )
1 dp 2 2
4⌘ dz
Q =−
⇡ dp 4
R
8⌘ dz
fixed plate
pressure gradient
p
p -
+
fixed plate
ux (y ) = (y − h)y
1 dp
2⌘ dx
Couette flow:
moving plate
U
fixed plate
ux (y ) = U , p = constant
y
h
⇢v + ⇢gz + p = C
1 2
2
Stress-strain relation
D
id id
flu flu
m an
ha oni
ng wt
Bi ne
shear stress
gin
en
𝜂
ick
h
slope=viscosity
r-t
ea
shear-thinning
sh
.
inviscid fluid: idealized fluid of zero viscosity 𝛾
shear rate
Finally,
⇡R 3
Q= ⌧ 2 ˙ (⌧ ) d⌧
⌧w
�
⌧w3 0
known as the Rabinovitch-Mooney formula, valid for any rheology.
newtonian: ˙ = ⌧
⌘
power-law fluid: ˙ = � K⌧ �
1�n
Bingham fluid: ˙ = ⌧ −⌧
⌘
0
Open discussion