SlideShare a Scribd company logo
1 of 31
1Built-to-Spec | Product Approval | Engineering Services | Software Development
Fluid Mechanics: CFD Perspective
Fluid mechanics primer (initial thoughts) for CFD
and equations of CFD and uses
 Prof Anil W Date
 Mechanical Engineering, IIT Bombay
2
©ZeusNumerixPvtLtd:ConfidentialDocument
21-Sep-17 Introduction to CFD
2
Fluid Mechanics Branches
Theoretical –
write eqns.
for flow
Experimental
methods
Computational
Fluid dynamics
Analysis Tool
Experimental
Theoretical
Computational
Year 1600 1700 1800 1900 2000
3
©ZeusNumerixPvtLtd:ConfidentialDocument
Theoretical Fluid Dynamics (TFD)
21-Sep-17 Introduction to CFD
 Most important branch of fluid dynamics
 Crucial in understanding concepts (e.g. Lift = ρUxΓ)
 Compressible flow in a converging diverging nozzles
 Usually good in predicting trends (e.g.: δ ~ Re-1/2)
 Generates ample information with simple assumptions
 SR-71 Blackbird designed completely using TFD
 TFD requires insight
 Requires extensive training/experience
 Idea to incorporate most fluid dynamics in tools
 Manual work requires knowledge of essential fluid dynamics
3
4
©ZeusNumerixPvtLtd:ConfidentialDocument
What Should I Learn?
21-Sep-17 Introduction to CFD
 Everyone MUST learn theoretical fluid dynamics
 A good engineer should understand the pro’s and con’s of computational vs.
experimental methods
 Interestingly in old days
 Everyone believed experimental results except the person who conducted the
experiment
 No one believed results from Computational Fluid Dynamics except the person who did
CFD
 What made this difference?
 Computing power and algorithms to resolve the scales turbulence (i.e. essence of fluid
flow)
4
5
©ZeusNumerixPvtLtd:ConfidentialDocument
21-Sep-17 Introduction to CFD
5
Computing Power: Flow over Wing
Method
Scale of
turbulence
Resolution required
Surface
points
Wake points Time steps
Total
operations
Direct Navier Stokes
(DNS)
No modeling 1016 1017 108 1025
Large Eddy Simulation
(LES)
Sub-grid modeling 1012 109 108 1020
LES with wall layer
Near wall & sub-
grid modeling
1010 109 107 1017
Reynolds Navier Stokes
(RANS)
All scales are
modeled
107 107 104 1011
Euler equation Scales are absent 107 107 103 1010
Inviscid vortex based
methods
Scales are absent 102 102 103 105
WingofAR=10,Re=5x106
6
©ZeusNumerixPvtLtd:ConfidentialDocument
Physics of Flow
Mathematical formulations
21-Sep-17 Introduction to CFD
6
7
©ZeusNumerixPvtLtd:ConfidentialDocument
Physics of Incompressible Flow
21-Sep-17 Introduction to CFD
 Incompressible flow is governed by:
 Conservation of mass (continuity equation)
u/x + v/y + w/z = 0 (1)
 Conservation of momentum (Euler equation)
(u/t + uu/x + vu/y + wu/z) + p/x = 0 (2)
( v/t + uv/x + vv/y + wv/z )+ p/y = 0 (3)
 (w/t + uw/x + vw/y + ww/z) + p/z = 0 (4)
 Density is constant. Temperature doesn’t take part in motion of flow
 Heat energy of an element, e or temperature, T (if Cp is constant) is convected as if
‘T’ is an independent attribute of fluid not related to its motion
7
8
©ZeusNumerixPvtLtd:ConfidentialDocument
Physics of Incompressible Flow
21-Sep-17 Introduction to CFD
 In incompressible flows, kinetic energy may convert to internal energy (heat), but not
vice versa
 Specific heat capacity of liquids large
 Insignificant effect on temperature due to loss of kinetic energy
 Thus only four equations (accounting for viscosity) are adequate for solution of
incompressible fluid motion .
 The energy equation is required to be coupled with eqn of motion. It would be in fact
wrong to simultaneously solve for them
8
9
©ZeusNumerixPvtLtd:ConfidentialDocument
Peculiarity of PDEs
21-Sep-17 Introduction to CFD
 In principle eqns. (2) to (4) ( slide 7)can be used to correct u, v and w from their
guesses (initial condition)
 What can be done so that pressure can be corrected from its initial condition ? Note
that a term p/t does not exist.
 Mathematically, treatment for p must be different from the treatment to be given to
u, v and w
 Interestingly, p/ x, p/ y and p/ z appear in the equations, but pressure, p does
not appear in any of the equations. Thus the solution does not change if p = p +
constant
9
10
©ZeusNumerixPvtLtd:ConfidentialDocument
Compressible Flow
21-Sep-17 Introduction to CFD
 Compressible flow is governed by:
 Conservation of mass (continuity equation)
/t + (u)/x + (v)/y + (w)/z = 0 (1)
 Conservation of momentum (Euler equation)
(u)/t + (u2)/x + (uv)/y + (uw)/z + p/x = 0 (2)
(v)/t + (uv)/x + (v2)/y + (vw)/z + p/y =0 (3)
(w)/t + (uw)/x + (vw)/y + (w2)/z + p/z = 0 (4)
 Conservation of energy equation
