SlideShare a Scribd company logo
SRES’s Sanjivani College of Engineering,
KOPARGAON
Content Beyond Syllabus (CBS)
on
COMPUTATIONAL FLUID DYNAMICS (CFD)
& ITS APPLICATIONS
Subject: FLUID MECHANICS
Class: S.E. (Mech)
FACULTY: PROF. Y. H. AHIRE
FLUID DYNAMICS
 Fluid dynamics is the science of fluid motion.
 Fluid flow is commonly studied in one of three ways:
• Experimental fluid dynamics.
• Theoretical fluid dynamics.
• Numerically: computational fluid dynamics (CFD).
CFD nicely and synergistically complements the other two approaches but
will never replace either of the two.
WHAT IS CFD?
 Computational fluid dynamics (CFD) is the science of predicting fluid flow,
heat transfer, mass transfer, chemical reactions, and related phenomena
by solving the mathematical equations which govern these processes
using a numerical process.
 The governing equations are based on conservation of mass, momentum,
energy, chemical species etc.
 The result of CFD analyses is relevant engineering data used in:
• Conceptual studies of new designs
• Detailed product development
• Troubleshooting
• Redesign
WHY USE CFD?
 CFD is an alternative to experiments that are expensive, time-consuming,
difficult, dangerous or impossible and also to theoretical methods which
can tackle only simplied cases.
 CFD complements experiments and theory.
 CFD is used for design & development, for research and in education.
 The use of CFD has steadily increased in design; currently upto 40%.
APPLICATIONS OF CFD
. Where is CFD used?
• Aerospace
• Automotive
• Biomedical
• Chemical
Processing
• HVAC
• Hydraulics
• Marine
• Oil & Gas
• Power Generation
• Sports
F18 Store Separation
Temperature and natural
convection currents in the eye
following laser heating.
Aerospace
Automotive
Biomedical
APPLICATIONS…
.
Polymerization reactor vessel - prediction
of flow separation and residence time
effects.
Streamlines for workstation
ventilation
 Where is CFD used?
• Aerospacee
• Automotive
• Biomedical
• Chemical Processing
• HVAC
• Hydraulics
• Marine
• Oil & Gas
• Power Generation
• Sports
HVAC
Chemical Processing
Hydraulics
APPLICATIONS…
. Where is CFD used?
• Aerospace
• Automotive
• Biomedical
• Chemical Processing
• HVAC
• Hydraulics
• Marine
• Oil & Gas
• Power Generation
• Sports
Flow of lubricating
mud over drill bit
Flow around cooling towers
Marine
Oil & Gas
Sports
Power Generation
CFD - how it works ?
 Analysis begins with a mathematical
model of a physical problem.
 Conservation of matter, momentum,
and energy must be satisfied
throughout the region of interest.
 Fluid properties are modeled
empirically.
 Simplifying assumptions are made in
order to make the problem tractable
(e.g., steady-state, incompressible,
inviscid, two-dimensional).
 Provide appropriate initial and
boundary conditions for the problem.
Domain for bottle filling
problem.
Filling
Nozzle
Bottle
CFD - how it works…
 CFD applies numerical methods (called
discretization) to develop approximations of
the governing equations of fluid mechanics in
the fluid region of interest.
• Governing differential equations: algebraic.
• The collection of cells is called the grid.
• The set of algebraic equations are solved
numerically (on a computer) for the flow
field variables at each node or cell.
• System of equations are solved
simultaneously to provide solution.
 The solution is post-processed to extract
quantities of interest (e.g. lift, drag, torque,
heat transfer, separation, pressure loss, etc.). Mesh for bottle filling
problem.
Modeling (governing equations)
 Navier-Stokes equations (3D in Cartesian coordinates)






∂
∂
+
∂
∂
+
∂
∂
+
∂
∂
−=
∂
∂
+
∂
∂
+
∂
∂
+
∂
∂
2
2
2
2
2
2
ˆ
z
u
y
u
x
u
x
p
z
u
w
y
u
v
x
u
u
t
u
µρρρρ






∂
∂
+
∂
∂
+
∂
∂
+
∂
∂
−=
∂
∂
+
∂
∂
+
∂
∂
+
∂
∂
2
2
2
2
2
2
ˆ
z
v
y
v
x
v
y
p
z
v
w
y
v
v
x
v
u
t
v
µρρρρ
( ) ( ) ( ) 0=
∂
∂
+
∂
∂
+
∂
∂
+
∂
∂
z
w
y
v
x
u
t
ρρρρ
RTp ρ=
Convection Piezometric pressure gradient Viscous termsLocal
acceleration
Continuity equation
Equation of state






