SlideShare a Scribd company logo
1 of 24
Introduction to Computational
Fluid Dynamics
Course Notes (CFD 4)
Karthik Duraisamy
Department of Aerospace Engineering
University of Glasgow
Course organization
• Homeworks – 25 %
• Report -- 15 %
• Final exam -- 60 %
Interaction is extremely important
Learning Objectives
• Make the student understand the role of C in FD, its applicability,
potential and limitations
• Give a basic foundation in numerical analysis, by teaching the relevance
of accuracy and stability
• Give a working idea of the various choices of numerical methods and
discretization schemes by applying them to simple model equations. In
doing this, always remind them of the connection with the big picture.
• Make the student knowledgeable about the various terminologies in
practical CFD (Grids, BCs, Approximations, Schemes etc)
• Ingrain the basics of good CFD practice (be aware of the
applicability/feasibility of a particular model, its limitations, choose the
right boundary conditions, ascertain grid/time independence,
verification/validation)
• By the end of the class, the student should be in a position to set up
simple aerodynamic problems and analyze them
Contents
• Introduction (1.5)
• Classification of PDE, Model equations (1.5)
• Finite difference methods:
 Spatial discretization (2.5)
 Temporal discretization (1.5)
 Convergence, Consistency, Stability (1)
• Grids/Boundary conditions (1)
• Euler equations (0.5)
• DNS/LES (1)
• RANS Equations and Turbulence modeling (1)
• Case studies & Best practices in CFD (1.5)
• Hands-on CFD/Lab sessions (8)
(.) – Approximate number of lectures
Introduction
What is CFD/FD ?
• CFD is a branch of Fluid dynamics
• So what really is Engineering Fluid Dynamics in the first place? Lets
look at some examples:
 We are interested in the forces (pressure , viscous stress
etc.) acting on surfaces (Example: In an airplane, we are interested
in the lift, drag, power, pressure distribution etc)
 We would like to determine the velocity field (Example: In a
race car, we are interested in the local flow streamlines, so that we
can design for less drag)
 We are interested in knowing the temperature distribution
(Example: Heat transfer in the vicinity of a computer chip)
• Roughly put, in Engineering fluid dynamics, we would like to
determine certain flow properties in a certain region of interest, so
that the information can be used to predict the behaviour of
systems, to design more efficient systems etc..
Fluid Dynamics• Theoretical
 Most important branch of fluid dynamics. Crucial in
understanding concepts (Example: L = ρUΓ), Usually good in
predicting trends (Example: δ ~ Re-1/2
)
 Can obtain a lot of information using simplifying
assumptions, sometimes enough for detailed design (Example: the
SR-71 Blackbird was designed completely using theoretical ideas)
 However, doesn’t always provide sufficient information
• Experimental
 Only way to obtain reliable data in many situations.
However, costly, difficult to achieve exact conditions, difficult to
isolate effects, sometimes difficult to assess error, sometimes not
repeatable
• Computational (CFD)
 Becoming important as computers are getting faster and
cheaper. Potential to provide tremendous amount of data at a
fraction of the cost of experiments. But sometimes unreliable
because of numerical/modeling/human errors. Sometimes more
expensive than experiments
 Very important to validate with theory/experiments
