SlideShare a Scribd company logo
©ZeusNumerix
Defense | Nuclear Power | Aerospace | Infrastructure | Industry
Treatment of compressible flow in CFD
Abhishek Jain
abhishek@zeusnumerix.com
Compressible Flow: Basics
©ZeusNumerix
2
Overview
 Conservation Laws
 Conservation form of equations
 Governing equations: Hyperbolic
 The Wave theory: CFL Condition
 Schemes and their types
 Eigen values
 Boundary conditions
©ZeusNumerix
Conservation Laws
 Mass is Conserved
 Net mass flowing out of the system = Net mass decreased in
the system
 Momentum is Conserved
 Rate of change of momentum = Momentum transfer through
the surfaces – Forces (surface and body)
 Surface forces – Shear stress, pressure, surface tension
 Body forces – Gravity, centrifugal or electromagnetic etc
 Energy is Conserved
 Rate of change of energy = Neat heat flux + work done by
body and surface forces
3
©ZeusNumerix
The Equations
 Equations in Conservation form (Differential)
4
Similarly for
y and z direction
©ZeusNumerix
Conservation and Non-
Conservation Forms
 Conservation Form
 Easy to code as all equations look similar
 More physical as “can be simply stated in English”
 Primary variable are calculated from the flux variables
 Captures the shock; (shock produced by solution)
 Non-Conservation Form
 Equation given above are expanded
 Has a shock fitting approach; solution is a forethought i.e.
shock location must be approximately known
 Captures the shock better
 There have been instances where shock fitting and
capturing methods have been used with either forms
5
©ZeusNumerix
Integral Form of Equations
 Conservation form
 F, G, H are similar
 S depends on the type of flow solved
6
U =
ρ
ρu
ρv
ρw
ρE
F =
ρu
ρ u2 + p
ρuv + p
ρuw + p
(ρE + p)u
©ZeusNumerix
Difference
 Integral form means that if we were to add up the
properties in the whole domain there will be an equilibrium
 Does not assume if quantities are a part of continuous function
or discontinuous
 Differential means the function is continuous
 Not able to capture physical discontinuities like shock wave
 Integral form there is called more fundamental
7
©ZeusNumerix
Completing the Loop
 The number of equations is FIVE
 Assuming calorically perfect gas E=CvT
 Number of unknowns
 ρ, u, v, w, p, T
 Hence the thermal equation of state is used for closure
 p= ρRT
 R is the Gas Constant
 Please remember that the above equation was not used in
incompressible flow
8
©ZeusNumerix
Equation Types
 Eigen values are calculated using the coefficients of the
equations
 In case the Eigen values of the equations are
 Real and distinct – equation is Hyperbolic
 Real and Zero – equation is Parabolic
 Imaginary – equation is elliptic
 Characteristic lines are curves where slope of dependent
variable is indeterminant
 Slope of the characteristic line can be real, zero or
imaginary making the equations Hyperbolic, parabolic or
elliptic
9
©ZeusNumerix
Equations
 Hyperbolic
 Disturbance propagates from domain of dependence (Brown)
to range of influence (Gray)
 Characteristics APC and BPD
10
P
C
D
B
A
©ZeusNumerix
Mach Cone
 Supersonic flow means signal does not travel in all directions
 Signal does not reach upstream
11
Zone of Silence
Mach Cone
Motion
Zone of Silence
©ZeusNumerix
Equations
 Parabolic – Effect travels through one direction only
 Elliptic – Effect travels in all directions
 For complex equations like Navier Stokes the behavior may
be mixed
 Examples
 Supersonic inviscid flow – hyperbolic
 Subsonic inviscid flow – elliptic
 Boundary layer flow – parabolic
 Scheme that works for one set fails for another
12
©ZeusNumerix
The Time Marching
 Supersonic blunt body problem
 Flow inside blue circle is subsonic
 At other places supersonic
 Problem is elliptic in circle & hyperbolic outside
 First technique to make problem hyperbolic
 Introduce time derivative in steady problem
 March in time to ‘reach’ at steady state
 Most widely used method (Finite Volume)
 Marching explicit or implicit (next lecture)
13
©ZeusNumerix
The Wave Theory
 Flow is traveling of waves
 Slope of the wave matters
14
X
Time
i i+1 i+2 i+3 i+4 i+5 i+6
n+4
n+3
n+2
n+1
n
Area of physical domain
covered
©ZeusNumerix
CFL Condition
 Stencil are the points used for simulation of flow
 In case below it is i(n), i+1(n) and i(n+1)
 For stable simulation Numerical domain must be greater