∂
∂
+
∂
∂
+
∂
∂
+
∂
∂
−=
∂
∂
+
∂
∂
+
∂
∂
+
∂
∂
2
2
2
2
2
2
ˆ
z
w
y
w
x
w
z
p
z
w
w
y
w
v
x
w
u
t
w
µρρρρ
Types of CFD codes
 Commercial CFD code: FLUENT, Star-CD,
PHOENICS, CFDRC, CFX/AEA, etc.
 Research CFD code: CFDSHIP-IOWA
 Public domain software: (PHI3D, HYDRO, and
WinpipeD, etc.)
 Grid generation software: (e.g. Gridgen, Gambit,
TGrid)
 Flow visualization software: (e.g. Tecplot,
FieldView)
CFDSHIPIOWA
How Does a CFD Code Work?
Geometry MESH
Fluid Props.
Model/App.
Bound Conds.
PRE-Processor SOLVER
Finite Diff.
Finite Vol.
Finite Elem.
POST-Processor
Contours
Line Plot
Vel. Vectors
Par. Track
Animations
CBA
A. Pre-Processor
 Geometry definition or computational domain
 Generate mesh / grid or subdivisions
 Definitions of fluid properties
 Definition of physical or chemical phenomena to be modeled
 Specifications of boundary and initial conditions
How Does a CFD Code Work…
B. SOLVER
 This is the heart of the code
 Involves applications of the discretized equation to each of the CV
 Basically 3 Steps are Involved : -
• Approximation of the unknown flow variables
• Discretization – Substitution of approximation into governing flow
equations and subsequent manipulations
• Solution of Algebraic Equation For Each Node
 3 Methodologies are used : Finite Difference, Finite Volume, Finite Element
 Most Commercial Code use FV e.g. FLUENT, CFX, PHOENICS
For example, for general fluids motion – the PDE is called the
Navier Stokes equations
How Does a CFD Code Work …
C. Post-Processor
 Tabular/Graphical Display of the Output Results
 E.g. Contours, Line Plot, Vector Plot, Surface Plot, Particle Track
CFD analysis using GAMBIT & FLUENT
GAMBIT
Geometry MESH
Fluid Props
Model/App
Bound Cond
PRE-Processor SOLVER
Finite Diff
Finite Vol
Finite Elem
POST-Processor
Contours
Line Plot
Vel Vectors
Par Track
Animations
CBA
FLUENT
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)
Tri/Tet vs. Quad/Hex meshes
 For simple geometries, quad/hex
meshes can provide high-quality
solutions with fewer cells than a
comparable tri/tet mesh.
 For complex geometries, quad/hex
meshes show no numerical
advantage, and you can save
meshing effort by using a tri/tet
mesh.
Hybrid mesh example
 Valve port grid.
 Specific regions can be meshed
with different cell types.
 Both efficiency and accuracy are
enhanced relative to a hexahedral
or tetrahedral mesh alone.
Hybrid mesh for
an IC engine
valve port
Tet.
mesh
Hex.
mesh
Wedge mesh
Dinosaur mesh example
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)
Tools to Examine the Results
 Graphical tools
– Grid, contour, and vector plots
– Pathlines and particle trajectory plots
– XY plots
– Animations
 Numerical reporting tools
– Flux balances
– Surface and volume integrals and averages
– Forces and moments
Velocity vectors around a dinosaur
Velocity magnitude (0-6 m/s) on a dinosaur
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)
ADVANTAGES OF CFD
 Relatively low cost
– Using physical experiments and tests to get essential engineering data
for design can be expensive.
– CFD simulations are relatively inexpensive, and costs are likely to
decrease as computers become more powerful.
 Speed
– CFD simulations can be executed in a short period of time.
– Quick turnaround means engineering data can be introduced early in
the design process.
 Ability to simulate real conditions
– Many flow and heat transfer processes can not be (easily) tested, e.g.
hypersonic flow.
– CFD provides the ability to theoretically simulate any physical
condition.
ADVANTAGES...
 Ability to simulate ideal conditions
