SlideShare a Scribd company logo
Introduction to CFD
Mr.S.Velmurugan.
Assistant Professor,
Aeronautical Engineering,
KIT-kalaignar karunanidhi Institute of
Technology, Coimbatore-641 407.
1
What is computational fluid dynamics?
• Computational fluid dynamics (CFD) is a branch of continuum
mechanics which deals with numerical simulation of fluid flow and
heat transfer
• The result of CFD analyses is relevant engineering data used in:
– Conceptual studies of new designs.
– Detailed product development.
– Troubleshooting.
– Redesign.
• CFD analysis complements testing and experimentation.
– Reduces the total effort required in the laboratory.
2
Knowledge Prequisite
• Fluid dynamics
• Numerical Methods
• Heat transfer
Knowledge on Specific topics are required for specific applications
• Combustion
• Mass transfer with multispecies and multiphase
• Melting and solidification
• Rotodynamics
• Heat exchangers
• Aerospace
• Automotive
3
Fluid dynamics
• Fluid dynamics is the science of fluid motion.
• Fluid flow is commonly studied in one of three ways:
– Experimental fluid dynamics (EFD).
– Theoretical fluid dynamics (TFD).
– Numerically: computational fluid dynamics (CFD).
4
Numerical Vs Analytical Vs Experimental
• Experimental Investigations:
- full scale
• expensive and often impossible
• measurement errors
- on a scaled model
• simplified
• difficult to extrapolate results
• measurement errors
• Theoretical calculation:
- analytical solutions
• exist only for a few cases (example)
• sometimes complex
- numerical solutions
• for almost any problem 5
Modelling
• Advantages of modelling:
- cheaper
- more complete information
- capable of solving any complex problem
• Disadvantages of modelling:
- deals with a mathematical description not with reality
- multiple solutions can exist
6
Why use 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.
7
Why use CFD?
• 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.
8
Boundary conditions
Prescribed Temperature BC (First kind) Dirichlet conditions
Prescribed Heat Flux BC (Second kind) Neumann conditions
Convection BC (Third kind) Robbins cinditions
9
Boundary conditions cont…
10
Boundary conditions cont…
11
Boundary conditions cont…
12
Where is CFD used?
• Where is CFD
used?
• Aerospace
• Automotive
• Biomedical
• Chemical
Processing
• HVAC
• Hydraulics
• Marine
• Turbomachine
• Power Generation
• Sports
Temperature and natural
convection currents in the eye
following laser heating. 13
Chemical Processing
Streamlines for workstation
ventilation
Where is CFD used?
• Where is CFD used?
• Aerospacee
• Automotive
• Biomedical
• Chemical
Processing
• HVAC
• Hydraulics
• Marine
• Turbomachine
• Power Generation
• Sports
14
Where is CFD used?
• Where is CFD used?
• Aerospace
• Automotive
• Biomedical
• Chemical Processing
• HVAC
• Hydraulics
• Marine
• Turbomachine
• Power Generation
• Sports
15
Power Generation
Turbomachine
Marine (wave pattern)
Sports
Post processor
•X-Y graph
•Contour
•Velocity vectors
•others
Pre processor
• Creation of geometry
• Mesh generation
• Material properties
• Boundary conditions
Solver settings
•Initialization
•Solution control
•Monitoring solution
•Convergence criteria
Physical Model
•Turbulence
•Combustion
•Radiation
•Other processes
Transport equation
•Mass
•Momentum
•energy
•Equation of state
•Supporting models
Three main elements of CFD Software
Solver
16
CFD - how it works (2)
• 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.
17

Discretization
• Domain is discretized into a finite set of control volumes
or cells. The discretized domain is called the “grid” or the “mesh.”
• General conservation (transport) equations for mass, momentum,
energy, etc., are discretized into algebraic equations.
• All equations are solved to render flow field.
 
t
div u  div grad  S

t V
dV  VdA 
A
 dA  A V