than physical domain
 Δt = CFL * Δx/Wave speed (CFL acts as a factor of safety)
15
Numerical domain of
dependence
True domain
of dependence
True wave
direction
i i+1
©ZeusNumerix
Schemes
 Problems in CFD can be finally simplified to
 dU/dt +dF/dx = 0
 Method of solving for [F] is called a scheme
 Flux vector splitting schemes
 Equations contains waves that travel in forward and backward
direction
 Flux vector split in such a fashion that waves are split in
forward moving and backward moving
 Solved independently to get solution
 Van Leer scheme – M = M++M-
 Steger Warming Method – Λ = Λ++Λ-
 van Leer better at sonic points as M is second derivative
16
©ZeusNumerix
Schemes
 Flux vector splitting schemes are diffusive and do not
capture boundary layer properly
 Easy to code with faster turn around time
 Roe Averaged – solves a local Reimann problem and give
better result at boundary layer but produces expansion
shock
 Entropy Fix Roe – Forced condition put on such that
Entropy never decreases
 AUSM – Combines the goodness of flux vector splitting
schemes and Roe type schemes
 Has many modifications for time decrease or better
performance
17
©ZeusNumerix
Thank You!
3 November 2014 18

More Related Content

PDF
ME6604 GAS DYNAMICS AND JET PROPULSION NOTES
PDF
Gas dynamics and_jet_propulsion- questions & answes
PDF
Compressible Flow
DOCX
Ae 53 2 marks
PDF
ME6604 GAS DYNAMICS AND JET PROPULSION SHORT QUESTION AND ANSWERS
PPTX
GAS DYNAMICS AND JET PROPULSION
PPTX
Unit - I BASIC CONCEPTS AND ISENTROPIC FLOW IN VARIABLE AREA DUCTS
PDF
Chapter 7. compressible flow.pptx copy
ME6604 GAS DYNAMICS AND JET PROPULSION NOTES
Gas dynamics and_jet_propulsion- questions & answes
Compressible Flow
Ae 53 2 marks
ME6604 GAS DYNAMICS AND JET PROPULSION SHORT QUESTION AND ANSWERS
GAS DYNAMICS AND JET PROPULSION
Unit - I BASIC CONCEPTS AND ISENTROPIC FLOW IN VARIABLE AREA DUCTS
Chapter 7. compressible flow.pptx copy

What's hot (20)

PPT
Compressible flow
PDF
Fluid Mechanics Chapter 7. Compressible flow
PPTX
Compressible flows in fluid mechanics in chemical engineering
PDF
Me2351 gas dynamics and jet propulsion-qb
PDF
cengel-fluid mechanics
PPTX
Gas dynamics and jet propulsion – presentationof problemsanswers
PPT
Compressible flow
PPTX
Compressible flow
PPTX
Compressible flows
PDF
02 conservation equations
PPT
fluid mechanics
DOC
Unit1 principle concepts of fluid mechanics
DOC
Bernoulli equation
PPTX
Chapter 11
PPT
mass momentum energy equations
PDF
Qpedia apr07 understanding_heat_transfer_coefficient
PDF
BASIC EQUATIONS FOR ONE-DIMENSIONAL FLOW (Chapter 04)
PDF
F L U I D M E C H A N I C S A N D H E A T T R A N S F E R J N T U M O D...
PDF
Examples-Answers-all-Sections-2up
PDF
Oblique shock and expansion waves
Compressible flow
Fluid Mechanics Chapter 7. Compressible flow
Compressible flows in fluid mechanics in chemical engineering
Me2351 gas dynamics and jet propulsion-qb
cengel-fluid mechanics
Gas dynamics and jet propulsion – presentationof problemsanswers
Compressible flow
Compressible flow
Compressible flows
02 conservation equations
fluid mechanics
Unit1 principle concepts of fluid mechanics
Bernoulli equation
Chapter 11
mass momentum energy equations
Qpedia apr07 understanding_heat_transfer_coefficient
BASIC EQUATIONS FOR ONE-DIMENSIONAL FLOW (Chapter 04)
F L U I D M E C H A N I C S A N D H E A T T R A N S F E R J N T U M O D...
Examples-Answers-all-Sections-2up
Oblique shock and expansion waves
Ad

Viewers also liked (17)