– CFD allows great control over the physical process, and provides the
ability to isolate specific phenomena for study.
– Example: a heat transfer process can be idealized with adiabatic,
constant heat flux, or constant temperature boundaries.
 Comprehensive information
– Experiments only permit data to be extracted at a limited number of
locations in the system (e.g. pressure and temperature probes, heat
flux gauges, LDV, etc.).
– CFD allows the analyst to examine a large number of locations in the
region of interest, and yields a comprehensive set of flow parameters
for examination.
LIMITATIONS OF CFD
 Physical models
– CFD solutions rely upon physical models of real world processes (e.g.
turbulence, compressibility, chemistry, multiphase flow, etc.).
– The CFD solutions can only be as accurate as the physical models on
which they are based.
 Numerical errors
– Solving equations on a computer invariably introduces numerical
errors.
– Round-off error: due to finite word size available on the computer.
Round-off errors will always exist (though they can be small in most
cases).
– Truncation error: due to approximations in the numerical models.
Truncation errors will go to zero as the grid is refined. Mesh
refinement is one way to deal with truncation error.
LIMITATIONS…
 Boundary conditions
– As with physical models, the accuracy of the CFD solution is only as
good as the initial/boundary conditions provided to the numerical
model.
– Example: flow in a duct with sudden expansion. If flow is supplied to
domain by a pipe, you should use a fully-developed profile for velocity
rather than assume uniform conditions.
poor better
Fully Developed Inlet
Profile
Computational
Domain
Computational
Domain
Uniform Inlet
Profile
SUMMARY
 CFD is a method to numerically calculate heat transfer and fluid flow.
 Currently, its main application is as an engineering method, to provide
data that is complementary to theoretical and experimental data. This is
mainly the domain of commercially available codes and in-house codes at
large companies.
 CFD can also be used for purely scientific studies, e.g. into the
fundamentals of turbulence. This is more common in academic
institutions and government research laboratories. Codes are usually
developed to specifically study a certain problem.
REFERENCES
 J D Anderson, Computational Fluid Dynamics-Basics and Applications,
TATA McGraw Hill.
 Fluent Inc.: Http://www.fluent.com
 Adapted from notes by: Tao Xing and Fred Stern, The University of Iowa.
Problems
1. CFD stands for: (a) Colourful Fluid Dynamics (b)
Computational Fluid Dynamics (c) Computational Fluid
Mechanics (d) Contour Fluid Dynamics.
2. Computations in CFD are done by (a) Human (b) Calculator
(c) Computer (d) None.
3. CFD can be used in: (a) Automobile (b) Biomedical (c)
Aerospace (d) All.
4. Navier-Stoke equation is manifestation of : (a) conservation
of mass (b) conservation of momentum (c) conservation of
energy (d) None of the above .
5. Navier-Stoke equation is : (a) ODE (b) PDE (c) Non-linear PDE
(d) Non-linear ODE.
6. CFD can’t be applied to complicated geometries.
(True/False).
Problems contd..
7. Pre-processing involves: (a) Mathematical modeling (b)
Analyzing data using contours (c) Solution of algebraic equations
(d) None.
8. Post-processing involves : (a) Mathematical modeling (b)
Analyzing data using contours (c) Solution of algebraic equations
(d) None.
9. Turbulent modeling can be done using : (a) LES (b) RANS (c)
DES (d) All.
10. Discretization methods are : (a) Finite difference method
(FDM) (b) Finite volume method (FVM) (c) Finite element
method (FEM) (d) All.
11. Videos/contours/plots can be made in CFD. True/False.

More Related Content

What's hot (20)

DOCX
WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD)
Malik Abdul Wahab
 
PDF
Introduction to cfd
parabajinkya0070
 
PDF
Fvm fdm-fvm
Parhamsagharchi
 
PDF
Cfd simulation of flow heat and mass transfer
Dr.Qasim Kadhim
 
PPT
CFD & ANSYS FLUENT
MD SHUJAN ALI
 
PDF
Boundary layer theory
Manthan Chavda
 
PPT
CFD
nithinkarna
 
PPT
CFD Concepts.ppt
beline1
 
PDF
Cfd introduction
Santosh V
 
PDF
Role of CFD in Engineering Design
iMentor Education
 
PPTX
Finite element analysis
Sonal Upadhyay
 
PPTX
Ch 14-fluid flow through porous media
Syed Atif Iqrar
 
