Professional Documents
Culture Documents
Fluid Flow
Ibrahim Sezai
Department of Mechanical Engineering
Eastern Mediterranean University
Spring 2005-2006
Objectives
1. Understand how the differential equations of
mass and momentum conservation are
derived.
2. Calculate the stream function and pressure
field, and plot streamlines for a known velocity
field.
3. Obtain analytical solutions of the equations of
motion for simple flows.
1
Introduction
Recall
Chap 5: Control volume (CV) versions of the laws of conservation of
mass and energy
Chap 6: CV version of the conservation of momentum
CV, or integral, forms of equations are useful for determining
overall effects
However, we cannot obtain detailed knowledge about the flow
field inside the CV motivation for differential analysis
Introduction
Example: incompressible Navier-Stokes equations
We will learn:
Physical meaning of each term
How to derive
How to solve
2
Introduction
For example, how to solve?
Step Analytical Fluid Dynamics Computational Fluid Dynamics
(Chapter 9) (Chapter 15)
1 Setup Problem and geometry, identify all dimensions and
parameters
2 List all assumptions, approximations, simplifications, boundary
conditions
3 Simplify PDEs Build grid / discretize PDEs
Conservation of Mass
Recall CV form (Chap 5) of the conservation of
mass equation from Reynolds Transport
Theorem (RTT)
3
Conservation of Mass: Divergence Theorem
Divergence theorem allows us to transform a
volume integral of the divergence of a vector
into an area integral over the surface that
defines the volume.
G G G
Divergence of G is defined as G
Divergence theorem:
4
Conservation of Mass: Differential CV and Taylor series
First, define an
infinitesimal control
volume dx dy dz
Next, we approximate
the mass flow rate into
or out of each of the 6
faces using Taylor
series expansions
around the center point,
e.g., at the right face Ignore terms higher than order dx
5
Conservation of Mass: Differential CV and Taylor series
Now, sum up the mass flow rates into and out
of the 6 faces of the CV
Net mass flow rate into CV:
6
Conservation of Mass: Alternative form
Use product rule on divergence term
7
Conservation of Mass: Cylindrical coordinates
Cartesian
Cylindrical
8
Conservation of Mass: Special Cases
Incompressible flow
and = constant
Cartesian
Cylindrical
Conservation of Mass
In general, continuity equation cannot be used
by itself to solve for flow field, however it can
be used to
1. Determine if velocity field is incompressible
2. Find missing velocity component
9
The Stream Function
Consider the continuity equation for an incompressible 2D
flow
u
+ =0
x y
Substituting the clever transformation
Gives
10
The Stream Function: Physical Significance
Recall from Chap. 4 that
along a streamline
Change in along
streamline is zero
Difference in between
streamlines is equal to
volume flow rate between
streamlines
11
Proof:
Consider the CV shown in the figure:
Unit normal vector is
G dy G dx G
n= i j
ds ds
Volume flow rate per unit width
through ds is
G G G G dy G dx G
N = ( ui + vj ) . i
dV = V . n dA j ds
ds ds ds
dV = udy vdx = dy + dx = d
y x
Flow rate through slice B is
G G = 2
VB = V . n dA = dV = d = 2 1
B B =1
12
The Stream Function in Cylindrical Coordinates
Continuity eq. for incompressible flow in 3D is
1 (ru r ) 1 (u ) (u z )
+ + =0
r r r z
For 2D flow in r-plane:
(ru r ) (u )
+ =0
r
We define the stream function as:
Incompressible, planar stream function in cylindrical
coordinates:
1
ur = u =
r r
ME353 : Fluid Mechanics 25 Chapter 9: Differential Analysis
1 1
ur = and uz =
r z r r
ME353 : Fluid Mechanics 26 Chapter 9: Differential Analysis
13
The Compressible Stream Function
Body Surface
Force Force
ij = stress tensor
14
Conservation of Linear Momentum
Substituting volume integrals gives,
x-momentum equation:
G G
F =F
x x , body
+ F x , surface =
CV t
( u )dV + mu
out
mu
in
(9-38)
As the CV shrinks to a point: ( u ) dV ( u ) dx dy dz (9-39)
t t
m u m u x (uu ) + y (vu ) + z (wu ) dx dy dz (9-40)
out in
ME353 : Fluid Mechanics 30 Chapter 9: Differential Analysis
15
Next, we sum all the forces acting
in x-direction:
Only body force is gravity force
If coordinate system is not aligned
with z-axis, then
G G G G
g = g xi + g y j + g z k
F x , body = Fx , gravity g x dx dy dz
(9-41)
F x , surface x x + y x + z x dx dy dz
x y z
(9-42)
16
We obtain the x-momentum equation:
( u ) ( uu ) ( vu ) ( wu )
+ + + = gx + xx + yx + zx
t x y z x y z
Similarly y- and z-momentum equations becomes:
(v ) (uv ) (vv ) (wv )
+ + + = g y + x y + y y + z y
t x y z x y z
(w) (uw) (vw) (ww)
+ + + = g z + x z + y z + z z
t x y z x y z
(Chain Rule)
(9-50)
ME353 : Fluid Mechanics 34 Chapter 9: Differential Analysis
17
Expanding the last term of eq 9-50, the 3 components of
the Cauchys equation in Cartesian coordinates are
Du x x y x z x
x-component: = g x + + +
Dt x y z
Dv x y y y z y
y-component: = g y + + +
Dt x y z
Dw x z y z z z
z-component: = g z + + +
Dt x y z
18
Navier-Stokes Equation
First step is to separate ij into pressure and
viscous stresses
xx xy xz p 0 0 xx xy xz
ij = yx yy yz = 0 p 0 + yx yy yz
0 p zx
zx zy zz 0 zy zz
Viscous (Deviatoric)
Stress Tensor. It is
Situation not yet improved zero for a fluid at rest
6 unknowns in ij 6 unknowns in ij + 1 in P,
which means that weve added 1!
ME353 : Fluid Mechanics 37 Chapter 9: Differential Analysis
Navier-Stokes Equation
Reduction in the number
(toothpaste)
of variables is achieved
by relating shear stress
to strain-rate tensor.
(paint)
Newtonian closure is
analogous
Newtonian fluid includes most common
to Hookes Law for elastic
fluids: air, other gases, water, gasoline
solids
ME353 : Fluid Mechanics 38 Chapter 9: Differential Analysis
19
Navier-Stokes Equations
Substituting Newtonian closure into stress
tensor gives
Navier-Stokes Equation
Substituting ij into Cauchys equation gives the
Navier-Stokes equations
Incompressible NSE
written in vector form
20
Navier-Stokes Equation
In addition to vector form, incompressible N-S
equation can be written in several other forms
Cartesian coordinates
Cylindrical coordinates
Tensor notation
Continuity
X-momentum
Y-momentum
Z-momentum
21
Navier-Stokes Equations: Cylindrical Coordinates
Continuity equation: 1 (ru r ) 1 (u ) (u z )
+ + =0
r r r z
u u u u r u2 u
r-component r + ur r +
t r r
+ uz r
r z
P 1 u r u r 1 2 u r 2 u 2 u r
= + g r + r 2 + 2 + 2
r r r r r r 2 r 2 z
u u u u u u u
-component + u r + r + u z
t r r r z
1 P 1 u u 1 2 u 2 u r 2 u
= + g + r 2 + 2 + 2
r r r r r r 2 r 2 z
u u u u z u
z-component z + ur z +
t r r
+ uz z
z
P 1 u z 1 2 u r 2 u z
= + g z + r + 2 + 2
z r r r r
2
z
ME353 : Fluid Mechanics 43 Chapter 9: Differential Analysis
r r r rz
i j = r z
z z z
zr
u u 1 u r u u
2 r r + r + z
r r r r z r
u 1 u 1 u u r u 1 u z
= r + r
2 + +
r r r r r z r
u u u 1 u z u
r + z + 2 z
z r z r z
22
Navier-Stokes Equations: Tensor and Vector Notation
Tensor and Vector notation offer a more compact form of the
equations.
Continuity
Tensor notation Vector notation
Conservation of Momentum
Tensor notation Vector notation
23
Exact Solutions of the NSE
There are about 80 Solutions can also be
known exact solutions to classified by type or
geometry
the NSE
1. Couette shear flows
They can be classified 2. Steady duct/pipe flows
as: 3. Unsteady duct/pipe flows
Linear solutions where 4. Flows with moving boundaries
the convective 5. Similarity solutions
term is zero 6. Asymptotic suction flows
7. Wind-driven Ekman flows
Nonlinear solutions
where convective term is
not zero
24
Boundary conditions
Boundary conditions are critical to exact,
approximate, and computational solutions.
Discussed in Chapters 9 & 15
BCs used in analytical solutions are discussed
here
No-slip boundary condition
Interface boundary condition
These are used in CFD as well, plus there are
some BCs which arise due to specific issues in
CFD modeling. These will be presented in Chap.
15.
Inflow and outflow boundary conditions
Symmetry and periodic boundary conditions
25
Interface boundary condition
When two fluids meet at
an interface, the velocity
and shear stress must
be the same on both
sides
26
Example (Ex. 9-15): Fully Developed Couette Flow
For the given geometry and BCs, calculate the
velocity and pressure fields, and estimate the shear
force per unit area acting on the bottom plate
27
Example (Ex. 9-15): Fully Developed Couette Flow
Step 3: Simplify
Note: these numbers refer
to the assumptions on the
3 6 previous slide
Continuity
X-momentum
2 Cont. 3 6 5 7 Cont. 6
Y-momentum
2,3 3 3 3,6 3 3 3
p
= g
y
Z-momentum
2,6 6 6 6 7 6 6 6
p p = p( y)
=0
z
ME353 : Fluid Mechanics 56 Chapter 9: Differential Analysis
28
Example (Ex. 9-15): Fully Developed Couette Flow
Step 4: Integrate
X-momentum
integrate integrate
Y-momentum
dp
= g
integrate
p = gy + C3
dy
p( y ) = po gy 1. Hydrostatic pressure
2. Pressure acts independently of flow
29
Example (Ex. 9-15): Fully Developed Couette Flow
Step 6: Verify solution by back-substituting into
differential equations
Given the solution (u,v,w)=(Vy/h, 0, 0)
Continuity is satisfied
0+0+0=0
X-momentum is satisfied
30