PPTX
Types of fluid flow best ppt
PPTX
FLUID MECHANICS
PPTX
Nozzle and compressible flow
PDF
Topic 10 kft 131
PDF
Gas dynamics relations
PPTX
Presentation 4
PPTX
JDAM using GPS
PPT
Liquid ppop..ppt(zak)
PPTX
Presentation on progress report of final year project(gps
PDF
Fluid mechanics for chermical engineering students
PDF
Modern compressible flow by J.D.Anderson
PPT
6 7 irrotational flow
PPT
Gyroscope
PDF
Thermodynamics by s k mondal copy
PPTX
Behavior of Gases
PPT
Physics of shock waves
PPTX
shock wave
Types of fluid flow best ppt
FLUID MECHANICS
Nozzle and compressible flow
Topic 10 kft 131
Gas dynamics relations
Presentation 4
JDAM using GPS
Liquid ppop..ppt(zak)
Presentation on progress report of final year project(gps
Fluid mechanics for chermical engineering students
Modern compressible flow by J.D.Anderson
6 7 irrotational flow
Gyroscope
Thermodynamics by s k mondal copy
Behavior of Gases
Physics of shock waves
shock wave
Ad

Similar to Compressible flow basics (20)

PPTX
CFD Lecture (4/8): Compressible Flow- Basics
PPTX
Fluid Mechanics in CFD Perspective
PDF
Part 2 CFD basics Pt 2(1).pdf
PDF
primitive variable for claculation of flow field
PPTX
compuatational fluid dynamics information
PPTX
UNIT - 4 CAE AND CFD approach of future mobility
PPTX
introduction to CFD - Siemens Starccm Community
PPTX
Study of different flows over typical bodies by Fluent
PPT
Cfd notes 1
PPTX
CFD Lecture (5/8): Solvers- Compressible Flow
PPT
CFD Concepts.ppt
PDF
CFD_notes.pdf
PPT
Presentation1.ppt
PDF
lec_slides.pdf
PDF
Mathematical behaviour of pde's
PPTX
CFD Lecture (2/8): Fluid Mechanics: CFD Perspective
PPTX
Chapter 3.pptx
PPT
CFD_RIT.ppt
PDF
Chapter 6.pdf
CFD Lecture (4/8): Compressible Flow- Basics
Fluid Mechanics in CFD Perspective
Part 2 CFD basics Pt 2(1).pdf
primitive variable for claculation of flow field
compuatational fluid dynamics information
UNIT - 4 CAE AND CFD approach of future mobility
introduction to CFD - Siemens Starccm Community
Study of different flows over typical bodies by Fluent
Cfd notes 1
CFD Lecture (5/8): Solvers- Compressible Flow
CFD Concepts.ppt
CFD_notes.pdf
Presentation1.ppt
lec_slides.pdf
Mathematical behaviour of pde's
CFD Lecture (2/8): Fluid Mechanics: CFD Perspective
Chapter 3.pptx
CFD_RIT.ppt
Chapter 6.pdf

Recently uploaded (20)

PPTX
OOP with Java - Java Introduction (Basics)
PPTX
additive manufacturing of ss316l using mig welding
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
PPT on Performance Review to get promotions
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPT
Mechanical Engineering MATERIALS Selection
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
composite construction of structures.pdf
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPT
Project quality management in manufacturing
OOP with Java - Java Introduction (Basics)
additive manufacturing of ss316l using mig welding
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPT on Performance Review to get promotions
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Mechanical Engineering MATERIALS Selection
CYBER-CRIMES AND SECURITY A guide to understanding
Model Code of Practice - Construction Work - 21102022 .pdf
composite construction of structures.pdf
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
R24 SURVEYING LAB MANUAL for civil enggi
Project quality management in manufacturing

Compressible flow basics

  • 1. ©ZeusNumerix Defense | Nuclear Power | Aerospace | Infrastructure | Industry Treatment of compressible flow in CFD Abhishek Jain abhishek@zeusnumerix.com Compressible Flow: Basics
  • 2. ©ZeusNumerix 2 Overview  Conservation Laws  Conservation form of equations  Governing equations: Hyperbolic  The Wave theory: CFL Condition  Schemes and their types  Eigen values  Boundary conditions
  • 3. ©ZeusNumerix Conservation Laws  Mass is Conserved  Net mass flowing out of the system = Net mass decreased in the system  Momentum is Conserved  Rate of change of momentum = Momentum transfer through the surfaces – Forces (surface and body)  Surface forces – Shear stress, pressure, surface tension  Body forces – Gravity, centrifugal or electromagnetic etc  Energy is Conserved  Rate of change of energy = Neat heat flux + work done by body and surface forces 3
  • 4. ©ZeusNumerix The Equations  Equations in Conservation form (Differential) 4 Similarly for y and z direction
  • 5. ©ZeusNumerix Conservation and Non- Conservation Forms  Conservation Form  Easy to code as all equations look similar  More physical as “can be simply stated in English”  Primary variable are calculated from the flux variables  Captures the shock; (shock produced by solution)  Non-Conservation Form  Equation given above are expanded  Has a shock fitting approach; solution is a forethought i.e. shock location must be approximately known  Captures the shock better  There have been instances where shock fitting and capturing methods have been used with either forms 5
  • 6. ©ZeusNumerix Integral Form of Equations  Conservation form  F, G, H are similar  S depends on the type of flow solved 6 U = ρ ρu ρv ρw ρE F = ρu ρ u2 + p ρuv + p ρuw + p (ρE + p)u
  • 7. ©ZeusNumerix Difference  Integral form means that if we were to add up the properties in the whole domain there will be an equilibrium  Does not assume if quantities are a part of continuous function or discontinuous  Differential means the function is continuous  Not able to capture physical discontinuities like shock wave  Integral form there is called more fundamental 7
  • 8. ©ZeusNumerix Completing the Loop  The number of equations is FIVE  Assuming calorically perfect gas E=CvT  Number of unknowns  ρ, u, v, w, p, T  Hence the thermal equation of state is used for closure  p= ρRT  R is the Gas Constant  Please remember that the above equation was not used in incompressible flow 8
  • 9. ©ZeusNumerix Equation Types  Eigen values are calculated using the coefficients of the equations  In case the Eigen values of the equations are  Real and distinct – equation is Hyperbolic  Real and Zero – equation is Parabolic  Imaginary – equation is elliptic  Characteristic lines are curves where slope of dependent variable is indeterminant  Slope of the characteristic line can be real, zero or imaginary making the equations Hyperbolic, parabolic or elliptic 9
  • 10. ©ZeusNumerix Equations  Hyperbolic  Disturbance propagates from domain of dependence (Brown) to range of influence (Gray)  Characteristics APC and BPD 10 P C D B A
  • 11. ©ZeusNumerix Mach Cone  Supersonic flow means signal does not travel in all directions  Signal does not reach upstream 11 Zone of Silence Mach Cone Motion Zone of Silence
  • 12. ©ZeusNumerix Equations  Parabolic – Effect travels through one direction only  Elliptic – Effect travels in all directions  For complex equations like Navier Stokes the behavior may be mixed  Examples  Supersonic inviscid flow – hyperbolic  Subsonic inviscid flow – elliptic  Boundary layer flow – parabolic  Scheme that works for one set fails for another 12
  • 13. ©ZeusNumerix The Time Marching  Supersonic blunt body problem  Flow inside blue circle is subsonic  At other places supersonic  Problem is elliptic in circle & hyperbolic outside  First technique to make problem hyperbolic  Introduce time derivative in steady problem  March in time to ‘reach’ at steady state  Most widely used method (Finite Volume)  Marching explicit or implicit (next lecture) 13
  • 14. ©ZeusNumerix The Wave Theory  Flow is traveling of waves  Slope of the wave matters 14 X Time i i+1 i+2 i+3 i+4 i+5 i+6 n+4 n+3 n+2 n+1 n Area of physical domain covered
  • 15. ©ZeusNumerix CFL Condition  Stencil are the points used for simulation of flow  In case below it is i(n), i+1(n) and i(n+1)  For stable simulation Numerical domain must be greater than physical domain  Δt = CFL * Δx/Wave speed (CFL acts as a factor of safety) 15 Numerical domain of dependence True domain of dependence True wave direction i i+1
  • 16. ©ZeusNumerix Schemes  Problems in CFD can be finally simplified to  dU/dt +dF/dx = 0  Method of solving for [F] is called a scheme  Flux vector splitting schemes  Equations contains waves that travel in forward and backward direction  Flux vector split in such a fashion that waves are split in forward moving and backward moving  Solved independently to get solution  Van Leer scheme – M = M++M-  Steger Warming Method – Λ = Λ++Λ-  van Leer better at sonic points as M is second derivative 16
  • 17. ©ZeusNumerix Schemes  Flux vector splitting schemes are diffusive and do not capture boundary layer properly  Easy to code with faster turn around time  Roe Averaged – solves a local Reimann problem and give better result at boundary layer but produces expansion shock  Entropy Fix Roe – Forced condition put on such that Entropy never decreases  AUSM – Combines the goodness of flux vector splitting schemes and Roe type schemes  Has many modifications for time decrease or better performance 17