Fluent Compressible Flow
Fluent Compressible Flow
• Summary
https://en.wikipedia.org/wiki/Draco_(rocket_engine_family)
• Q&A
• Because of the link between density, pressure, and temperature, we now need to solve the
Conservation of Energy Equation along with the Conservation of Mass and Momentum
equations.
– Conservation of Energy Equation = First Law of Thermodynamics
( E )
t
+ V( E + P ) = keff T − j h j J j + ( τ eff V) + S h
• Fluid properties
• Calorically-perfect gas (ideal gas law)
– Specific heats are constant
• Thermally-perfect gas (ideal gas law)
– Specific heats are functions of temperature only
• Transport properties (viscosity, thermal conductivity) are usually considered constant or
functions of temperature only. Can also be functions of composition for chemically
reacting flow.
– Example: Sutherland’s Law for viscosity of high temperature air.
• Other physics not consider here
• Real gas effects (non-ideal gas equations of state)
• Rarefied gas flows (e.g. slip BCs)
• High temperature effects and heat transfer (e.g. radiation, ionization)
– Properties function of chemical composition of fluid (pressure and temperature)
– Primarily a consideration for hypersonic flows
ANSYS CFD solvers provide robust and efficient approaches for modeling
compressible flows through the entire compressible flow spectrum from low
subsonic to hypersonic re-entry problems
• For compressible flows with shock waves, always try to shape the domain such that
shocks pass through an outlet and do not strike an inlet
− Prevents spurious reflections at an inlet boundary
outlet outlet
The PBCS offers a robust and efficient methodology for solving compressible
flows ranging from low subsonic to supersonic
• Elliptic nature of pressure-velocity coupling algorithm is very efficient for low speed, subsonic
compressible flows
• Algorithm can also handle supersonic flow regions, and is ideal for mixed
subsonic/supersonic flows.
• Fully implicit coupling between momentum and continuity equations provide improved
robustness versus Segregated approaches
▪ Implicit discretization of pressure gradient terms in momentum equations
▪ Implicit discretization of face mass fluxes including Rhie-Chow pressure dissipation terms
• Coupled algebraic multigrid (AMG) scheme is used to solve the system of discretized
algebraic equations
1− 1−
( )
a p pn +1 − pn + a p pn +1 − aiin +1 = S p
1
CFL
=
pVol p
( n +1
p − pn )+a n +1
− ai n +1
= Sp t =
length _ scale
t
p p i velocity _ scale
1.000 UF experiment
• Wide range of turbulence models are available for PBS and DBS, and all
prms2/St
0.100
are applicable to compressible flows.
• Steady-State Models 0.010
Dk t k t k
=
+ + S 2
− e − g − 2 e
Dt x j
k x j t i
Pr t x i RT
𝛾−1
2 𝑃0 𝛾
𝑀2 = −1
𝛾−1 𝑃
Pexit/Ptin = 0.95 (subsonic) Pexit/Ptin = 0.8 (choked, normal shock) Pressure inlet –
Pressure outlet
BCs
Mach number
contours
Pressure inlet –
Pressure outlet
BCs
Mach number
contours
✓ Increase the exit pressure (to near the inlet total Ball diverter valve example (pressure ratio = 500 psi)
pressure) to achieve subsonic low speed flow initially -
use stagnation conditions to initialize
✓ Gradually decrease the exit pressure in stages,
resolving any supersonic (choked) flow as you go with
adapted meshing
✓ Adjust solution controls if needed and be aware of any
potential for unsteady flow (e.g. shock-boundary layer
separation)
Mach number
Tcell
q new = q old + pl q with pl = PL. if Tcell PL.Tcell
Tcell
• For very high speed flows, you may need to reduce the positivity limits to 0.05
or even 0.02 to prevent solution from diverging
34 © 2015 ANSYS, Inc. June 12, 2018
Pressure-Based Solvers and Transient Flows
• Transient problems frequently arise for compressible flows
− Acoustics
− Unsteady separated flows and wakes
− Moving shock waves
− Forced unsteadiness due to transient boundary conditions
• For lower speed compressible flows, you can typically use either the Pressure-
based Segregated Solver or the Non-Iterative Time Advancement (NITA)
approach
− Why? For sufficiently small time steps, you don’t need added expense of equation coupling
− Segregated solvers (SIMPLEC, PISO) and NITA are much more CPU and memory efficient than
the Coupled solver
− HOWEVER – for high speed flows, where the equation coupling becomes more important,
the PBCS can be used effectively for transient flows
1.4
test
1.3 CFD
1.2
ps / pambient
1.1
1.0
0.9
0.8
0.7
0.6
0 1 2 3 4 5 6 7 8 9
x/D
SPL, dB
120 120
110 110
100 100
90 90
0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10
f, kHz f, kHz
Calculated noise spectra at two microphones on the nozzle lip located at r = 0.642 and 0.889 inches
shock capturing
Solve Other Transport Equations as
required
• When both High mach and very low mach number zone are
• Quad. Mesh of 8.6K cells
present, default Roe Scheme exhibits flaw known as the • Inviscid solution
carbuncle effect. The AUSM+ flux scheme is needed for low- • M=30
Mach number preconditioning which corrects this issue.
Roe-FDS AUSM+
1st-O
2nd-O
Blending
CFL=200
CFL Update – Stage 2
CFL
Contours of Static Pressure
CFL=5
0 100 200 300 400
Stage-1
Stage-2
Mesh
CFL update Termination level
CASM Standard
Cd CL
Standard Standard
CASM CASM
Receiver 2 Receiver 1
Driver p1 / pD = 0.01
p2 / pD = 0.5 0.2 m
pD = 100,000 Pa 1 / D = 0.01
2 / D = 0.5 D = 1 kg/m3
Diaphragms
numerical numerical
1.0 1.0
analytical analytical
0.9 0.9
0.8 0.8
0.7 0.7
0.6 0.6
p/pD
p/pD
0.5 0.5
0.4 0.4
0.3 0.3
0.2 0.2
0.1
t = 716 sec 0.1
t = 1194 sec
0.0 0.0
-2 -1.5 -1 -0.5 0 0.5 1 1.5 2 -2 -1.5 -1 -0.5 0 0.5 1 1.5 2
x, m x, m
2D solution
56 © 2015 ANSYS, Inc. June 12, 2018
3D Shock Wave Motion
707 sec
1158 sec
Mesh around left-traveling (weak) shock Mesh around right-traveling (strong) shock
numerical numerical
1.0 1.0
analytical analytical
0.9 0.9
0.8 0.8
0.7 0.7
0.6 0.6
p/pD
p/pD
0.5 0.5
0.4 0.4
0.3 0.3
0.2 0.2
0.1 t = 707 sec 0.1
t = 1158 sec
0.0 0.0
-2 -1.5 -1 -0.5 0 0.5 1 1.5 2 -2 -1.5 -1 -0.5 0 0.5 1 1.5 2
x, m x, m
Structures FAQs
Fluids Demos
17,000+ knowledge
Electromagnetics materials Tips & tricks
Installation/licensing Applications
Used by over 40,000 people from around the world every month.