Words of wisdom
(To be taken with a huge helping of salt :)
• Theoretical Fluid dynamics: Most important. Everyone HAS to learn
it.
• Experimental Fluid dynamics: Important. Usually, everyone believes
it except the person that conducted the experiment.
• Computational Fluid dynamics: Also important. Usually, no one
believes it except the person that performed the calculations.
• A good engineer understands the pro’s and con’s of all three
methods, and should be in a position to assess which one is best
under the circumstances
• More importantly, should not be prejudiced against any of the three
approaches
Courtesy: CFD society of Canada
Courtesy: CFD society of Canada
Sample Application – 1
[Simulation to understand physics]
Flow over F-16 at
45o
angle of
attack
Surface Pressure
contours and
streamtraces
Courtesy: Kyle
Squires, ASU
Sample Application -2
[Validation with Experiment]
Experiment Computation
Flow over fixed wing – Expt. vs CFD of velocity contours
Sample Application -3
[Simulation to aid theoretical understanding]
Merger of co-rotating
vortices due to
Elliptical instability
(Movie)
Courtesy: CERFACS
Procedures in CFD
• Identification of right approximation (Viscous/Inviscid,
Laminar/Turbulent, Incompressible / compressible, Single-
phase/multi-phase)
• Identification of right solution method (Finite Element /
Difference/Volume, Structured/Unstructured mesh, Order of accuracy)
• Pre-processing (Generate computational grid, assign boundary
conditions, set initial conditions, compile code, prepare input
parameters)
• Solution (Run the code, monitor the solution)
• Post-processing (Collect and organize data, analyze results)
• Verification (Do the results make sense? Are the trends right? Does it
agree with previous calculations on similar configurations?)
• Validation (Does the result (or an aspect of the result)) agree with
theory/experiment?)
• At every step, good understanding of theoretical fluid dynamics is
essential!!!
Example: Flow over a pitching
airfoil
• Problem: Predict the loads acting on an airfoil pitching in a wind
tunnel under the following conditions: α =10o
+ 10o
sin(w t), Re =
3.8x106
, M = 0.3, w = 0.06
• Identification of right approximation : Viscous, Turbulent,
compressible, Single-phase
• Identification of right solution method (Finite Volume, Structured
mesh, second order accurate)
Example: Flow over a pitching
airfoil
• Preprocessing:
Example: Flow over a pitching
airfoil
• Solution:
Example: Flow over a pitching
airfoil
• Post processing: Flow visualization (movie)
Example: Flow over a pitching
airfoil
• Post processing: Loads comparison
Governing Equations of fluid
dynamics
• Assumptions: Continuum flow, Newtonian fluid
• Lets restrict ourselves to single phase, single species, perfect gases
(this way, incompressible flow is a special case)
• Ignore body forces
• Unknowns: Density (ρ), Velocity (u,v,w), Pressure (p)
• Dynamics of fluids is then given by
 Conservation of Mass (Continuity equation) [Law of
common sense]
 Conservation of Momentum (Navier-Stokes equations)
[Newton’s second law]
 Conservation of Energy (Energy equation) [First law of
thermodynamics]
• 5 equations to determine 5 unknowns.
• All of fluid dynamics is contained in these equations
Governing equations
• How to derive these equations?
 Integral form
 Differential form
• Reynolds transport theorem:
Rate of change of “stuff” inside a control volume = Net flux of “stuff”
entering/leaving the boundaries + generation of “stuff” – destruction
of “stuff”
• In addition, need some more info (such as stress-strain relation,
temperature-heat flux relation etc.)
The “stuff” U is nothing but mass,
momentum and energy
Governing equations for
compressible perfect gas
Governing equations for
compressible perfect gas
Example: One dimensional steady
inviscid flow
Sound familiar?

More Related Content

What's hot

CFD Concepts.ppt
CFD Concepts.pptCFD Concepts.ppt
CFD Concepts.pptbeline1
 
Finite Element Method
Finite Element MethodFinite Element Method
Finite Element MethodTahir Khan
 
Offshore wind turbine performance assessment using CFD
Offshore wind turbine performance assessment using CFDOffshore wind turbine performance assessment using CFD
Offshore wind turbine performance assessment using CFDAhmed Maklid, Msc
 
Radiator design
Radiator designRadiator design
Radiator designAhmed Rezk
 
Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)Khusro Kamaluddin
 
Finite Element Analysis - UNIT-1
Finite Element Analysis - UNIT-1Finite Element Analysis - UNIT-1
Finite Element Analysis - UNIT-1propaul
 