S dV Fluid region of
pipe flow
unsteady convection diffusion generation
control
volume
discretized into
finite set of
control volumes
(mesh).
Other Discretization methods:
FDM, FEM 18
Eqn. 
continuity 1
x-mom. u
y-mom. v
energy h
Discretization Methods
Classification of PDE
Elliptic, Parabolic & Hyperbolic Eqns
2 2 2  
cont…
a
x2
 b
xy

c
y2

d
x

e
y
 f   g 0
where coefficients are constants or fn's of the independent variables
b2  4ac 
b2  4ac 
b2  4ac 
0 elliptic
0 parabolic
0 hyperbolic
(a) Elliptic PDE
2

x2
2
y2
 0  Laplace eqn &
2

x2
2
y2
 g(x,y)  Poisson's eqn
where, b=0, a=1 and c=1 b
2
 4ac  4  0
19
Discretization Methods
Classification of PDE
(b) Parabolic PDE
cont…

 
2
t x2
(heat conduction or diffusion equation)
where  is thermal diffusivity and b=0, c=0, a=
b2  4ac  0
(c) Hyperbolic PDE
2

t2
 2
2

x2
(wave equation)
where 2 is a constant and a=2 , b=0, c=-1
b
2
 4ac  42 which is >0
Example:
20
Discretization Methods
Classification of PDE
cont…
21
Discretization Method
Finite Difference Method
22
Finite Difference Method cont…
23
Finite Difference Method cont…
24
Finite Difference Method cont…
25
Finite Difference Method cont…
26
Finite Difference Method cont…
27
Finite Difference Method cont…
28
Finite Difference Method cont…
4 1 1 0  T1  100 1 4 0 1  T   30 
   2    
 1 0 4 1  T3
 100
0 1 1 4
 
T
 
30

   4    29
Finite Difference Method
Nume rical Er ror s: Numerical errors arise during computations due
to round-off errors and truncation errors.
(i) Round-off error
It is the difference between an approximation of a number used in
computation and its exact (correct) value.
e.g. 4.756 is rounded off to 4.76
(ii) Truncation error
It is the difference between an exact expression and the corresponding
truncated form used in the numerical solution.
Note: The difference between exact solution and numerical solution
with no round-off error is called Discretization error.
30
Grid Independence Test
It is nothing but the testing of how numerical solution has become
independent of grid spacing
Variation in the heat transfer rate with respect to the mesh count.
31
600
500
400
Selectedmeshcount
300
(520000)
200
100
0 2 4 6 8 10
Meshcountx105
HeatTransferRate(W)
Discretization Method
Finite Volume Method
32
Finite Volume Method cont…
33
Finite Volume Method cont…
34
Finite Volume Method cont…
35
Finite Volume Method cont…
36
Finite Volume Method cont…
37
Finite Volume Method cont…
38
Finite Volume Method cont…
39
Finite Volume Method cont…
40
Useful Web links
41
Useful Text books
1] “An Introduction to CFD – The Finite Volume Method” by
H K Versteeg & W Malalasekara , Publication:: Pearson Education Ltd
2] “Numerical Heat Transfer and Fluid Flow” by Suhas V. Patankar,
Publication:: Taylor & Francis
3] “Computer simulation of Flow and Heat Transfer” by P.S. Ghoshdastidar,
Publication:: TMH
4] “CFD A Practical Approach” by Jiyuan Tu, Guan Yeoh & ChaoqunLiu,
Publication:: Elsevier
4] “The FEM for Fluid Dynamics” by O.C. Zienkiewicz, R.L. Taylor &
P. Nithiarasu, Publication:: Elsevier
42

More Related Content