(E)/t + (u(E+p))/x + (v(E+p))/y + (w(E+p))/z = 0 (5)
10
11
©ZeusNumerixPvtLtd:ConfidentialDocument
Physics of Compressible Flow
21-Sep-17 Introduction to CFD
E =  (e + ½ u2)
E = internal energy (e) + kinetic energy (½ u2)
 In principle eqns. (1) to (5) can be used to correct ρ, u, v, w and E (or e) from their
initial condition
 What can be done so that pressure can be corrected from its initial condition? Note
that there is no equation for p. This is where equation of state (EoS) can be used
p = (-1)(E- ½ u2)
 Note that equations do have p as well as p/ x, p/ y and p/ z. Hence solution
depends on pressure, p
11
12
©ZeusNumerixPvtLtd:ConfidentialDocument
Peculiarity of PDEs
21-Sep-17 Introduction to CFD
 There 6 unknown (ρ, u, v, w, e and p) and 5 partial differential equations + one
algebraic equations; i.e. the problem is well posed.
 Interestingly, compressible CFD prefers to choose internal energy, e as a variable and
hence equation of state is p =ρ (γ-1)(E- ½ u2) and not the conventional p = ρRT
 In compressible flows, internal energy can be converted to mechanical and kinetic
energy and vice versa. Thus momentum equation can not be considered as
conservation of momentum equation.
 Though not stated explicitly, the second law of thermodynamics must be obeyed
12
13
©ZeusNumerixPvtLtd:ConfidentialDocument
CFD the Tool
Description of CFD Process
21-Sep-17 Introduction to CFD
13
14
©ZeusNumerixPvtLtd:ConfidentialDocument
21-Sep-17 Introduction to CFD
14
CFD in Six Steps
3
2
Build Computational
Domain
Create
suitable Mesh
Boundary Conditions &
Initial conditions
Solution of discrete equationsPlot flow FieldInterpret solution
These steps will be discussed in detail in this workshop
15
©ZeusNumerixPvtLtd:ConfidentialDocument
Brief Steps
21-Sep-17 Introduction to CFD
 Identify the computational domain
 Generate the correct type of mesh
 Structured or Unstructured mesh or hybrid mesh
 Set up Simulation
 Assign boundary conditions, initial conditions, etc
 Execute the solver
 Choose accuracy, Viscous/In-viscid, Laminar / Turbulent, Incompressible / compressible,
etc
 Post-process the data
 Organize data and understand results
15
16
©ZeusNumerixPvtLtd:ConfidentialDocument
Brief Steps
20-May-2019 Capabilities on Land Systems @ Zeus Numerix
 Understand the fluid dynamics
 Do the results make any sense? Is the design correct?
 Note that at every step, good understanding of theoretical fluid dynamics is
essential!
16
17
©ZeusNumerixPvtLtd:ConfidentialDocument
CFD – The Computational Tool
21-Sep-17 Introduction to CFD
 CFD tools are required for solving industrial problems
 Emphasis is on economy of solution without sacrificing the required accuracy
 Advances are in tools is linked to other branches of technology; e.g. storage devices
 Tools are for getting rid of manual work
 Tools must capture as much physics as possible from first principle
 They must a part of larger suite of simulation technologies such as FEM, CEM, etc.
being used by the engineering fraternity
 Measure of success – the ease with which diverse problems can be solved
17
18
©ZeusNumerixPvtLtd:ConfidentialDocument
Four important Tools of CFD
21-Sep-17 Introduction to CFD
 Importance of the tools vis-à-vis time
 Creating / Repairing Geometry
 Discretising Domain
 Numerical Simulation
 Post-processing the Data
18
0
10
20
30
40
50
60
70
80
Days
CAD Grids Solution Post_processing
0
1
2
3
4
5
6
7
Days
CAD Grids Solution Post_processing
0
20
40
60
80
100
120
140
160
180
Minutes
CAD Grids Solution Post_processing
Case #2
Case #3
Case #1
Source : Catherine M. Maskyumiuk, et. al.
Application of CFD in Aeronautics at
NASAAMES Research Centre, pp 57-67,
NASA CP 3291, 1995
19
©ZeusNumerixPvtLtd:ConfidentialDocument
CAD Geometry
21-Sep-17 Introduction to CFD
 Importance of Geometry in CFD
 CFD tools can become a commodity only if CAD data is read
 Geometry fidelity is an essential element in CFD, Retain the details that matter for
simulation
 Errors in CAD data in the form of gaps, overlaps, non-physical protrusions is expensive
19
20
©ZeusNumerixPvtLtd:ConfidentialDocument
 Structured Grids - One-to-one
mapping
 Sponge analogy: Transform a 2D
domain in to a rectangle (and 3D
domain to a box) by a suitable affine
transformation
 How to divide the domain into
collection of rectangular blocks?
 Un-structured Grids
 Assembly of simple shapes : Fill a
given domain with simple shapes
such as triangles so that given
domain is fully covered
 Emphasis is on cells there are grid