Applications of CFD in Chemical Engineering
Applications of CFD in Chemical EngineeringApplications of CFD in Chemical Engineering
Applications of CFD in Chemical EngineeringiMentor Education
 
WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD)
WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD)WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD)
WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD)Malik Abdul Wahab
 
Intro to fea software
Intro to fea softwareIntro to fea software
Intro to fea softwarekubigs
 
An introduction to turbulence modeling
An introduction to turbulence modelingAn introduction to turbulence modeling
An introduction to turbulence modelingDaryooshBorzuei
 
CFD Introduction using Ansys Fluent
CFD Introduction using Ansys FluentCFD Introduction using Ansys Fluent
CFD Introduction using Ansys Fluentsavani4611
 
Pressure Distribution on an Airfoil
Pressure Distribution on an Airfoil Pressure Distribution on an Airfoil
Pressure Distribution on an Airfoil Saif al-din ali
 
Basics of finite element method 19.04.2018
Basics of finite element method 19.04.2018Basics of finite element method 19.04.2018
Basics of finite element method 19.04.2018Dr. Mohd Zameeruddin
 
STEERING GEAR MECHANISMS (kinematics of machines)
STEERING GEAR MECHANISMS (kinematics of machines)STEERING GEAR MECHANISMS (kinematics of machines)
STEERING GEAR MECHANISMS (kinematics of machines)Jeet Amrutiya
 
NUMERICAL ON RECIPROCATING PUMP.pptx
NUMERICAL ON RECIPROCATING PUMP.pptxNUMERICAL ON RECIPROCATING PUMP.pptx
NUMERICAL ON RECIPROCATING PUMP.pptxKCNIT BANDA
 

What's hot (20)

Introduction to fem
Introduction to femIntroduction to fem
Introduction to fem
 
CFD Concepts.ppt
CFD Concepts.pptCFD Concepts.ppt
CFD Concepts.ppt
 
Introduction to cfd
Introduction to cfdIntroduction to cfd
Introduction to cfd
 
Finite Element Method
Finite Element MethodFinite Element Method
Finite Element Method
 
Offshore wind turbine performance assessment using CFD
Offshore wind turbine performance assessment using CFDOffshore wind turbine performance assessment using CFD
Offshore wind turbine performance assessment using CFD
 
Radiator design
Radiator designRadiator design
Radiator design
 
Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)
 
Thermodynamic cycles
Thermodynamic cycles Thermodynamic cycles
Thermodynamic cycles
 
Finite Element Analysis - UNIT-1
Finite Element Analysis - UNIT-1Finite Element Analysis - UNIT-1
Finite Element Analysis - UNIT-1
 
Applications of CFD in Chemical Engineering
Applications of CFD in Chemical EngineeringApplications of CFD in Chemical Engineering
Applications of CFD in Chemical Engineering
 
WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD)
WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD)WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD)
WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD)
 
Intro to fea software
Intro to fea softwareIntro to fea software
Intro to fea software
 
An introduction to turbulence modeling
An introduction to turbulence modelingAn introduction to turbulence modeling
An introduction to turbulence modeling
 
CFD Introduction using Ansys Fluent
CFD Introduction using Ansys FluentCFD Introduction using Ansys Fluent
CFD Introduction using Ansys Fluent
 
Pressure Distribution on an Airfoil
Pressure Distribution on an Airfoil Pressure Distribution on an Airfoil
Pressure Distribution on an Airfoil
 
Basics of finite element method 19.04.2018
Basics of finite element method 19.04.2018Basics of finite element method 19.04.2018
Basics of finite element method 19.04.2018
 
Types of drag
Types of dragTypes of drag
Types of drag
 
STEERING GEAR MECHANISMS (kinematics of machines)
STEERING GEAR MECHANISMS (kinematics of machines)STEERING GEAR MECHANISMS (kinematics of machines)
STEERING GEAR MECHANISMS (kinematics of machines)
 