PPTX
Finite difference method
Divyansh Verma
 
PPT
Finite Element Analysis - UNIT-1
propaul
 
PDF
finite volume method
Thắng Hoàng
 
PPTX
Dimension less numbers in applied fluid mechanics
tirath prajapati
 
PPTX
Couette flow
Kumar Virendra
 
PDF
Fluid Mechanics Chapter 4. Differential relations for a fluid flow
Addisu Dagne Zegeye
 
PDF
Fundamentals of Finite Difference Methods
1rj
 
PDF
Introduction to fluid mechanics
Mohsin Siddique
 
WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD)
Malik Abdul Wahab
 
Introduction to cfd
parabajinkya0070
 
Fvm fdm-fvm
Parhamsagharchi
 
Cfd simulation of flow heat and mass transfer
Dr.Qasim Kadhim
 
CFD & ANSYS FLUENT
MD SHUJAN ALI
 
Boundary layer theory
Manthan Chavda
 
CFD Concepts.ppt
beline1
 
Cfd introduction
Santosh V
 
Role of CFD in Engineering Design
iMentor Education
 
Finite element analysis
Sonal Upadhyay
 
Ch 14-fluid flow through porous media
Syed Atif Iqrar
 
Finite difference method
Divyansh Verma
 
Finite Element Analysis - UNIT-1
propaul
 
finite volume method
Thắng Hoàng
 
Dimension less numbers in applied fluid mechanics
tirath prajapati
 
Couette flow
Kumar Virendra
 
Fluid Mechanics Chapter 4. Differential relations for a fluid flow
Addisu Dagne Zegeye
 
Fundamentals of Finite Difference Methods
1rj
 
Introduction to fluid mechanics
Mohsin Siddique
 

Similar to FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD) (20)

PPT
Lecture 1.ppt
JoseTorero3
 
PPTX
CFD.pptx
yogasatria14
 
PPT
cfdpresentation-170330hghfgh093525.phhghhhpt
basant11731
 
PPTX
cfd simulations and introduction of computational fluid dynamic
AbdalsalamAwadalla
 
PDF
Lecture 1 velmurugan
VelmuruganSankar
 
PPTX
Computational Fluid Dynamics & Its Application.pptx
Rajiv Gandhi College of Pharmacy Nautanwa Maharajganj UP , India
 
PPT
Lecture_CFD.ppt
FatimaMalazai1
 
PDF
CFD_Lecture_1.pdf
ssusercf6d0e
 
PPTX
FLUID DYNAMIC
translateds
 
PDF
CFD-CH01-Rao-2021-1.pdf
Syfy2
 
PPT
Introduction to Computational Fluid Dynamics
KartikAjugia2
 
PPT
Use of cfd in aerodynamic performance of race car
Designage Solutions
 
PPTX
coputational fluid dynamics.pptx
MrRajanSwamiSwami
 
PPT
Introduction to computational fluid dynamics
PrabathDissanayake8
 
PPTX
fd report sem5fuiddd dynamicsssssss.pptx
mannaman221007
 
PDF
001 Introduction to CFD 29-02-2024 (1).pdf
WaqarKhan544840
 
PPTX
Computational fluid dynamics approach, conservation equations and
lavarchanamn
 
PPTX
Cfd 0
Dr Sachin Borse
 
PPTX
module 1 PPT.pptx
UdhhavNimbalkar
 
PPTX
Cfd 0
Dr Sachin Borse
 
Lecture 1.ppt
JoseTorero3
 
CFD.pptx
yogasatria14
 
cfdpresentation-170330hghfgh093525.phhghhhpt
basant11731
 
cfd simulations and introduction of computational fluid dynamic
AbdalsalamAwadalla
 
Lecture 1 velmurugan
VelmuruganSankar
 
Computational Fluid Dynamics & Its Application.pptx
Rajiv Gandhi College of Pharmacy Nautanwa Maharajganj UP , India
 
Lecture_CFD.ppt
FatimaMalazai1
 
CFD_Lecture_1.pdf
ssusercf6d0e
 
FLUID DYNAMIC
translateds
 
CFD-CH01-Rao-2021-1.pdf
Syfy2
 
Introduction to Computational Fluid Dynamics
KartikAjugia2
 
Use of cfd in aerodynamic performance of race car
Designage Solutions
 
coputational fluid dynamics.pptx
MrRajanSwamiSwami
 