points but no continuous lines or
what can be called as grid lines
21-Sep-17 Introduction to CFD
20
Grid Generation
21
©ZeusNumerixPvtLtd:ConfidentialDocument
0
10
20
30
40
50
60
70
80
0thdimension
1D
Axisymmetric
2DSingleBody
2DUnsteady
2DMulti-Body
3DSingleBody
3DMulti-Body
Numerical Algorithms
21-Sep-17 Introduction to CFD
 3D Problems are very complex to solve, 2D constitutes CFD of one year duration
 Reactive flows bigger challenge than viscosity
 Modelling turbulence & phase change are research fields
21
Normally taught in universities
22
©ZeusNumerixPvtLtd:ConfidentialDocument
Post-Processing
21-Sep-17 Introduction to CFD
 Purpose of computing in insight; not only no’s
 Advection of massless particle from one point to another obeys two differential
equation
Position = Position |t =0 + (t) velocity
D(colour)/Dt = C 2(color concentration)
22
23
©ZeusNumerixPvtLtd:ConfidentialDocument
Universal Challenge
21-Sep-17 Introduction to CFD
 Reduce Development Cost
 Current design methods: more than 70 % of project cost goes for Test-Fail-Fix cycle
 Can we carry out “Test-Fail-Fix cycle” with virtual parts, sub-systems, systems?
23
Where We Need to be
24
©ZeusNumerixPvtLtd:ConfidentialDocument
CFD; An Enabling Technology
21-Sep-17 Introduction to CFD
 The Technology Readiness Level (TRL) of CFD has moved from TRL 1 to TRL 7
 The current Requirements
 CFD now works for “real” problems
 CFD is an engineering tool for designers and NOT ONLY for CFD scientist
 Turnaround times is compatible with the design cycle (say)
 Conceptual design (1-2 months)
 Preliminary design (4-6 months)
 Detail design (6-9 months)
 It must produce required accuracy
 The cost must be reasonable
24
25
©ZeusNumerixPvtLtd:ConfidentialDocument
CFD: Design Process
21-Sep-17 Introduction to CFD
 CFD needs provide
 Flow field analysis
 Structural and thermal loads
 Approach - Use best tool available
 Use Multiple customized tools
 Get solutions from many software developed strategic partners, in-house, commercial
of-the-shelf, or government laboratories
 Always use hierarchical physical models (e.g. laminar flames first then turbulent flames)
 Validate and calibrate periodically
 Emphasize getting engineering solutions and not very accurate solution
 CFD results must make physical sense
25
26
©ZeusNumerixPvtLtd:ConfidentialDocument
Validation
21-Sep-17 Introduction to CFD
 Validation is essential
 Ensure that analysis results are sufficiently reliable and accurate for intended purposes
 Must Provide necessary confidence to the designer
 It should offer to quantify
 Code accuracy and sensitivities
 Validation is learning process for application engineers
 Important to know what not to do
 Validation process depend on end application and the intended use of CFD
26
27
©ZeusNumerixPvtLtd:ConfidentialDocument
Current Status
21-Sep-17 Introduction to CFD
 Now CFD is defined as a process of understanding flow field
 Most time consuming process are
 CAD repair and
 Mesh generation
 Automating the CAD repair and mesh generation will lead to high efficiency
 Current problems size is around 20 to 30 million cells. Complete aircraft, missile,
rocket, etc can be analysed
 Turn around time for a drag polar on high performance computers could be less than
12 hours
27
28
©ZeusNumerixPvtLtd:ConfidentialDocument
CFD Needs
21-Sep-17 Introduction to CFD
 Extensive use of CFD requires quality data for validation. The quality data sources
are:
 Analytical solutions
 Very high fidelity simulations (e.g. DNS)
 Benchmark experiments
 Subcomponent Component tests and system tests
 Validation is industry specific
 Validation for aerospace applications can not be derived from automobile industry
 Validation is continuous process
28
29
©ZeusNumerixPvtLtd:ConfidentialDocument
References
21-Sep-17 Introduction to CFD
 Introduction to Computational Fluid Dynamics, A.W. Date, Cambridge
 Computational Fluid Dynamics, Anderson, JD, McGraw Hill
 An introduction to CFD, W. Malasekara, H. K. Versteeg
 Computational Methods for Fluid Dynamics, J. H. Ferziger & M. Peric, Spinger
 Computational Gas Dynamics, Cubert B. Laney, Cambridge university Press
 Handbook of Computational Fluid Mechanics, Roger Peyret
 Numerical Computation of Internal and External Flows (2 volumes), C. Hirsch, John
Wiley & Sons
29
30
©ZeusNumerixPvtLtd:ConfidentialDocument
References
20-May-2019 Capabilities on Land Systems @ Zeus Numerix
 Numerical Simulation in Fluid Dynamics – A practical Introduction, Michael Griebel,
et.al., Siam
 Numerical Methods for Conservation Laws, RJ Le Veque, Birkhauser Verlag
 Principles of Computational Fluid Dynamics, Pieter Wesseling, Spinger
 Riemann Solvers and Numerical Methods for Fluid Dynamics, Toro, E.F., Springer
30
31
www.zeusnumerix.com
+91 98190 09836
Abhishek Jain
abhishek@zeusnumerix.com

More Related Content