NUMERICAL ON RECIPROCATING PUMP.pptx
NUMERICAL ON RECIPROCATING PUMP.pptxNUMERICAL ON RECIPROCATING PUMP.pptx
NUMERICAL ON RECIPROCATING PUMP.pptx
 
Fea 2 mark
Fea 2 markFea 2 mark
Fea 2 mark
 

Viewers also liked

Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)Taani Saxena
 
Computational fluid dynamics
Computational fluid dynamicsComputational fluid dynamics
Computational fluid dynamicsRavi Choudhary
 
Naca 2415 finding lift coefficient using cfd, theoretical and javafoil
Naca 2415  finding lift coefficient using cfd, theoretical and javafoilNaca 2415  finding lift coefficient using cfd, theoretical and javafoil
Naca 2415 finding lift coefficient using cfd, theoretical and javafoileSAT Journals
 
Flowdirection
FlowdirectionFlowdirection
FlowdirectionApoorv00
 
2412 ICC Company Presentation
2412 ICC Company Presentation2412 ICC Company Presentation
2412 ICC Company Presentationmhimcc
 
JacobSiegler_Research_2015
JacobSiegler_Research_2015JacobSiegler_Research_2015
JacobSiegler_Research_2015Jacob Siegler
 
Effect of spikes integrated to airfoil at supersonic speed
Effect of spikes integrated to airfoil at supersonic speedEffect of spikes integrated to airfoil at supersonic speed
Effect of spikes integrated to airfoil at supersonic speedeSAT Journals
 
A comparative flow analysis of naca 6409 and naca 4412 aerofoil
A comparative flow analysis of naca 6409 and naca 4412 aerofoilA comparative flow analysis of naca 6409 and naca 4412 aerofoil
A comparative flow analysis of naca 6409 and naca 4412 aerofoileSAT Journals
 
Numerical simulation and optimization of high performance supersonic nozzle a...
Numerical simulation and optimization of high performance supersonic nozzle a...Numerical simulation and optimization of high performance supersonic nozzle a...
Numerical simulation and optimization of high performance supersonic nozzle a...eSAT Journals
 
Final Design Report
Final Design ReportFinal Design Report
Final Design ReportJason Ro
 
Design Analysis Of Uav (Unmanned Air Vehicle) Using NACA 0012 Aerofoil Profile
Design Analysis Of Uav (Unmanned Air Vehicle) Using NACA 0012 Aerofoil ProfileDesign Analysis Of Uav (Unmanned Air Vehicle) Using NACA 0012 Aerofoil Profile
Design Analysis Of Uav (Unmanned Air Vehicle) Using NACA 0012 Aerofoil ProfileDr. Bhuiyan S. M. Ebna Hai
 
Aer 101 chapter 5
Aer 101 chapter 5Aer 101 chapter 5
Aer 101 chapter 5anashalim
 
Computational fluid dynamics approach, conservation equations and
Computational fluid dynamics approach, conservation equations andComputational fluid dynamics approach, conservation equations and
Computational fluid dynamics approach, conservation equations andlavarchanamn
 
CFD analysis of Flow across an Aerofoil
CFD analysis of Flow across an AerofoilCFD analysis of Flow across an Aerofoil
CFD analysis of Flow across an AerofoilJJ Technical Solutions
 
CFD analysis of aerofoil
CFD analysis of aerofoilCFD analysis of aerofoil
CFD analysis of aerofoilNeel Thakkar
 
Cfd introduction
Cfd introductionCfd introduction
Cfd introductionSantosh V
 

Viewers also liked (20)

Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)
 
Computational fluid dynamics
Computational fluid dynamicsComputational fluid dynamics
Computational fluid dynamics
 
Naca 2415 finding lift coefficient using cfd, theoretical and javafoil
Naca 2415  finding lift coefficient using cfd, theoretical and javafoilNaca 2415  finding lift coefficient using cfd, theoretical and javafoil
Naca 2415 finding lift coefficient using cfd, theoretical and javafoil
 
