Compressible Flow Course 1
Compressible Flow Course 1
1. Introduction
CFS Engineering 1
Dr. Elizabeth Mickaily Huber Dr. Dominique Charbonnier Dr. Jan B. Vos
CFS Engineering 2
1
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
Contents todays’ lecture
CFS Engineering 3
Course notes (polycopies) are the ones prepared by Dr. Alain Drotz + copies of the
powerpoint presentations on the website of LIN
Please interrupt me to ask questions if something is not clear. Questions to me can be
asked in English, French, German and Dutch
Exercises: two of the course days are reserved for exercises in a computer room
Exam: orally, on the last day we will explain how the exam will be done
CFS Engineering 4
2
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
Who I am
A large experience in developing and using CFD codes for a wide variety of
applications
CFS Engineering 5
CFS Engineering 6
3
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFS Engineering
CFS Engineering 7
Ansys ICEM CFD Tetra, Prism and Hexa for mesh generation
CFS Engineering 8
4
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFS Engineering: NSMB code
NSMB offers all functionalities which can be expected from a modern CFD tool
used in the Aerospace industry (turbulence modeling, numerical schemes,
moving grids, flexibility for complex geometries).
CFS Engineering 9
CFS Engineering is working with SMR SA in Bienne to extend NSMB for the
simulation of coupled engineering problems (fluid-heat transfer, fluid-
structure).
CFS Engineering 10
5
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFS Engineering: NSMB code
NSMB is used by ASTRIUM-ST for flows over missiles and re-entry vehicles
(including CFD simulations over the Rafale Fighter Aircraft)
NSMB is used by IMFT in Toulouse to flows over oscillating airfoils and wings,
etc.
NSMB is used by KTH in Stockholm for unsteady simulations over delta wings.
NSMB is used by CFS Engineering and RUAG Aerospace to simulate the flow
over the FA-18 fighter, the flow over UAVs, the flow in base bleed units,
supersonic air intake flows, flows in nozzles, flows over re-entry vehicles, etc.
CFS Engineering 11
EPFL bought in 1989 a Cray 2 computer for more than 10 Million CHF. Today’s
PC’s cost less than 1’000 CHF and deliver more computing power (a factor
10’000 in price).
CFS Engineering: first PC cluster (1999) costed 20’000 CHF (6 PCs, 3GB total
memory), last PC cluster (2008) costed 10’000 CHF (10 dual core PCs, 40 GB
total memory) and is about 100 times faster.
CFS Engineering 12
6
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Introduction
The cost reduction of computing power, combined with more efficient numerical
schemes has lead to an increase of use of CFD in industry, since it is cheaper
and faster than experimental testing, and provides better understanding of the
physics.
CFS Engineering 13
CFS Engineering 14
7
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Example of application
CFS Engineering 15
FA-18 studies
RUAG Aerospace and CFS Engineering performed CFD simulations from 2001
to 2007 on the FA-18 fighter.
2001: Compare CFD with Wind tunnel experiments.
2002: Extract Aerodynamic loads from CFD and compare with the
Boeing Loads data base
2003: Sensitivity analysis different aircraft configurations
2004: Develop tool for static wing deformation
2005: New grid, study influence LEX fence, unsteady CFD for loads
2006: Dynamic Fluid Structure Interaction, influence SIWA fins on
loads
2007: Study of Vertical Tail Buffeting
CFS Engineering 16
8
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Example of application
Components FA-
FA-18 Fighter – CFD model 2005
VTAIL
aft fuselage
center fuselage
HSTAB
TEF
forward fuselage
SIWA
OLEF
wing root ILEF
wing fold LEX
CFS Engineering 17
CFS Engineering 18
9
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Example of application
Cut on wing
CFS Engineering 19
CFS Engineering 20
10
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Example of application
Flow Features
Streamlines
Mach = 0.95
Shock wave
canopy and fuselage
near vertical fin
CFS Engineering 21
These data bases are incomplete for the conditions and usage of
the Swiss FA-18 fighter (Swiss usage of the FA-18 fighter is three
times more severe).
CFS Engineering 22
11
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Example of application
CFS Engineering 23
CFS Engineering 25
12
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Example of application
At AoA > 10: buffet, wing deformation, flow separation, unsteady effects
become important
CFD data makes more sense than Boeing loads data base, in particular on aft
fuselage and horizontal stabilizer
CFS Engineering 26
Fluid solution
CSM calculation
CFS Engineering 28
13
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Example of application
CSM calculation
CFS Engineering 29
Structural deformation
CSM calculation
CFS Engineering 30
14
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Example of application
deformed
Transfer CSM grid
Transfer deformation into CFD
CFD loads to surface mesh
CSM loads using FSCON displacement using
FSCON
undeformed
CSM calculation
CFS Engineering 31
undeformed wing
deformed wing
CFS Engineering 32
15
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Example of application
CFS Engineering 33
FA-
FA-18 Unsteady flow simulations
Objective: Assess the influence of unsteady aerodynamic effects on the
aerodynamic loads
16
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Example of application
FA-
FA-18 Unsteady flow simulations
Mean value
CFS Engineering 35
CFS Engineering 38
17
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Example of application
Most published results are available for the so-called weakened wing
in air
CFS Engineering 39
Mode 2
Mode 3 Mode 4
CFS Engineering 40
18
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Example of application
Mach = 0.95
Rho_inf = 0.061 kg/m3
P_inf = 3500/4600/7000 Pa
Flutter index = 0.27/0.31/0.37
For this case the flutter boundary has a flutter index of 0.32.
Tests were made using different grid densities, different outer time
steps, different time integration scheme, different values of the
structural damping, different values of inner loop convergence
criterium.
CFS Engineering 41
CFS Engineering 42
19
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Example of application
CFS Engineering 43
FA-
FA-18 C2S825 Load case
Unsteady calculation with and without dynamic FSI
CFS Engineering 44
20
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Example of application
Flight results
Source: NASA
CFS Engineering 45
Today people are planning the simulation of the so called digital aircraft (CFD +
Structures + Flight Mechanics)
CFS Engineering 49
21
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Course Outline
Which corresponds to the modules of the course given by Dr. Alain Drotz in
previous years.
We modified the course, less theory, more directed to the use of numerical
methods in practice.
CFS Engineering 50
CFS Engineering 51
22
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Course Outline
CFS Engineering 52
CFS Engineering 53
23
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Course Outline
A compressible flow is a flow for which the density can not be considered
constant.
In general this occurs for air flows with a free stream Mach number larger than
0.3
Flows with a free stream Mach number larger than 5. At very high free stream
Mach numbers chemistry effects become important.
CFS Engineering 54
Free stream
Mach 0.745
CFS Engineering 55
24
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
CFD: Course Outline
Free stream
Mach 0.745
CFS Engineering 56
CFS Engineering 58
25
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
Navier Stokes equations
CFS Engineering 59
1. The difficulty of solving the Navier Stokes equations are the inviscid or
convective terms => ignore for the moment the viscous terms (they are in
general approximated using 2nd order differences)
2. The compressible Euler and Navier Stokes equations permit
discontinuities in the solution (shock waves, expansion waves). The
numerical formulation needs to resolve these discontinuities.
3. Often different strategies for incompressible or compressible flows due to
the nature of the equations
CFS Engineering 60
26
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
Navier Stokes equations
CFS Engineering 61
To summarize (1)
CFS Engineering 62
27
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
Navier Stokes equations
To summarize (2)
CFS Engineering 63
Terminology (1)
Time discretization
Explicit scheme
Implicit scheme
CFS Engineering 64
28
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
Solution methods
Terminology (2)
Spatial discretization: central schemes vs upwind schemes. In the group of
upwind schemes one has also TVD schemes and ENO schemes.
Order of the schemes (spatial and/or in time): is linked to the truncation error
of the numerical discretization. Examples: first order, second order, third
order, etc.
Weak solution: solution which permits discontinuities (shock waves,
expansion waves)
Numerical flux: discretization of the physical flux f(U)
Limiter: is used with upwind schemes, and is a function of gradients to
eliminate oscillations. May give an upwind scheme the TVD property
Monotonic scheme: is represented by a monotonic decreasing or increasing
function
CFS Engineering 65
Terminology (3)
Properties Total Variation Diminishing (TVD) schemes:
• Are monotonic
• Should in principle not generate oscillations near shock waves
• Are stable
• Up to higher order (depends partly on the limiters)
• Are first order near extrema
• Do not always satisfy the entropy condition and thus may lead to wrong
solutions
• Are very suitable for flows with shock waves
• Do not always give good results for low Mach number and incompressible
flows
CFS Engineering 66
29
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
Examples
Upstream oscillation,
decrease in amplitude,
wrong location
Uncontrolled
oscillations
CFS Engineering 67
Dissipation :
Dispersion :
CFS Engineering 68
30
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
Examples
Lax - Wendroff
CFS Engineering 69
31
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
Terminology
CFS Engineering 71
Stability: ensures that the numerical scheme does not permit errors to grow
indefinitely (errors should not be amplified by the numerical scheme)
Convergence: the numerical solution should approach the exact solution of the
partial differential equation at any point and at any time when ∆t and
∆x tend to zero (ie when the mesh is refined or the time step
reduced)
CFS Engineering 72
32
Numerical Methods for Compressible Fluid Mechanics
1. Introduction
The end for today
Any questions ?
CFS Engineering 73
33