Similar to CFD Lecture (2/8): Fluid Mechanics: CFD Perspective

Introduction to cfd
Introduction to cfdIntroduction to cfd
Introduction to cfd
Santosh V
 
ravishanara-2020-implementation.pdf
ravishanara-2020-implementation.pdfravishanara-2020-implementation.pdf
ravishanara-2020-implementation.pdf
SID202
 
MarcoCeze_defense
MarcoCeze_defenseMarcoCeze_defense
MarcoCeze_defense
Marco Ceze
 

Similar to CFD Lecture (2/8): Fluid Mechanics: CFD Perspective (20)

CFD Lecture (1/8): ZNTutor CFD- An Introduction
CFD Lecture (1/8): ZNTutor CFD- An IntroductionCFD Lecture (1/8): ZNTutor CFD- An Introduction
CFD Lecture (1/8): ZNTutor CFD- An Introduction
 
CFD_notes.pdf
CFD_notes.pdfCFD_notes.pdf
CFD_notes.pdf
 
Optimization in CFD and Case Studies
Optimization in CFD and Case StudiesOptimization in CFD and Case Studies
Optimization in CFD and Case Studies
 
A Novel Nonlinear Control of Boost Converter using CCM Phase Plane
A Novel Nonlinear Control of Boost Converter using CCM Phase PlaneA Novel Nonlinear Control of Boost Converter using CCM Phase Plane
A Novel Nonlinear Control of Boost Converter using CCM Phase Plane
 
Lecture 1.ppt
Lecture 1.pptLecture 1.ppt
Lecture 1.ppt
 
A Novel Technique in Software Engineering for Building Scalable Large Paralle...
A Novel Technique in Software Engineering for Building Scalable Large Paralle...A Novel Technique in Software Engineering for Building Scalable Large Paralle...
A Novel Technique in Software Engineering for Building Scalable Large Paralle...
 
CFD-CH01-Rao-2021-1.pdf
CFD-CH01-Rao-2021-1.pdfCFD-CH01-Rao-2021-1.pdf
CFD-CH01-Rao-2021-1.pdf
 
CFD Lecture (3/8): Mesh Generation in CFD
CFD Lecture (3/8): Mesh Generation in CFDCFD Lecture (3/8): Mesh Generation in CFD
CFD Lecture (3/8): Mesh Generation in CFD
 
Cfd 0
Cfd 0Cfd 0
Cfd 0
 
Cfd 0
Cfd 0Cfd 0
Cfd 0
 
Re_Equation.pdf
Re_Equation.pdfRe_Equation.pdf
Re_Equation.pdf
 
CFD Cornell Energy Workshop - M.F. Campuzano Ochoa
CFD Cornell Energy Workshop - M.F. Campuzano OchoaCFD Cornell Energy Workshop - M.F. Campuzano Ochoa
CFD Cornell Energy Workshop - M.F. Campuzano Ochoa
 
Introduction to cfd
Introduction to cfdIntroduction to cfd
Introduction to cfd
 
Introduction to cfd
Introduction to cfdIntroduction to cfd
Introduction to cfd
 
Introduction to cfd 2
Introduction to cfd 2Introduction to cfd 2
Introduction to cfd 2
 
ravishanara-2020-implementation.pdf
ravishanara-2020-implementation.pdfravishanara-2020-implementation.pdf
ravishanara-2020-implementation.pdf
 
Optimal Power Dispatch via Multistage Stochastic Programming
Optimal Power Dispatch via Multistage Stochastic ProgrammingOptimal Power Dispatch via Multistage Stochastic Programming
Optimal Power Dispatch via Multistage Stochastic Programming
 
Introduction to Computational Fluid Dynamics (CFD)
Introduction to Computational Fluid Dynamics (CFD)Introduction to Computational Fluid Dynamics (CFD)
Introduction to Computational Fluid Dynamics (CFD)
 
CFD Lecture (5/8): Solvers- Compressible Flow
CFD Lecture (5/8): Solvers- Compressible FlowCFD Lecture (5/8): Solvers- Compressible Flow
CFD Lecture (5/8): Solvers- Compressible Flow
 
MarcoCeze_defense
MarcoCeze_defenseMarcoCeze_defense
MarcoCeze_defense
 

More from Abhishek Jain

More from Abhishek Jain (20)

Aero Acoustic Field & its Modeling @ Zeus Numerix
Aero Acoustic Field & its Modeling @ Zeus NumerixAero Acoustic Field & its Modeling @ Zeus Numerix
Aero Acoustic Field & its Modeling @ Zeus Numerix
 
CEM Workshop Lectures (10/11): Numerical Modeling of Radar Absorbing Materials
CEM Workshop Lectures (10/11): Numerical Modeling of Radar Absorbing MaterialsCEM Workshop Lectures (10/11): Numerical Modeling of Radar Absorbing Materials
CEM Workshop Lectures (10/11): Numerical Modeling of Radar Absorbing Materials
 
CEM Workshop Lectures (9/11): Modelling Electromagnetics Field
CEM Workshop Lectures (9/11):  Modelling Electromagnetics FieldCEM Workshop Lectures (9/11):  Modelling Electromagnetics Field
CEM Workshop Lectures (9/11): Modelling Electromagnetics Field
 