Flowdirection
FlowdirectionFlowdirection
Flowdirection
 
2412 ICC Company Presentation
2412 ICC Company Presentation2412 ICC Company Presentation
2412 ICC Company Presentation
 
F012413942
F012413942F012413942
F012413942
 
JacobSiegler_Research_2015
JacobSiegler_Research_2015JacobSiegler_Research_2015
JacobSiegler_Research_2015
 
Effect of spikes integrated to airfoil at supersonic speed
Effect of spikes integrated to airfoil at supersonic speedEffect of spikes integrated to airfoil at supersonic speed
Effect of spikes integrated to airfoil at supersonic speed
 
A comparative flow analysis of naca 6409 and naca 4412 aerofoil
A comparative flow analysis of naca 6409 and naca 4412 aerofoilA comparative flow analysis of naca 6409 and naca 4412 aerofoil
A comparative flow analysis of naca 6409 and naca 4412 aerofoil
 
Numerical simulation and optimization of high performance supersonic nozzle a...
Numerical simulation and optimization of high performance supersonic nozzle a...Numerical simulation and optimization of high performance supersonic nozzle a...
Numerical simulation and optimization of high performance supersonic nozzle a...
 
Project Full
Project FullProject Full
Project Full
 
Final Design Report
Final Design ReportFinal Design Report
Final Design Report
 
FYP Presentation
FYP PresentationFYP Presentation
FYP Presentation
 
Design Analysis Of Uav (Unmanned Air Vehicle) Using NACA 0012 Aerofoil Profile
Design Analysis Of Uav (Unmanned Air Vehicle) Using NACA 0012 Aerofoil ProfileDesign Analysis Of Uav (Unmanned Air Vehicle) Using NACA 0012 Aerofoil Profile
Design Analysis Of Uav (Unmanned Air Vehicle) Using NACA 0012 Aerofoil Profile
 
Aer 101 chapter 5
Aer 101 chapter 5Aer 101 chapter 5
Aer 101 chapter 5
 
Computational fluid dynamics approach, conservation equations and
Computational fluid dynamics approach, conservation equations andComputational fluid dynamics approach, conservation equations and
Computational fluid dynamics approach, conservation equations and
 
CFD analysis of Flow across an Aerofoil
CFD analysis of Flow across an AerofoilCFD analysis of Flow across an Aerofoil
CFD analysis of Flow across an Aerofoil
 
CFD analysis of aerofoil
CFD analysis of aerofoilCFD analysis of aerofoil
CFD analysis of aerofoil
 
Cfd introduction
Cfd introductionCfd introduction
Cfd introduction
 
CFD analysis of an Airfoil
CFD analysis of an AirfoilCFD analysis of an Airfoil
CFD analysis of an Airfoil
 

Similar to Cfd notes 1

CFD_Lecture_(Introduction_to_CFD).ppt
CFD_Lecture_(Introduction_to_CFD).pptCFD_Lecture_(Introduction_to_CFD).ppt
CFD_Lecture_(Introduction_to_CFD).pptPaPiihu
 
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)YOGESH AHIRE
 
ajit fmmm ppt (1) (1).pptx
ajit fmmm ppt (1) (1).pptxajit fmmm ppt (1) (1).pptx
ajit fmmm ppt (1) (1).pptxajitburade1
 
Final course project report
Final course project reportFinal course project report
Final course project reportKaggwa Abdul
 
CFD for Floating Systems.pdf
CFD for Floating Systems.pdfCFD for Floating Systems.pdf
CFD for Floating Systems.pdfmesin upnvj
 
1. introduction aerodynamics
1. introduction aerodynamics1. introduction aerodynamics
1. introduction aerodynamicsAhmed Atef Hamada
 