Introduction to computational fluid dynamics
PrabathDissanayake8
 
fd report sem5fuiddd dynamicsssssss.pptx
mannaman221007
 
001 Introduction to CFD 29-02-2024 (1).pdf
WaqarKhan544840
 
Computational fluid dynamics approach, conservation equations and
lavarchanamn
 
module 1 PPT.pptx
UdhhavNimbalkar
 
Ad

More from YOGESH AHIRE (14)

PDF
Refrigeration-and-air-conditioning_HVAC_ppt.pdf
YOGESH AHIRE
 
PPT
Unit-5_HVAC: Thermal Design of Refrigeration System Components
YOGESH AHIRE
 
PDF
UNIT-1_HVAC: Advanced Vapour Compression Cycles
YOGESH AHIRE
 
PDF
Waste Heat Recovery and Sustainable Energy
YOGESH AHIRE
 
PDF
Waste Heat Recovery and Sustainable Energy
YOGESH AHIRE
 
PDF
Waste Heat Recovery and Sustainable Energy
YOGESH AHIRE
 
PDF
Waste Heat Recovery and Sustainable Energy
YOGESH AHIRE
 
PDF
UNIT-1_NOTES-PKNAG-SPATI.pdf
YOGESH AHIRE
 
PDF
UNIT-2_Part1_NOTES-PKNAG-SPATI.pdf
YOGESH AHIRE
 
PDF
UNIT-2_Part3_RANKINE CYCLE.pdf
YOGESH AHIRE
 
PDF
Fluid Mechanics (Unit6) - External Flows by Prof. Y. H. Ahire
YOGESH AHIRE
 
PDF
Fluid Mechanics (Unit5) - Flow Through Pipes, by Prof. Y. H. Ahire
YOGESH AHIRE
 
PDF
Fluid Mechanics (Unit4) - Internal Flows by Prof. Y. H. Ahire
YOGESH AHIRE
 
PPT
Pumps and pumping systems
YOGESH AHIRE
 
Refrigeration-and-air-conditioning_HVAC_ppt.pdf
YOGESH AHIRE
 
Unit-5_HVAC: Thermal Design of Refrigeration System Components
YOGESH AHIRE
 
UNIT-1_HVAC: Advanced Vapour Compression Cycles
YOGESH AHIRE
 
Waste Heat Recovery and Sustainable Energy
YOGESH AHIRE
 
Waste Heat Recovery and Sustainable Energy
YOGESH AHIRE
 
Waste Heat Recovery and Sustainable Energy
YOGESH AHIRE
 
Waste Heat Recovery and Sustainable Energy
YOGESH AHIRE
 
UNIT-1_NOTES-PKNAG-SPATI.pdf
YOGESH AHIRE
 
UNIT-2_Part1_NOTES-PKNAG-SPATI.pdf
YOGESH AHIRE
 
UNIT-2_Part3_RANKINE CYCLE.pdf
YOGESH AHIRE
 
Fluid Mechanics (Unit6) - External Flows by Prof. Y. H. Ahire
YOGESH AHIRE
 
Fluid Mechanics (Unit5) - Flow Through Pipes, by Prof. Y. H. Ahire
YOGESH AHIRE
 
Fluid Mechanics (Unit4) - Internal Flows by Prof. Y. H. Ahire
YOGESH AHIRE
 
Pumps and pumping systems
YOGESH AHIRE
 
Ad

Recently uploaded (20)

PPTX
Pharmaceuticals and fine chemicals.pptxx
jaypa242004
 
PPTX
NEUROMOROPHIC nu iajwojeieheueueueu.pptx
knkoodalingam39
 
PPTX
site survey architecture student B.arch.
sri02032006
 
PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
PDF
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
PPTX
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PPTX
Electron Beam Machining for Production Process
Rajshahi University of Engineering & Technology(RUET), Bangladesh
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PDF
IoT - Unit 2 (Internet of Things-Concepts) - PPT.pdf
dipakraut82
 
PPT
inherently safer design for engineering.ppt
DhavalShah616893
 
PPTX
Green Building & Energy Conservation ppt
Sagar Sarangi
 
PDF
Statistical Data Analysis Using SPSS Software
shrikrishna kesharwani
 
PPTX
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
PPTX
Introduction to Neural Networks and Perceptron Learning Algorithm.pptx
Kayalvizhi A
 