CEM Workshop Lectures (8/11): Method of moments
CEM Workshop Lectures (8/11):  Method of momentsCEM Workshop Lectures (8/11):  Method of moments
CEM Workshop Lectures (8/11): Method of moments
 
CEM Workshop Lectures (7/11): PO/PTD Solver for RCS Computation
CEM Workshop Lectures (7/11): PO/PTD Solver for RCS ComputationCEM Workshop Lectures (7/11): PO/PTD Solver for RCS Computation
CEM Workshop Lectures (7/11): PO/PTD Solver for RCS Computation
 
CEM Workshop Lectures (5/11): Best Practices in RCS Prediction
CEM Workshop Lectures (5/11): Best Practices in RCS PredictionCEM Workshop Lectures (5/11): Best Practices in RCS Prediction
CEM Workshop Lectures (5/11): Best Practices in RCS Prediction
 
CEM Workshop Lectures (4/11): CEM of High Frequency Methods
CEM Workshop Lectures (4/11): CEM of High Frequency MethodsCEM Workshop Lectures (4/11): CEM of High Frequency Methods
CEM Workshop Lectures (4/11): CEM of High Frequency Methods
 
CEM Workshop Lectures (1/11): ABC of CEM and RCS
CEM Workshop Lectures (1/11): ABC of CEM and RCSCEM Workshop Lectures (1/11): ABC of CEM and RCS
CEM Workshop Lectures (1/11): ABC of CEM and RCS
 
CFD Lecture (8/8): CFD in Chemical Systems
CFD Lecture (8/8): CFD in Chemical SystemsCFD Lecture (8/8): CFD in Chemical Systems
CFD Lecture (8/8): CFD in Chemical Systems
 
CFD Lecture (7/8): Best Practices in CFD
CFD Lecture (7/8): Best Practices in CFDCFD Lecture (7/8): Best Practices in CFD
CFD Lecture (7/8): Best Practices in CFD
 
Revisiting Projection Methods over Automatic Oct-tree Meshes
Revisiting Projection Methods over Automatic Oct-tree MeshesRevisiting Projection Methods over Automatic Oct-tree Meshes
Revisiting Projection Methods over Automatic Oct-tree Meshes
 
CFD Study on Controlling Aerosol Dispersion Inside Closed Ventilated Spaces
CFD Study on Controlling Aerosol Dispersion Inside Closed Ventilated SpacesCFD Study on Controlling Aerosol Dispersion Inside Closed Ventilated Spaces
CFD Study on Controlling Aerosol Dispersion Inside Closed Ventilated Spaces
 
Automatic Target Recognition Using Recurrent Neural Networks
Automatic Target Recognition Using Recurrent Neural NetworksAutomatic Target Recognition Using Recurrent Neural Networks
Automatic Target Recognition Using Recurrent Neural Networks
 
An Approach of Minimizing Dust Ingress Problem in an Open Vehicle
An Approach of Minimizing Dust Ingress Problem in an Open VehicleAn Approach of Minimizing Dust Ingress Problem in an Open Vehicle
An Approach of Minimizing Dust Ingress Problem in an Open Vehicle
 
Simulations Of Unsteady Flow Around A Generic Pickup Truck Using Reynolds Ave...
Simulations Of Unsteady Flow Around A Generic Pickup Truck Using Reynolds Ave...Simulations Of Unsteady Flow Around A Generic Pickup Truck Using Reynolds Ave...
Simulations Of Unsteady Flow Around A Generic Pickup Truck Using Reynolds Ave...
 
CFD Studies of Blended Wing Body Configuration for High Angles of Attack -- Z...
CFD Studies of Blended Wing Body Configuration for High Angles of Attack -- Z...CFD Studies of Blended Wing Body Configuration for High Angles of Attack -- Z...
CFD Studies of Blended Wing Body Configuration for High Angles of Attack -- Z...
 
Development of Software for Sizing of Axial Flow Fans -- Zeus Numerix
Development of Software for Sizing of Axial Flow Fans -- Zeus NumerixDevelopment of Software for Sizing of Axial Flow Fans -- Zeus Numerix
Development of Software for Sizing of Axial Flow Fans -- Zeus Numerix
 
Static Aeroelasticity Analysis of Spinning Rocket for Divergence Speed -- Zeu...
Static Aeroelasticity Analysis of Spinning Rocket for Divergence Speed -- Zeu...Static Aeroelasticity Analysis of Spinning Rocket for Divergence Speed -- Zeu...
Static Aeroelasticity Analysis of Spinning Rocket for Divergence Speed -- Zeu...
 
Effect of Geometry on Variation of Heat Flux and Drag for Launch Vehicle -- Z...
Effect of Geometry on Variation of Heat Flux and Drag for Launch Vehicle -- Z...Effect of Geometry on Variation of Heat Flux and Drag for Launch Vehicle -- Z...
Effect of Geometry on Variation of Heat Flux and Drag for Launch Vehicle -- Z...
 
Numerical Simulation Over Flat-Disk Aerospike at Mach 6
Numerical Simulation Over Flat-Disk Aerospike at Mach 6Numerical Simulation Over Flat-Disk Aerospike at Mach 6
Numerical Simulation Over Flat-Disk Aerospike at Mach 6
 