Fluent Introduction - Some Best Practice_._.pptx
Fluent Introduction - Some Best Practice_._.pptxFluent Introduction - Some Best Practice_._.pptx
Fluent Introduction - Some Best Practice_._.pptxLibinAbrahamKonattu
 
Transonic turbulent flow around an aerofoil using cfd
Transonic turbulent flow around an aerofoil using cfdTransonic turbulent flow around an aerofoil using cfd
Transonic turbulent flow around an aerofoil using cfdSukanto Bagchi
 
IARE_ ACAD LAB MANUAL.pdf
IARE_ ACAD LAB MANUAL.pdfIARE_ ACAD LAB MANUAL.pdf
IARE_ ACAD LAB MANUAL.pdfRebyRoy2
 
July 8th 2014 - Presentation by Mario Caponnetto: "CFD method for foil design"
July 8th 2014 - Presentation by Mario Caponnetto: "CFD method for foil design"July 8th 2014 - Presentation by Mario Caponnetto: "CFD method for foil design"
July 8th 2014 - Presentation by Mario Caponnetto: "CFD method for foil design"Foiling Week™
 
Computational fluid dynamics (cfd)
Computational fluid dynamics                       (cfd)Computational fluid dynamics                       (cfd)
Computational fluid dynamics (cfd)BhavanakanwarRao
 
Introduction to Computational Fluid Dynamics
Introduction to Computational Fluid DynamicsIntroduction to Computational Fluid Dynamics
Introduction to Computational Fluid DynamicsiMentor Education
 
CFD_Wind_drBorseBATU.pptx
CFD_Wind_drBorseBATU.pptxCFD_Wind_drBorseBATU.pptx
CFD_Wind_drBorseBATU.pptxSachinBorse16
 

Similar to Cfd notes 1 (20)

Cfd 0
Cfd 0Cfd 0
Cfd 0
 
Cfd 0
Cfd 0Cfd 0
Cfd 0
 
CFD_Lecture_(Introduction_to_CFD).ppt
CFD_Lecture_(Introduction_to_CFD).pptCFD_Lecture_(Introduction_to_CFD).ppt
CFD_Lecture_(Introduction_to_CFD).ppt
 
CFD_notes.pdf
CFD_notes.pdfCFD_notes.pdf
CFD_notes.pdf
 
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)
FLUID MECHANICS - COMPUTATIONAL FLUID DYNAMICS (CFD)
 
CFD For Offshore Applications
CFD For Offshore ApplicationsCFD For Offshore Applications
CFD For Offshore Applications
 
ajit fmmm ppt (1) (1).pptx
ajit fmmm ppt (1) (1).pptxajit fmmm ppt (1) (1).pptx
ajit fmmm ppt (1) (1).pptx
 
Final course project report
Final course project reportFinal course project report
Final course project report
 
Lecture_CFD.ppt
Lecture_CFD.pptLecture_CFD.ppt
Lecture_CFD.ppt
 
CFD for Floating Systems.pdf
CFD for Floating Systems.pdfCFD for Floating Systems.pdf
CFD for Floating Systems.pdf
 
CFD PPT.ppt
CFD PPT.pptCFD PPT.ppt
CFD PPT.ppt
 
1. introduction aerodynamics
1. introduction aerodynamics1. introduction aerodynamics
1. introduction aerodynamics
 
Fluent Introduction - Some Best Practice_._.pptx
Fluent Introduction - Some Best Practice_._.pptxFluent Introduction - Some Best Practice_._.pptx
Fluent Introduction - Some Best Practice_._.pptx
 
Transonic turbulent flow around an aerofoil using cfd
Transonic turbulent flow around an aerofoil using cfdTransonic turbulent flow around an aerofoil using cfd
Transonic turbulent flow around an aerofoil using cfd
 
IARE_ ACAD LAB MANUAL.pdf
IARE_ ACAD LAB MANUAL.pdfIARE_ ACAD LAB MANUAL.pdf
IARE_ ACAD LAB MANUAL.pdf
 
