Académique Documents
Professionnel Documents
Culture Documents
Introduction to Fluid
Dynamics
A Course 2015
Compiled by:
Triloka Tankala, Srinivas PN
1
Course Overview EEDP - A Course
Fundamental Concepts
Concept of a fluid
Properties of a fluid
Types of Fluids
Compressibility
Fluid Mechanics Overview
Fluid Mechanics Principles
Bernoulli equation
Pitot-Probe
Internal and external flows
Laminar and Turbulent flows
Drag and Lift
Homework Problem
2
EEDP - A Course
Concept of a Fluid
Fluids are either liquids (closely spaced
molecules) or gases (widely spaced molecules)
3
Properties of a Fluid EEDP - A Course
Pressure
Pressure is the (compression) force exerted by a fluid per unit
area.
4
Density and specific weight EEDP - A Course
m
Density (mass per unit volume):
V
[m] kg
Units of density: [ ] 3 (in SI units)
[V ] m
6
Ideal Gas Law EEDP - A Course
7
Ideal Gas Hypothesis EEDP - A Course
8
EEDP - A Course
Specific heat
Specific heat at constant volume, cv: The energy required to raise
the temperature of the unit mass of a substance by one degree as
the volume is maintained constant.
Specific heat at constant pressure, cp: The energy required to
raise the temperature of the unit mass of a substance by one degree
as the pressure is maintained constant.
Constant volume
and
Constant pressure
specific
heats cv and cp
Specific heat is the energy (values are for
required to raise the helium gas).
temperature of a unit mass
of a substance by one
degree in a specified way.
9
Viscosity ( ) EEDP - A Course
Stationary plate
No-slip Shear
condition
stress
The behavior of a fluid in laminar flow Shear force
between two parallel plates when the
upper plate moves with a constant velocity.
[F] N
2 Pa ( Pascal ) in SI units
[ A] m
[ F ] lb
2 psi ( pounds per square inch) in English units
[ A] in
[ F ] lb
2 pounds per square foot ( English units)
[ A] ft
12
Viscosity variation with temperature EEDP - A Course
Non-Newtonian fluid
Newtonian fluid (linear
(duetovis cosity) relationship)
Non-Newtonian fluid
(non-linear relationship)
du / dy
14
Flow Patterns: Streamlines, Pathlines, EEDP - A Course
Streaklines
A streamline is a line that
is everywhere tangent to
the velocity vector at a
given instant.
Fluid motion is driven by (pressure) forces acting on the fluid elements. High
speed flows generally have higher forces => they act more compressible
Mach
Subsonic Supersonic Hypersonic Number
0.0 0.8 1.0 1.2 ~5.0 25
Transonic
Airplanes
Space Shuttle/
Space Exploration Automobile
Fluid Mechanics
Study of fluids either in
motion (fluid dynamics)
or at rest (fluid statics)
Wind Turbines
Breathing/
Blood Flow
Gas
Turbine
Swimming
18
Ships
Overview of Fluid Mechanics EEDP - A Course
Inviscid Viscous
(=0)
Laminar Turbulent
19
Bernoulli’s Principle EEDP - A Course
A1 A1
A2
v2
v1 v1
Low speed high speed Low speed
Low KE high KE Low KE
High pressure low pressure High pressure
20
Bernoulli’s Principle EEDP - A Course
p large p large
p small
p + ½ v2 + g y = constant
Dimensions
p [Pa] = [N.m-2] = [N.m.m-3] = [J.m-3]
22
Bernoulli’s Equation: Application EEDP - A Course
Y x2 p2
m A2
v2
X
time 2
p1 x1
y2
A1 m
v1
y1 time 1
p1 + ½ v12 + g y1 = p2 + ½ v22 + g y2
23
Bernoulli’s Equation: Pipes in series EEDP - A Course
Difference in Head
24
Application: Pitot-Probe EEDP - A Course
Bernoulli’s equation is the basis for a device used to measure air velocity:
the Pitot-Probe Henri Pitot (1695 – 1771)
1 1 • French hydraulic engineer and inventor
p1 u12 p2 u22 •
•
Began his career as a mathematician and astronomer
Won election to the Academy of Sciences in 1724.
2 2 • Became interested in the problem of flow of water in rivers
and canals and discovered that much contemporary theory
was erroneous
At point 1: u1 = 0 (stagnation point) and p1 • Invented Pitot-probe during water flow measurements on
the river Seine in Paris
At point 2: u2 and p2
p1 p2
u2 2
25
Example : Pitot-Probe EEDP - A Course
An airplane is flying at standard sea level. The measurement obtained from a Pitot
tube mounted on the wing tip reads 2190 lb/ft2. What is the velocity of the airplane?
The standard sea level pressure is 2116 lb/ft2 and the density is 0.002377 lb sec2/ft4
p1 p2
u2 2
ft
V ?
sec
26
Internal versus External Flow EEDP - A Course
L
u v
0
x y Boundary conditions: Flow over a flat plate
y
1, 1
u vD
Velocity u/U is a cubic of y/ Reynolds Number, Re
3
U
(Approximate Integral Solution) 3 y 1 y y
1
2 2
5
Boundary layer thickness, 5
x Re U x
x
A fluid in direct contact with a solid “sticks” to the
surface due to viscous effects, and there is no slip 28
Internal flows EEDP - A Course
Reynolds Number, Re
vD
Viscous flow in Ducts
0 < Re < 1 : highly viscous laminar creeping motion
1 < Re < 100 : laminar, strong Re dependence
100 < Re < 10
3 : laminar, boundary layer theory useful
3
10 < Re < 10
4 : transition to turbulence
4
10 < Re < 10
6 : turbulent, moderate Re dependence
6
10 < Re < infinity : turbulent, slight Re dependence
For Circular Pipe flows: Laminar Re < 2100, Turbulent > 4000
Entry Length
Viscous boundary layers grow downstream
At a finite distance from entrance (Le), the boundary layers
merge and the inviscid core disappears
No change in axial velocity after x = Le
29
Laminar vs. Turbulent Flow EEDP - A Course
30
Application: Turbulent Pipe Flows EEDP - A Course
turbulent
31
Application: Pipe Flows EEDP - A Course
Turbulent Flow:
hf f
avg
(f = friction factor)
D 2g
Must calculate the Reynolds Number, Re, and the relative roughness, e/D, of
the surface
Charts of the relative roughness for pipes of common engineering materials are
available
32
Application: Pipe Flows EEDP - A Course
It turns out that a turbulent velocity profile is very flat in the center and
drops off sharply to zero at the wall
laminar
turbulent
33
Laminar Vs. Turbulent flow EEDP - A Course
34
Airfoils: Drag and Lift EEDP - A Course
• Note ‘messy’ or
turbulent flow pattern
Spoiler • High drag
• Lower fuel efficiency
• Spoiler angle
increased by + 5°
• Flow behavior more
closely resembles a
laminar flow
• Tremendous Fuel
savings
36
Airfoil shape EEDP - A Course
38
EEDP - A Course
Break
39
EEDP - A Course
U 0
DU 1
p 2 U ui u j
Dt Re
40
EEDP - A Course
Analytical Fluid Dynamics (AFD)
41
EEDP - A Course
Analytical Fluid Dynamics
Definition:
Use of experimental methodology and procedures for solving fluids engineering
systems, including full and model scales, large and table top facilities,
measurement systems (instrumentation, data acquisition and data reduction),
uncertainty analysis, and dimensional analysis and similarity.
EFD philosophy:
• Decisions on conducting experiments are governed by the ability of the
expected test outcome, to achieve the test objectives within allowable
uncertainties.
• Integration of UA into all test phases should be a key part of entire
experimental program
– test design
– determination of error sources
– estimation of uncertainty
– documentation of the results
43
Applications of EFD EEDP - A Course
44
Computational Fluid Dynamics (CFD) EEDP - A Course
45
Purpose EEDP - A Course
46
EEDP - A Course
CFD Modeling
47
Does CFD Simulate the Flow Reality…..EEDP - A Course
48
Domain Discretization EEDP - A Course
49
Discretization Approximation.. EEDP - A Course
50
EEDP - A Course
Actual Solution
CFD Solution
Discretization Locations
52
Approximations in Boundary Conditions..
EEDP - A Course
53
An Example of Boundary Conditions EEDP - A Course
Approximation
Inconsistency
Uniform Inlet Profile Demands Finite Velocity at Wall
Presence of Wall Demands Zero Velocity Due to No-Slip
54
Discretization of Equations- Techniques EEDP - A Course
56
Domain Discretization - Example EEDP - A Course
Nodes
57
Discretization of Equations: EEDP - A Course
Taylor Series
• Once the domain is discretized, the equation also
needs to be discretized, or converted into discrete
form over a number of points.
• The Taylor Series is given below:
df d 2 f (x) d n f (x) n
f ( x x) f ( x) (x) 2 ......... n
dx dx 2 dx n!
58
Discretization of Equations: EEDP - A Course
Taylor Series
• Approximate derivatives:
u u u
i 1 i 1
– Central x i 2 x
u ui ui 1
– Backward x i x
u ui 1 ui
– Forward x i x
59
Fluid element and properties EEDP - A Course
t
x j
u j 0
Mass Inflow Mass Outflow
61
EEDP - A Course
Momentum Conservation
( ui )
t
x j
u j ui
x j
ij
p
x j
gi
Surface Forces
62
EEDP - A Course
Momentum Conservation contd..
Typical Assumptions
ui
Newtonian Fluid:ij
x j
Non-Buoyant Flow : gi 0
63
Energy Conservation EEDP - A Course
T
( h )
t
x j
u j h k
x j x j
S
Energy Source
Rate of Change in Energy
Energy Work Done
Added (Viscous Dissipation)
Energy In - Energy Out
Enthalpy h Defined as : h m CpT H where H is the Heat of Formation
m is Mass Fraction
1 T
Cp CpT
(T Tref ) Tref
For Non-Reacting Flows, H = 0. Thus, h m Cp T
64
Components in CFD EEDP - A Course
Mathematical Model
Discretization Method
Coordinate System
Numerical Grid
Numerical scheme
Solution Method
Convergence Criteria
65
Boundary Conditions Overview EEDP - A Course
66
Flow Inlets and Outlets EEDP - A Course
• General guidelines:
– Select boundary location and shape such that flow either goes in or
out. Not mandatory, but will typically result in better convergence.
– Should not observe large gradients in direction normal to boundary
near inlets and outlets. This indicates an incorrect problem
specification.
– Minimize grid skewness near boundary.
67
Other inlet and outlet boundary EEDP - A Course
conditions
• Mass flow inlet.
– Used in compressible flows to prescribe mass flow rate at inlet.
– Not required for incompressible flows.
• Pressure far field.
– Available when density is calculated from the ideal gas law.
– Used to model free-stream compressible flow at infinity, with free
stream
Mach number and static conditions specified.
• Exhaust fan/outlet vent.
– Model external exhaust fan/outlet vent with specified pressure
jump/loss coefficient and ambient (discharge) pressure and
temperature.
• Inlet vent/intake fan.
– Model inlet vent/external intake fan with specified loss coefficient/
pressure jump, flow direction, and ambient (inlet) pressure and
temperature.
68
Symmetry boundaries EEDP - A Course
69
Pressure boundary conditions EEDP - A Course
70
Material Properties EEDP - A Course
Temperature dependent?
Pressure dependent?
What physics? Density variation?
71
Mathematical Model EEDP - A Course
72
Discretization Method EEDP - A Course
73
Numerical Grid EEDP - A Course
74
Numerical methods EEDP - A Course
Increase in level of
Complexity
• Relevant turbulence
model based on Physics
• No Universal turbulence
model
• Tradeoff: Computational
time Vs. Accuracy
enhancement
76
Convergence Monitors – Residuals EEDP - A Course
• Residual plots show when the residual values have reached the specified
tolerance.
All equations
converged.
10-3
10-6
77
Temperature rise analysis Roadmap EEDP - A Course
78
Modeling (examples) EEDP - A Course
Boundary Numerical
Conditions Scheme
Initial
Conditions
80
Commercial software EEDP - A Course
• CFD software
1. FLUENT: http://www.fluent.com
2. FLOWLAB: http://www.flowlab.fluent.com
3. CFDRC: http://www.cfdrc.com
4. STAR-CD: http://www.cd-adapco.com
5. CFX/AEA: http://www.software.aeat.com/cfx
• Grid Generation software
1. Gridgen: http://www.pointwise.com
2. GridPro: http://www.gridpro.com
• Visualization software
1. Tecplot: http://www.amtec.com
2. Fieldview: http://www.ilight.com
81
CFD Applications with various types EEDP - A Course
Multiphase Aerodynamics
Acoustics
83
“Hands-on” experience using CFD (airfoil template) EEDP - A Course
84
EEDP - A Course
THANK YOU
85
EEDP - A Course
Appendix
86
Comparison between FEM and FVM EEDP - A Course
for CFD
FEM FVM
Solves both structural mechanics and Is used only for flow/thermal problems
flow/thermal problems
Equations are discretized over a number of Governing equations are solved over
points discrete control volumes (CV)
More stable compared to FVM Less stable, convergence can sometimes
require manipulation
Requires high amount of memory, limits Requires less memory, a mesh with up to 5
solution of large flow domains million CVs can be solved on a PC
Is capable of solving cases involving Schemes for FVM based FSI have been
Fluid–Solid Interaction (FSI) devised, but are difficult to implement
Solves non-Newtonian fluid flow (e.g., Can solve non-Newtonian fluids, but not as
plastic flow in molds) much better than effective as FEM
FVM
Discretizes conservative form of equations Recasts and discretizes integral form of
equations
87
Mass balance EEDP - A Course
• Rate of increase of mass in fluid element equals the net rate of flow of
mass into element.
( xyz) xyz
• Rate of increase is: t t
• The inflows (positive) and outflows (negative) are shown here:
( w) 1
w . z x y
z 2
( v) 1
v . y x z
y 2
( u ) 1
( u ) 1 u . x y z
u . x yz x 2
x 2
( v) 1
v . y xz
z y 2
y
( w) 1
x
w . z xy
z 2
88
Continuity equation EEDP - A Course
89
Rate of change for a fluid particle EEDP - A Course
91
EEDP - A Course
Viscous stresses
92
Forces in the x-direction EEDP - A Course
zx 1
( zx . z )yz yx 1
yx 1 z 2 ( yx . y )xz
( yx . y )xz y 2
y 2
p 1 p 1
( p . x)yz ( p . x)yz
x 2 x 2
xx 1 xx 1
( xx . x)yz ( xx . x)yz
x 2 x 2
z
zx 1
y
( zx . z )xy
x z 2
Net force in the x-direction is the sum of all the force components in that direction.
93
Momentum equation EEDP - A Course
95
Work done by surface stresses in x- EEDP - A Course
direction
(u zx ) 1
(u zx . z )yz
(u yx ) 1 z 2 (u yx ) 1
(u yx . y )xz (u yx . y )xz
y 2 y 2
(up) 1
(up . x)yz (up) 1
x 2 (up . x)yz
x 2
(u xx ) 1
(u xx . x)yz (u xx ) 1
x 2 (u xx . x)yz
x 2
(u zx ) 1
y
x (u zx . z )xy
z 2
Work done is force times velocity.
96
Work done by surface stresses EEDP - A Course
97
Energy flux due to heat conduction EEDP - A Course
q z 1
q y 1 (q z . z )xy
(q y . y )xz z 2
y 2
q x 1 q x 1
(q x . x)yz (q x . x)yz
x 2 x 2
z
y
x
q z 1 q y 1
(q z . z )xy (q y . y )xz
z 2 y 2
The heat flux vector q has three components, qx, qy, and qz. 98
Energy flux due to heat conduction EEDP - A Course
• Summing all terms and dividing by xyz gives the net rate of heat
transfer to the fluid particle per unit volume:
q x q y q z
div q
x y z
• Fourier’s law of heat conduction relates the heat flux to the local
temperature gradient:
T T T
qx k qy k qz k
x y z
99
Energy equation EEDP - A Course
100
References EEDP - A Course
101