PPTX
Computational fluid dynamics
PPTX
Fundamentals of Computational Fluid Dynamics
PPTX
Computational fluid dynamics approach, conservation equations and
PDF
CFD : Modern Applications, Challenges and Future Trends
PPT
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)
PDF
Introduction to cfd
PDF
Computational fluid dynamics (cfd)
PPT
Introduction to Computational Fluid Dynamics (CFD)
Computational fluid dynamics
Fundamentals of Computational Fluid Dynamics
Computational fluid dynamics approach, conservation equations and
CFD : Modern Applications, Challenges and Future Trends
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)
Introduction to cfd
Computational fluid dynamics (cfd)
Introduction to Computational Fluid Dynamics (CFD)

What's hot (20)

PPTX
Computational Fluid Dynamics
PPTX
Fluid Mechanics in CFD Perspective
PDF
Cfd introduction
PDF
01 intro cfd
PPT
Cfd notes 1
PPTX
Computational fluid dynamics
PDF
HLPW2-sasanapuri
PDF
Cfd simulation of flow heat and mass transfer
DOCX
WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD)
PDF
01 intro
PPTX
An introduction to abaqus cfd
PPTX
Computational Fluid Dynamics (CFD)
PPTX
Presentation on Computational fluid dynamic smulation and benchmarking a dess...
PPT
Use of cfd in aerodynamic performance of race car
PDF
Role of CFD in Engineering Design
DOCX
CFD analysis of commercial vehicle
PDF
CFD Best Practices & Key Features
PDF
CFD ANALYSIS OF RADIATO
PPT
Cfd notes 1
PDF
CFD-based Evaporation Estimation Approach
Computational Fluid Dynamics
Fluid Mechanics in CFD Perspective
Cfd introduction
01 intro cfd
Cfd notes 1
Computational fluid dynamics
HLPW2-sasanapuri
Cfd simulation of flow heat and mass transfer
WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD)
01 intro
An introduction to abaqus cfd
Computational Fluid Dynamics (CFD)
Presentation on Computational fluid dynamic smulation and benchmarking a dess...
Use of cfd in aerodynamic performance of race car
Role of CFD in Engineering Design
CFD analysis of commercial vehicle
CFD Best Practices & Key Features
CFD ANALYSIS OF RADIATO
Cfd notes 1
CFD-based Evaporation Estimation Approach
Ad

Similar to Lecture 1 velmurugan (20)

PPTX
Computational Fluid Dynamics (CFD)
PPT
CFD Concepts.ppt
PPT
Lecture 1.ppt
PDF
IntroCFD.pdf
PPTX
cfd simulations and introduction of computational fluid dynamic
PPT
cfdpresentation-170330hghfgh093525.phhghhhpt
PPT
CFD_Lecture_Engineering(Introduction_to_CFD).ppt
PPT
Introduction to Computational Fluid Dynamics
PDF
CFD_Lecture_1.pdf
PPTX
Computational Fluid Dynamics in Food Processing – Application in heat transfe...
PPT
CFD_Lecture_(Introduction_to_CFD).ppt
PPT
Lecture_CFD.ppt
PPTX
CFD.pptx
PPTX
PPTX
UNIT - 4 CAE AND CFD approach of future mobility
PPTX
PPTX
Introduction TO CFD PPT and application .pptx
PDF
CFD-CH01-Rao-2021-1.pdf
PPTX
coputational fluid dynamics.pptx
PPTX
Computational Fluid Dynamics & Its Application.pptx
Computational Fluid Dynamics (CFD)
CFD Concepts.ppt
Lecture 1.ppt
IntroCFD.pdf
cfd simulations and introduction of computational fluid dynamic
cfdpresentation-170330hghfgh093525.phhghhhpt
CFD_Lecture_Engineering(Introduction_to_CFD).ppt
Introduction to Computational Fluid Dynamics
CFD_Lecture_1.pdf
Computational Fluid Dynamics in Food Processing – Application in heat transfe...
CFD_Lecture_(Introduction_to_CFD).ppt
Lecture_CFD.ppt
CFD.pptx
UNIT - 4 CAE AND CFD approach of future mobility
Introduction TO CFD PPT and application .pptx
CFD-CH01-Rao-2021-1.pdf
coputational fluid dynamics.pptx
Computational Fluid Dynamics & Its Application.pptx
Ad