July 8th 2014 - Presentation by Mario Caponnetto: "CFD method for foil design"
July 8th 2014 - Presentation by Mario Caponnetto: "CFD method for foil design"July 8th 2014 - Presentation by Mario Caponnetto: "CFD method for foil design"
July 8th 2014 - Presentation by Mario Caponnetto: "CFD method for foil design"
 
Computational fluid dynamics (cfd)
Computational fluid dynamics                       (cfd)Computational fluid dynamics                       (cfd)
Computational fluid dynamics (cfd)
 
Introduction to Computational Fluid Dynamics
Introduction to Computational Fluid DynamicsIntroduction to Computational Fluid Dynamics
Introduction to Computational Fluid Dynamics
 
CFD_Wind_drBorseBATU.pptx
CFD_Wind_drBorseBATU.pptxCFD_Wind_drBorseBATU.pptx
CFD_Wind_drBorseBATU.pptx
 
Linear non linear
Linear non linearLinear non linear
Linear non linear
 

Cfd notes 1

  • 1. Introduction to Computational Fluid Dynamics Course Notes (CFD 4) Karthik Duraisamy Department of Aerospace Engineering University of Glasgow
  • 2. Course organization • Homeworks – 25 % • Report -- 15 % • Final exam -- 60 % Interaction is extremely important
  • 3. Learning Objectives • Make the student understand the role of C in FD, its applicability, potential and limitations • Give a basic foundation in numerical analysis, by teaching the relevance of accuracy and stability • Give a working idea of the various choices of numerical methods and discretization schemes by applying them to simple model equations. In doing this, always remind them of the connection with the big picture. • Make the student knowledgeable about the various terminologies in practical CFD (Grids, BCs, Approximations, Schemes etc) • Ingrain the basics of good CFD practice (be aware of the applicability/feasibility of a particular model, its limitations, choose the right boundary conditions, ascertain grid/time independence, verification/validation) • By the end of the class, the student should be in a position to set up simple aerodynamic problems and analyze them
  • 4. Contents • Introduction (1.5) • Classification of PDE, Model equations (1.5) • Finite difference methods:  Spatial discretization (2.5)  Temporal discretization (1.5)  Convergence, Consistency, Stability (1) • Grids/Boundary conditions (1) • Euler equations (0.5) • DNS/LES (1) • RANS Equations and Turbulence modeling (1) • Case studies & Best practices in CFD (1.5) • Hands-on CFD/Lab sessions (8) (.) – Approximate number of lectures
  • 6. What is CFD/FD ? • CFD is a branch of Fluid dynamics • So what really is Engineering Fluid Dynamics in the first place? Lets look at some examples:  We are interested in the forces (pressure , viscous stress etc.) acting on surfaces (Example: In an airplane, we are interested in the lift, drag, power, pressure distribution etc)  We would like to determine the velocity field (Example: In a race car, we are interested in the local flow streamlines, so that we can design for less drag)  We are interested in knowing the temperature distribution (Example: Heat transfer in the vicinity of a computer chip) • Roughly put, in Engineering fluid dynamics, we would like to determine certain flow properties in a certain region of interest, so that the information can be used to predict the behaviour of systems, to design more efficient systems etc..
  • 7. Fluid Dynamics• Theoretical  Most important branch of fluid dynamics. Crucial in understanding concepts (Example: L = ρUΓ), Usually good in predicting trends (Example: δ ~ Re-1/2 )  Can obtain a lot of information using simplifying assumptions, sometimes enough for detailed design (Example: the SR-71 Blackbird was designed completely using theoretical ideas)  However, doesn’t always provide sufficient information • Experimental  Only way to obtain reliable data in many situations. However, costly, difficult to achieve exact conditions, difficult to isolate effects, sometimes difficult to assess error, sometimes not repeatable • Computational (CFD)  Becoming important as computers are getting faster and cheaper. Potential to provide tremendous amount of data at a fraction of the cost of experiments. But sometimes unreliable because of numerical/modeling/human errors. Sometimes more expensive than experiments  Very important to validate with theory/experiments
  • 8. Words of wisdom (To be taken with a huge helping of salt :) • Theoretical Fluid dynamics: Most important. Everyone HAS to learn it. • Experimental Fluid dynamics: Important. Usually, everyone believes it except the person that conducted the experiment. • Computational Fluid dynamics: Also important. Usually, no one believes it except the person that performed the calculations. • A good engineer understands the pro’s and con’s of all three methods, and should be in a position to assess which one is best under the circumstances • More importantly, should not be prejudiced against any of the three approaches
  • 11. Sample Application – 1 [Simulation to understand physics] Flow over F-16 at 45o angle of attack Surface Pressure contours and streamtraces Courtesy: Kyle Squires, ASU
  • 12. Sample Application -2 [Validation with Experiment] Experiment Computation Flow over fixed wing – Expt. vs CFD of velocity contours
  • 13. Sample Application -3 [Simulation to aid theoretical understanding] Merger of co-rotating vortices due to Elliptical instability (Movie) Courtesy: CERFACS
  • 14. Procedures in CFD • Identification of right approximation (Viscous/Inviscid, Laminar/Turbulent, Incompressible / compressible, Single- phase/multi-phase) • Identification of right solution method (Finite Element / Difference/Volume, Structured/Unstructured mesh, Order of accuracy) • Pre-processing (Generate computational grid, assign boundary conditions, set initial conditions, compile code, prepare input parameters) • Solution (Run the code, monitor the solution) • Post-processing (Collect and organize data, analyze results) • Verification (Do the results make sense? Are the trends right? Does it agree with previous calculations on similar configurations?) • Validation (Does the result (or an aspect of the result)) agree with theory/experiment?) • At every step, good understanding of theoretical fluid dynamics is essential!!!
  • 15. Example: Flow over a pitching airfoil • Problem: Predict the loads acting on an airfoil pitching in a wind tunnel under the following conditions: α =10o + 10o sin(w t), Re = 3.8x106 , M = 0.3, w = 0.06 • Identification of right approximation : Viscous, Turbulent, compressible, Single-phase • Identification of right solution method (Finite Volume, Structured mesh, second order accurate)
  • 16. Example: Flow over a pitching airfoil • Preprocessing:
  • 17. Example: Flow over a pitching airfoil • Solution:
  • 18. Example: Flow over a pitching airfoil • Post processing: Flow visualization (movie)
  • 19. Example: Flow over a pitching airfoil • Post processing: Loads comparison
  • 20. Governing Equations of fluid dynamics • Assumptions: Continuum flow, Newtonian fluid • Lets restrict ourselves to single phase, single species, perfect gases (this way, incompressible flow is a special case) • Ignore body forces • Unknowns: Density (ρ), Velocity (u,v,w), Pressure (p) • Dynamics of fluids is then given by  Conservation of Mass (Continuity equation) [Law of common sense]  Conservation of Momentum (Navier-Stokes equations) [Newton’s second law]  Conservation of Energy (Energy equation) [First law of thermodynamics] • 5 equations to determine 5 unknowns. • All of fluid dynamics is contained in these equations
  • 21. Governing equations • How to derive these equations?  Integral form  Differential form • Reynolds transport theorem: Rate of change of “stuff” inside a control volume = Net flux of “stuff” entering/leaving the boundaries + generation of “stuff” – destruction of “stuff” • In addition, need some more info (such as stress-strain relation, temperature-heat flux relation etc.) The “stuff” U is nothing but mass, momentum and energy
  • 24. Example: One dimensional steady inviscid flow Sound familiar?

Editor's Notes

  1. All of fluid dynamics is contained in these three equations
  2. Derive continuity equation here.