Recently uploaded

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Recently uploaded (20)

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 

CFD Lecture (2/8): Fluid Mechanics: CFD Perspective

  • 1. 1Built-to-Spec | Product Approval | Engineering Services | Software Development Fluid Mechanics: CFD Perspective Fluid mechanics primer (initial thoughts) for CFD and equations of CFD and uses  Prof Anil W Date  Mechanical Engineering, IIT Bombay
  • 2. 2 ©ZeusNumerixPvtLtd:ConfidentialDocument 21-Sep-17 Introduction to CFD 2 Fluid Mechanics Branches Theoretical – write eqns. for flow Experimental methods Computational Fluid dynamics Analysis Tool Experimental Theoretical Computational Year 1600 1700 1800 1900 2000
  • 3. 3 ©ZeusNumerixPvtLtd:ConfidentialDocument Theoretical Fluid Dynamics (TFD) 21-Sep-17 Introduction to CFD  Most important branch of fluid dynamics  Crucial in understanding concepts (e.g. Lift = ρUxΓ)  Compressible flow in a converging diverging nozzles  Usually good in predicting trends (e.g.: δ ~ Re-1/2)  Generates ample information with simple assumptions  SR-71 Blackbird designed completely using TFD  TFD requires insight  Requires extensive training/experience  Idea to incorporate most fluid dynamics in tools  Manual work requires knowledge of essential fluid dynamics 3
  • 4. 4 ©ZeusNumerixPvtLtd:ConfidentialDocument What Should I Learn? 21-Sep-17 Introduction to CFD  Everyone MUST learn theoretical fluid dynamics  A good engineer should understand the pro’s and con’s of computational vs. experimental methods  Interestingly in old days  Everyone believed experimental results except the person who conducted the experiment  No one believed results from Computational Fluid Dynamics except the person who did CFD  What made this difference?  Computing power and algorithms to resolve the scales turbulence (i.e. essence of fluid flow) 4
  • 5. 5 ©ZeusNumerixPvtLtd:ConfidentialDocument 21-Sep-17 Introduction to CFD 5 Computing Power: Flow over Wing Method Scale of turbulence Resolution required Surface points Wake points Time steps Total operations Direct Navier Stokes (DNS) No modeling 1016 1017 108 1025 Large Eddy Simulation (LES) Sub-grid modeling 1012 109 108 1020 LES with wall layer Near wall & sub- grid modeling 1010 109 107 1017 Reynolds Navier Stokes (RANS) All scales are modeled 107 107 104 1011 Euler equation Scales are absent 107 107 103 1010 Inviscid vortex based methods Scales are absent 102 102 103 105 WingofAR=10,Re=5x106
  • 6. 6 ©ZeusNumerixPvtLtd:ConfidentialDocument Physics of Flow Mathematical formulations 21-Sep-17 Introduction to CFD 6
  • 7. 7 ©ZeusNumerixPvtLtd:ConfidentialDocument Physics of Incompressible Flow 21-Sep-17 Introduction to CFD  Incompressible flow is governed by:  Conservation of mass (continuity equation) u/x + v/y + w/z = 0 (1)  Conservation of momentum (Euler equation) (u/t + uu/x + vu/y + wu/z) + p/x = 0 (2) ( v/t + uv/x + vv/y + wv/z )+ p/y = 0 (3)  (w/t + uw/x + vw/y + ww/z) + p/z = 0 (4)  Density is constant. Temperature doesn’t take part in motion of flow  Heat energy of an element, e or temperature, T (if Cp is constant) is convected as if ‘T’ is an independent attribute of fluid not related to its motion 7
  • 8. 8 ©ZeusNumerixPvtLtd:ConfidentialDocument Physics of Incompressible Flow 21-Sep-17 Introduction to CFD  In incompressible flows, kinetic energy may convert to internal energy (heat), but not vice versa  Specific heat capacity of liquids large  Insignificant effect on temperature due to loss of kinetic energy  Thus only four equations (accounting for viscosity) are adequate for solution of incompressible fluid motion .  The energy equation is required to be coupled with eqn of motion. It would be in fact wrong to simultaneously solve for them 8
  • 9. 9 ©ZeusNumerixPvtLtd:ConfidentialDocument Peculiarity of PDEs 21-Sep-17 Introduction to CFD  In principle eqns. (2) to (4) ( slide 7)can be used to correct u, v and w from their guesses (initial condition)  What can be done so that pressure can be corrected from its initial condition ? Note that a term p/t does not exist.  Mathematically, treatment for p must be different from the treatment to be given to u, v and w  Interestingly, p/ x, p/ y and p/ z appear in the equations, but pressure, p does not appear in any of the equations. Thus the solution does not change if p = p + constant 9
  • 10. 10 ©ZeusNumerixPvtLtd:ConfidentialDocument Compressible Flow 21-Sep-17 Introduction to CFD  Compressible flow is governed by:  Conservation of mass (continuity equation) /t + (u)/x + (v)/y + (w)/z = 0 (1)  Conservation of momentum (Euler equation) (u)/t + (u2)/x + (uv)/y + (uw)/z + p/x = 0 (2) (v)/t + (uv)/x + (v2)/y + (vw)/z + p/y =0 (3) (w)/t + (uw)/x + (vw)/y + (w2)/z + p/z = 0 (4)  Conservation of energy equation (E)/t + (u(E+p))/x + (v(E+p))/y + (w(E+p))/z = 0 (5) 10
  • 11. 11 ©ZeusNumerixPvtLtd:ConfidentialDocument Physics of Compressible Flow 21-Sep-17 Introduction to CFD E =  (e + ½ u2) E = internal energy (e) + kinetic energy (½ u2)  In principle eqns. (1) to (5) can be used to correct ρ, u, v, w and E (or e) from their initial condition  What can be done so that pressure can be corrected from its initial condition? Note that there is no equation for p. This is where equation of state (EoS) can be used p = (-1)(E- ½ u2)  Note that equations do have p as well as p/ x, p/ y and p/ z. Hence solution depends on pressure, p 11
  • 12. 12 ©ZeusNumerixPvtLtd:ConfidentialDocument Peculiarity of PDEs 21-Sep-17 Introduction to CFD  There 6 unknown (ρ, u, v, w, e and p) and 5 partial differential equations + one algebraic equations; i.e. the problem is well posed.  Interestingly, compressible CFD prefers to choose internal energy, e as a variable and hence equation of state is p =ρ (γ-1)(E- ½ u2) and not the conventional p = ρRT  In compressible flows, internal energy can be converted to mechanical and kinetic energy and vice versa. Thus momentum equation can not be considered as conservation of momentum equation.  Though not stated explicitly, the second law of thermodynamics must be obeyed 12
  • 13. 13 ©ZeusNumerixPvtLtd:ConfidentialDocument CFD the Tool Description of CFD Process 21-Sep-17 Introduction to CFD 13
  • 14. 14 ©ZeusNumerixPvtLtd:ConfidentialDocument 21-Sep-17 Introduction to CFD 14 CFD in Six Steps 3 2 Build Computational Domain Create suitable Mesh Boundary Conditions & Initial conditions Solution of discrete equationsPlot flow FieldInterpret solution These steps will be discussed in detail in this workshop
  • 15. 15 ©ZeusNumerixPvtLtd:ConfidentialDocument Brief Steps 21-Sep-17 Introduction to CFD  Identify the computational domain  Generate the correct type of mesh  Structured or Unstructured mesh or hybrid mesh  Set up Simulation  Assign boundary conditions, initial conditions, etc  Execute the solver  Choose accuracy, Viscous/In-viscid, Laminar / Turbulent, Incompressible / compressible, etc  Post-process the data  Organize data and understand results 15
  • 16. 16 ©ZeusNumerixPvtLtd:ConfidentialDocument Brief Steps 20-May-2019 Capabilities on Land Systems @ Zeus Numerix  Understand the fluid dynamics  Do the results make any sense? Is the design correct?  Note that at every step, good understanding of theoretical fluid dynamics is essential! 16
  • 17. 17 ©ZeusNumerixPvtLtd:ConfidentialDocument CFD – The Computational Tool 21-Sep-17 Introduction to CFD  CFD tools are required for solving industrial problems  Emphasis is on economy of solution without sacrificing the required accuracy  Advances are in tools is linked to other branches of technology; e.g. storage devices  Tools are for getting rid of manual work  Tools must capture as much physics as possible from first principle  They must a part of larger suite of simulation technologies such as FEM, CEM, etc. being used by the engineering fraternity  Measure of success – the ease with which diverse problems can be solved 17
  • 18. 18 ©ZeusNumerixPvtLtd:ConfidentialDocument Four important Tools of CFD 21-Sep-17 Introduction to CFD  Importance of the tools vis-à-vis time  Creating / Repairing Geometry  Discretising Domain  Numerical Simulation  Post-processing the Data 18 0 10 20 30 40 50 60 70 80 Days CAD Grids Solution Post_processing 0 1 2 3 4 5 6 7 Days CAD Grids Solution Post_processing 0 20 40 60 80 100 120 140 160 180 Minutes CAD Grids Solution Post_processing Case #2 Case #3 Case #1 Source : Catherine M. Maskyumiuk, et. al. Application of CFD in Aeronautics at NASAAMES Research Centre, pp 57-67, NASA CP 3291, 1995
  • 19. 19 ©ZeusNumerixPvtLtd:ConfidentialDocument CAD Geometry 21-Sep-17 Introduction to CFD  Importance of Geometry in CFD  CFD tools can become a commodity only if CAD data is read  Geometry fidelity is an essential element in CFD, Retain the details that matter for simulation  Errors in CAD data in the form of gaps, overlaps, non-physical protrusions is expensive 19
  • 20. 20 ©ZeusNumerixPvtLtd:ConfidentialDocument  Structured Grids - One-to-one mapping  Sponge analogy: Transform a 2D domain in to a rectangle (and 3D domain to a box) by a suitable affine transformation  How to divide the domain into collection of rectangular blocks?  Un-structured Grids  Assembly of simple shapes : Fill a given domain with simple shapes such as triangles so that given domain is fully covered  Emphasis is on cells there are grid points but no continuous lines or what can be called as grid lines 21-Sep-17 Introduction to CFD 20 Grid Generation
  • 21. 21 ©ZeusNumerixPvtLtd:ConfidentialDocument 0 10 20 30 40 50 60 70 80 0thdimension 1D Axisymmetric 2DSingleBody 2DUnsteady 2DMulti-Body 3DSingleBody 3DMulti-Body Numerical Algorithms 21-Sep-17 Introduction to CFD  3D Problems are very complex to solve, 2D constitutes CFD of one year duration  Reactive flows bigger challenge than viscosity  Modelling turbulence & phase change are research fields 21 Normally taught in universities
  • 22. 22 ©ZeusNumerixPvtLtd:ConfidentialDocument Post-Processing 21-Sep-17 Introduction to CFD  Purpose of computing in insight; not only no’s  Advection of massless particle from one point to another obeys two differential equation Position = Position |t =0 + (t) velocity D(colour)/Dt = C 2(color concentration) 22
  • 23. 23 ©ZeusNumerixPvtLtd:ConfidentialDocument Universal Challenge 21-Sep-17 Introduction to CFD  Reduce Development Cost  Current design methods: more than 70 % of project cost goes for Test-Fail-Fix cycle  Can we carry out “Test-Fail-Fix cycle” with virtual parts, sub-systems, systems? 23 Where We Need to be
  • 24. 24 ©ZeusNumerixPvtLtd:ConfidentialDocument CFD; An Enabling Technology 21-Sep-17 Introduction to CFD  The Technology Readiness Level (TRL) of CFD has moved from TRL 1 to TRL 7  The current Requirements  CFD now works for “real” problems  CFD is an engineering tool for designers and NOT ONLY for CFD scientist  Turnaround times is compatible with the design cycle (say)  Conceptual design (1-2 months)  Preliminary design (4-6 months)  Detail design (6-9 months)  It must produce required accuracy  The cost must be reasonable 24
  • 25. 25 ©ZeusNumerixPvtLtd:ConfidentialDocument CFD: Design Process 21-Sep-17 Introduction to CFD  CFD needs provide  Flow field analysis  Structural and thermal loads  Approach - Use best tool available  Use Multiple customized tools  Get solutions from many software developed strategic partners, in-house, commercial of-the-shelf, or government laboratories  Always use hierarchical physical models (e.g. laminar flames first then turbulent flames)  Validate and calibrate periodically  Emphasize getting engineering solutions and not very accurate solution  CFD results must make physical sense 25
  • 26. 26 ©ZeusNumerixPvtLtd:ConfidentialDocument Validation 21-Sep-17 Introduction to CFD  Validation is essential  Ensure that analysis results are sufficiently reliable and accurate for intended purposes  Must Provide necessary confidence to the designer  It should offer to quantify  Code accuracy and sensitivities  Validation is learning process for application engineers  Important to know what not to do  Validation process depend on end application and the intended use of CFD 26
  • 27. 27 ©ZeusNumerixPvtLtd:ConfidentialDocument Current Status 21-Sep-17 Introduction to CFD  Now CFD is defined as a process of understanding flow field  Most time consuming process are  CAD repair and  Mesh generation  Automating the CAD repair and mesh generation will lead to high efficiency  Current problems size is around 20 to 30 million cells. Complete aircraft, missile, rocket, etc can be analysed  Turn around time for a drag polar on high performance computers could be less than 12 hours 27
  • 28. 28 ©ZeusNumerixPvtLtd:ConfidentialDocument CFD Needs 21-Sep-17 Introduction to CFD  Extensive use of CFD requires quality data for validation. The quality data sources are:  Analytical solutions  Very high fidelity simulations (e.g. DNS)  Benchmark experiments  Subcomponent Component tests and system tests  Validation is industry specific  Validation for aerospace applications can not be derived from automobile industry  Validation is continuous process 28
  • 29. 29 ©ZeusNumerixPvtLtd:ConfidentialDocument References 21-Sep-17 Introduction to CFD  Introduction to Computational Fluid Dynamics, A.W. Date, Cambridge  Computational Fluid Dynamics, Anderson, JD, McGraw Hill  An introduction to CFD, W. Malasekara, H. K. Versteeg  Computational Methods for Fluid Dynamics, J. H. Ferziger & M. Peric, Spinger  Computational Gas Dynamics, Cubert B. Laney, Cambridge university Press  Handbook of Computational Fluid Mechanics, Roger Peyret  Numerical Computation of Internal and External Flows (2 volumes), C. Hirsch, John Wiley & Sons 29
  • 30. 30 ©ZeusNumerixPvtLtd:ConfidentialDocument References 20-May-2019 Capabilities on Land Systems @ Zeus Numerix  Numerical Simulation in Fluid Dynamics – A practical Introduction, Michael Griebel, et.al., Siam  Numerical Methods for Conservation Laws, RJ Le Veque, Birkhauser Verlag  Principles of Computational Fluid Dynamics, Pieter Wesseling, Spinger  Riemann Solvers and Numerical Methods for Fluid Dynamics, Toro, E.F., Springer 30
  • 31. 31 www.zeusnumerix.com +91 98190 09836 Abhishek Jain abhishek@zeusnumerix.com