Recently uploaded (20)

PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Sustainable Sites - Green Building Construction
PPTX
Welding lecture in detail for understanding
PPT
Project quality management in manufacturing
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Geodesy 1.pptx...............................................
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
UNIT 4 Total Quality Management .pptx
DOCX
573137875-Attendance-Management-System-original
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Sustainable Sites - Green Building Construction
Welding lecture in detail for understanding
Project quality management in manufacturing
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Geodesy 1.pptx...............................................
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Model Code of Practice - Construction Work - 21102022 .pdf
CH1 Production IntroductoryConcepts.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Foundation to blockchain - A guide to Blockchain Tech
UNIT 4 Total Quality Management .pptx
573137875-Attendance-Management-System-original

Lecture 1 velmurugan

  • 1. Introduction to CFD Mr.S.Velmurugan. Assistant Professor, Aeronautical Engineering, KIT-kalaignar karunanidhi Institute of Technology, Coimbatore-641 407.
  • 2. 1
  • 3. What is computational fluid dynamics? • Computational fluid dynamics (CFD) is a branch of continuum mechanics which deals with numerical simulation of fluid flow and heat transfer • The result of CFD analyses is relevant engineering data used in: – Conceptual studies of new designs. – Detailed product development. – Troubleshooting. – Redesign. • CFD analysis complements testing and experimentation. – Reduces the total effort required in the laboratory. 2
  • 4. Knowledge Prequisite • Fluid dynamics • Numerical Methods • Heat transfer Knowledge on Specific topics are required for specific applications • Combustion • Mass transfer with multispecies and multiphase • Melting and solidification • Rotodynamics • Heat exchangers • Aerospace • Automotive 3
  • 5. Fluid dynamics • Fluid dynamics is the science of fluid motion. • Fluid flow is commonly studied in one of three ways: – Experimental fluid dynamics (EFD). – Theoretical fluid dynamics (TFD). – Numerically: computational fluid dynamics (CFD). 4
  • 6. Numerical Vs Analytical Vs Experimental • Experimental Investigations: - full scale • expensive and often impossible • measurement errors - on a scaled model • simplified • difficult to extrapolate results • measurement errors • Theoretical calculation: - analytical solutions • exist only for a few cases (example) • sometimes complex - numerical solutions • for almost any problem 5
  • 7. Modelling • Advantages of modelling: - cheaper - more complete information - capable of solving any complex problem • Disadvantages of modelling: - deals with a mathematical description not with reality - multiple solutions can exist 6
  • 8. Why use 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. 7
  • 9. Why use CFD? • 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. 8
  • 10. Boundary conditions Prescribed Temperature BC (First kind) Dirichlet conditions Prescribed Heat Flux BC (Second kind) Neumann conditions Convection BC (Third kind) Robbins cinditions 9
  • 14. Where is CFD used? • Where is CFD used? • Aerospace • Automotive • Biomedical • Chemical Processing • HVAC • Hydraulics • Marine • Turbomachine • Power Generation • Sports Temperature and natural convection currents in the eye following laser heating. 13
  • 15. Chemical Processing Streamlines for workstation ventilation Where is CFD used? • Where is CFD used? • Aerospacee • Automotive • Biomedical • Chemical Processing • HVAC • Hydraulics • Marine • Turbomachine • Power Generation • Sports 14
  • 16. Where is CFD used? • Where is CFD used? • Aerospace • Automotive • Biomedical • Chemical Processing • HVAC • Hydraulics • Marine • Turbomachine • Power Generation • Sports 15 Power Generation Turbomachine Marine (wave pattern) Sports
  • 17. Post processor •X-Y graph •Contour •Velocity vectors •others Pre processor • Creation of geometry • Mesh generation • Material properties • Boundary conditions Solver settings •Initialization •Solution control •Monitoring solution •Convergence criteria Physical Model •Turbulence •Combustion •Radiation •Other processes Transport equation •Mass •Momentum •energy •Equation of state •Supporting models Three main elements of CFD Software Solver 16
  • 18. CFD - how it works (2) • 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. 17
  • 19.  Discretization • Domain is discretized into a finite set of control volumes or cells. The discretized domain is called the “grid” or the “mesh.” • General conservation (transport) equations for mass, momentum, energy, etc., are discretized into algebraic equations. • All equations are solved to render flow field.   t div u  div grad  S  t V dV  VdA  A  dA  A V S dV Fluid region of pipe flow unsteady convection diffusion generation control volume discretized into finite set of control volumes (mesh). Other Discretization methods: FDM, FEM 18 Eqn.  continuity 1 x-mom. u y-mom. v energy h
  • 20. Discretization Methods Classification of PDE Elliptic, Parabolic & Hyperbolic Eqns 2 2 2   cont… a x2  b xy  c y2  d x  e y  f   g 0 where coefficients are constants or fn's of the independent variables b2  4ac  b2  4ac  b2  4ac  0 elliptic 0 parabolic 0 hyperbolic (a) Elliptic PDE 2  x2 2 y2  0  Laplace eqn & 2  x2 2 y2  g(x,y)  Poisson's eqn where, b=0, a=1 and c=1 b 2  4ac  4  0
  • 21. 19
  • 22. Discretization Methods Classification of PDE (b) Parabolic PDE cont…    2 t x2 (heat conduction or diffusion equation) where  is thermal diffusivity and b=0, c=0, a= b2  4ac  0 (c) Hyperbolic PDE 2  t2  2 2  x2 (wave equation) where 2 is a constant and a=2 , b=0, c=-1 b 2  4ac  42 which is >0 Example:
  • 23. 20
  • 32. Finite Difference Method cont… 4 1 1 0  T1  100 1 4 0 1  T   30     2      1 0 4 1  T3  100 0 1 1 4   T   30     4    29
  • 33. Finite Difference Method Nume rical Er ror s: Numerical errors arise during computations due to round-off errors and truncation errors. (i) Round-off error It is the difference between an approximation of a number used in computation and its exact (correct) value. e.g. 4.756 is rounded off to 4.76 (ii) Truncation error It is the difference between an exact expression and the corresponding truncated form used in the numerical solution. Note: The difference between exact solution and numerical solution with no round-off error is called Discretization error. 30
  • 34. Grid Independence Test It is nothing but the testing of how numerical solution has become independent of grid spacing Variation in the heat transfer rate with respect to the mesh count. 31 600 500 400 Selectedmeshcount 300 (520000) 200 100 0 2 4 6 8 10 Meshcountx105 HeatTransferRate(W)
  • 36. Finite Volume Method cont… 33
  • 37. Finite Volume Method cont… 34
  • 38. Finite Volume Method cont… 35
  • 39. Finite Volume Method cont… 36
  • 40. Finite Volume Method cont… 37
  • 41. Finite Volume Method cont… 38
  • 42. Finite Volume Method cont… 39
  • 43. Finite Volume Method cont… 40
  • 45. Useful Text books 1] “An Introduction to CFD – The Finite Volume Method” by H K Versteeg & W Malalasekara , Publication:: Pearson Education Ltd 2] “Numerical Heat Transfer and Fluid Flow” by Suhas V. Patankar, Publication:: Taylor & Francis 3] “Computer simulation of Flow and Heat Transfer” by P.S. Ghoshdastidar, Publication:: TMH 4] “CFD A Practical Approach” by Jiyuan Tu, Guan Yeoh & ChaoqunLiu, Publication:: Elsevier 4] “The FEM for Fluid Dynamics” by O.C. Zienkiewicz, R.L. Taylor & P. Nithiarasu, Publication:: Elsevier 42