PDF
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
PDF
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
PPTX
REINFORCEMENT AS CONSTRUCTION MATERIALS.pptx
mohaiminulhaquesami
 
PPTX
Innowell Capability B0425 - Commercial Buildings.pptx
regobertroza
 
PDF
MOBILE AND WEB BASED REMOTE BUSINESS MONITORING SYSTEM
ijait
 
PPTX
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
Pharmaceuticals and fine chemicals.pptxx
jaypa242004
 
NEUROMOROPHIC nu iajwojeieheueueueu.pptx
knkoodalingam39
 
site survey architecture student B.arch.
sri02032006
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
Electron Beam Machining for Production Process
Rajshahi University of Engineering & Technology(RUET), Bangladesh
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
IoT - Unit 2 (Internet of Things-Concepts) - PPT.pdf
dipakraut82
 
inherently safer design for engineering.ppt
DhavalShah616893
 
Green Building & Energy Conservation ppt
Sagar Sarangi
 
Statistical Data Analysis Using SPSS Software
shrikrishna kesharwani
 
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
Introduction to Neural Networks and Perceptron Learning Algorithm.pptx
Kayalvizhi A
 
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
REINFORCEMENT AS CONSTRUCTION MATERIALS.pptx
mohaiminulhaquesami
 
Innowell Capability B0425 - Commercial Buildings.pptx
regobertroza
 
MOBILE AND WEB BASED REMOTE BUSINESS MONITORING SYSTEM
ijait
 
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 

FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)

  • 1. SRES’s Sanjivani College of Engineering, KOPARGAON Content Beyond Syllabus (CBS) on COMPUTATIONAL FLUID DYNAMICS (CFD) & ITS APPLICATIONS Subject: FLUID MECHANICS Class: S.E. (Mech) FACULTY: PROF. Y. H. AHIRE
  • 2. FLUID DYNAMICS  Fluid dynamics is the science of fluid motion.  Fluid flow is commonly studied in one of three ways: • Experimental fluid dynamics. • Theoretical fluid dynamics. • Numerically: computational fluid dynamics (CFD). CFD nicely and synergistically complements the other two approaches but will never replace either of the two.
  • 3. WHAT IS CFD?  Computational fluid dynamics (CFD) is the science of predicting fluid flow, heat transfer, mass transfer, chemical reactions, and related phenomena by solving the mathematical equations which govern these processes using a numerical process.  The governing equations are based on conservation of mass, momentum, energy, chemical species etc.  The result of CFD analyses is relevant engineering data used in: • Conceptual studies of new designs • Detailed product development • Troubleshooting • Redesign
  • 4. WHY USE CFD?  CFD is an alternative to experiments that are expensive, time-consuming, difficult, dangerous or impossible and also to theoretical methods which can tackle only simplied cases.  CFD complements experiments and theory.  CFD is used for design & development, for research and in education.  The use of CFD has steadily increased in design; currently upto 40%.
  • 5. APPLICATIONS OF CFD . Where is CFD used? • Aerospace • Automotive • Biomedical • Chemical Processing • HVAC • Hydraulics • Marine • Oil & Gas • Power Generation • Sports F18 Store Separation Temperature and natural convection currents in the eye following laser heating. Aerospace Automotive Biomedical
  • 6. APPLICATIONS… . Polymerization reactor vessel - prediction of flow separation and residence time effects. Streamlines for workstation ventilation  Where is CFD used? • Aerospacee • Automotive • Biomedical • Chemical Processing • HVAC • Hydraulics • Marine • Oil & Gas • Power Generation • Sports HVAC Chemical Processing Hydraulics
  • 7. APPLICATIONS… . Where is CFD used? • Aerospace • Automotive • Biomedical • Chemical Processing • HVAC • Hydraulics • Marine • Oil & Gas • Power Generation • Sports Flow of lubricating mud over drill bit Flow around cooling towers Marine Oil & Gas Sports Power Generation
  • 8. CFD - how it works ?  Analysis begins with a mathematical model of a physical problem.  Conservation of matter, momentum, and energy must be satisfied throughout the region of interest.  Fluid properties are modeled empirically.  Simplifying assumptions are made in order to make the problem tractable (e.g., steady-state, incompressible, inviscid, two-dimensional).  Provide appropriate initial and boundary conditions for the problem. Domain for bottle filling problem. Filling Nozzle Bottle
  • 9. CFD - how it works…  CFD applies numerical methods (called discretization) to develop approximations of the governing equations of fluid mechanics in the fluid region of interest. • Governing differential equations: algebraic. • The collection of cells is called the grid. • The set of algebraic equations are solved numerically (on a computer) for the flow field variables at each node or cell. • System of equations are solved simultaneously to provide solution.  The solution is post-processed to extract quantities of interest (e.g. lift, drag, torque, heat transfer, separation, pressure loss, etc.). Mesh for bottle filling problem.
  • 10. Modeling (governing equations)  Navier-Stokes equations (3D in Cartesian coordinates)       ∂ ∂ + ∂ ∂ + ∂ ∂ + ∂ ∂ −= ∂ ∂ + ∂ ∂ + ∂ ∂ + ∂ ∂ 2 2 2 2 2 2 ˆ z u y u x u x p z u w y u v x u u t u µρρρρ       ∂ ∂ + ∂ ∂ + ∂ ∂ + ∂ ∂ −= ∂ ∂ + ∂ ∂ + ∂ ∂ + ∂ ∂ 2 2 2 2 2 2 ˆ z v y v x v y p z v w y v v x v u t v µρρρρ ( ) ( ) ( ) 0= ∂ ∂ + ∂ ∂ + ∂ ∂ + ∂ ∂ z w y v x u t ρρρρ RTp ρ= Convection Piezometric pressure gradient Viscous termsLocal acceleration Continuity equation Equation of state       ∂ ∂ + ∂ ∂ + ∂ ∂ + ∂ ∂ −= ∂ ∂ + ∂ ∂ + ∂ ∂ + ∂ ∂ 2 2 2 2 2 2 ˆ z w y w x w z p z w w y w v x w u t w µρρρρ
  • 11. Types of CFD codes  Commercial CFD code: FLUENT, Star-CD, PHOENICS, CFDRC, CFX/AEA, etc.  Research CFD code: CFDSHIP-IOWA  Public domain software: (PHI3D, HYDRO, and WinpipeD, etc.)  Grid generation software: (e.g. Gridgen, Gambit, TGrid)  Flow visualization software: (e.g. Tecplot, FieldView) CFDSHIPIOWA
  • 12. How Does a CFD Code Work? Geometry MESH Fluid Props. Model/App. Bound Conds. PRE-Processor SOLVER Finite Diff. Finite Vol. Finite Elem. POST-Processor Contours Line Plot Vel. Vectors Par. Track Animations CBA A. Pre-Processor  Geometry definition or computational domain  Generate mesh / grid or subdivisions  Definitions of fluid properties  Definition of physical or chemical phenomena to be modeled  Specifications of boundary and initial conditions
  • 13. How Does a CFD Code Work… B. SOLVER  This is the heart of the code  Involves applications of the discretized equation to each of the CV  Basically 3 Steps are Involved : - • Approximation of the unknown flow variables • Discretization – Substitution of approximation into governing flow equations and subsequent manipulations • Solution of Algebraic Equation For Each Node  3 Methodologies are used : Finite Difference, Finite Volume, Finite Element  Most Commercial Code use FV e.g. FLUENT, CFX, PHOENICS
  • 14. For example, for general fluids motion – the PDE is called the Navier Stokes equations
  • 15. How Does a CFD Code Work … C. Post-Processor  Tabular/Graphical Display of the Output Results  E.g. Contours, Line Plot, Vector Plot, Surface Plot, Particle Track
  • 16. CFD analysis using GAMBIT & FLUENT GAMBIT Geometry MESH Fluid Props Model/App Bound Cond PRE-Processor SOLVER Finite Diff Finite Vol Finite Elem POST-Processor Contours Line Plot Vel Vectors Par Track Animations CBA FLUENT
  • 21. Tri/Tet vs. Quad/Hex meshes  For simple geometries, quad/hex meshes can provide high-quality solutions with fewer cells than a comparable tri/tet mesh.  For complex geometries, quad/hex meshes show no numerical advantage, and you can save meshing effort by using a tri/tet mesh.
  • 22. Hybrid mesh example  Valve port grid.  Specific regions can be meshed with different cell types.  Both efficiency and accuracy are enhanced relative to a hexahedral or tetrahedral mesh alone. Hybrid mesh for an IC engine valve port Tet. mesh Hex. mesh Wedge mesh
  • 27. Tools to Examine the Results  Graphical tools – Grid, contour, and vector plots – Pathlines and particle trajectory plots – XY plots – Animations  Numerical reporting tools – Flux balances – Surface and volume integrals and averages – Forces and moments
  • 29. Velocity magnitude (0-6 m/s) on a dinosaur
  • 31. ADVANTAGES OF CFD  Relatively low cost – Using physical experiments and tests to get essential engineering data for design can be expensive. – CFD simulations are relatively inexpensive, and costs are likely to decrease as computers become more powerful.  Speed – CFD simulations can be executed in a short period of time. – Quick turnaround means engineering data can be introduced early in the design process.  Ability to simulate real conditions – Many flow and heat transfer processes can not be (easily) tested, e.g. hypersonic flow. – CFD provides the ability to theoretically simulate any physical condition.
  • 32. ADVANTAGES...  Ability to simulate ideal conditions – CFD allows great control over the physical process, and provides the ability to isolate specific phenomena for study. – Example: a heat transfer process can be idealized with adiabatic, constant heat flux, or constant temperature boundaries.  Comprehensive information – Experiments only permit data to be extracted at a limited number of locations in the system (e.g. pressure and temperature probes, heat flux gauges, LDV, etc.). – CFD allows the analyst to examine a large number of locations in the region of interest, and yields a comprehensive set of flow parameters for examination.
  • 33. LIMITATIONS OF CFD  Physical models – CFD solutions rely upon physical models of real world processes (e.g. turbulence, compressibility, chemistry, multiphase flow, etc.). – The CFD solutions can only be as accurate as the physical models on which they are based.  Numerical errors – Solving equations on a computer invariably introduces numerical errors. – Round-off error: due to finite word size available on the computer. Round-off errors will always exist (though they can be small in most cases). – Truncation error: due to approximations in the numerical models. Truncation errors will go to zero as the grid is refined. Mesh refinement is one way to deal with truncation error.
  • 34. LIMITATIONS…  Boundary conditions – As with physical models, the accuracy of the CFD solution is only as good as the initial/boundary conditions provided to the numerical model. – Example: flow in a duct with sudden expansion. If flow is supplied to domain by a pipe, you should use a fully-developed profile for velocity rather than assume uniform conditions. poor better Fully Developed Inlet Profile Computational Domain Computational Domain Uniform Inlet Profile
  • 35. SUMMARY  CFD is a method to numerically calculate heat transfer and fluid flow.  Currently, its main application is as an engineering method, to provide data that is complementary to theoretical and experimental data. This is mainly the domain of commercially available codes and in-house codes at large companies.  CFD can also be used for purely scientific studies, e.g. into the fundamentals of turbulence. This is more common in academic institutions and government research laboratories. Codes are usually developed to specifically study a certain problem.
  • 36. REFERENCES  J D Anderson, Computational Fluid Dynamics-Basics and Applications, TATA McGraw Hill.  Fluent Inc.: Http://www.fluent.com  Adapted from notes by: Tao Xing and Fred Stern, The University of Iowa.
  • 37. Problems 1. CFD stands for: (a) Colourful Fluid Dynamics (b) Computational Fluid Dynamics (c) Computational Fluid Mechanics (d) Contour Fluid Dynamics. 2. Computations in CFD are done by (a) Human (b) Calculator (c) Computer (d) None. 3. CFD can be used in: (a) Automobile (b) Biomedical (c) Aerospace (d) All. 4. Navier-Stoke equation is manifestation of : (a) conservation of mass (b) conservation of momentum (c) conservation of energy (d) None of the above . 5. Navier-Stoke equation is : (a) ODE (b) PDE (c) Non-linear PDE (d) Non-linear ODE. 6. CFD can’t be applied to complicated geometries. (True/False).
  • 38. Problems contd.. 7. Pre-processing involves: (a) Mathematical modeling (b) Analyzing data using contours (c) Solution of algebraic equations (d) None. 8. Post-processing involves : (a) Mathematical modeling (b) Analyzing data using contours (c) Solution of algebraic equations (d) None. 9. Turbulent modeling can be done using : (a) LES (b) RANS (c) DES (d) All. 10. Discretization methods are : (a) Finite difference method (FDM) (b) Finite volume method (FVM) (c) Finite element method (FEM) (d) All. 11. Videos/contours/plots can be made in CFD. True/False.