Computational Fluid DynamicsCFD
Computational Fluid DynamicsCFD
Computational Fluid DynamicsCFD
CFD
1
Something to discuss:
Why do we need CFD?
Are there alternative ways?
Two views on CFD
Model assumptions:
- Primary atomization not modeled
- Scania D12 mod. optical engine
- Particle size distribution
- 2500bar injection pressure
- Constant wall temperature
- 6bar IMPEg (20% load)
- Top-hat rail-pressure profile
- N-heptane fuel
- Valve motions not included
- 45, 90 and 135 inter-jet angle
- 2.18 Swirl ratio
- 15.1:1 Compression ratio
Examples
Diesel engine simulation
Sample Results
Instantaneous axial velocity field
Wake downstream
the tower
Staggered configuration
H
Staggered configuration
DY=0 D
DY=0.36 D
DY=0.71 D
DY=1.43 D
Relation to Hemodynamics
Near bifurcations
Blood flow rate (Re)
Wall shear-stresses
- Magnitude
- Spatial- and temporal-fluctuations
Velocity Field
WSS-Magnitude
Closed building
4 wind directions
60 m/s
k-e RNG
770000 cells
0.5 m node distance close to
surface
Domain size 1000X1000X500
m
Closed building
Path lines
2 blade configurations
4 m/s
k-e RNG
800000 cells
0.5 m node distance close to
surface
Domain size 1000X1000X500 m
Open building
Case 1 Case 2
Axial Compressor
Aeroelastic simulation of compressorblades using ANSYS 12
Axial Compressor
Numerical
xi
0
For example speed,
ui ui u j
t
x j
1 p
xi
u i ij
x j x j x j
Fi pressure, temperature
methods
Geometry
Models for
turbulence,
combustion etc.
Mathematical
description of
physical reality
Approximate
All these steps introduces errors! solution
Questions:
How complex is the geometry?
What accuracy is required? Grid quality?
What about stability?
Grid refinement?
Examples
Prismatic airfoil
Examples
Prismatic airfoil
Inviscid flow
Grid refinement
Coarse: Cdp=0.0500
R1: Cdp=0.0518
R2: Cdp=0.0530
Inviscid Viscous
Cdp=0.0500 Cdp=0.0500
Cd,tot=0.0539
Examples
Prismatic airfoil
Wall refinement
refined
coarse
Examples
Prismatic airfoil
Wall refinement
Questions:
Speed of the computation?
What accuracy is required?
What about stability?
Approximate solution
Questions:
Is the solution physically reasonable? Conservation?
How to determine the accuracy of the solution?
Simulation Measurement
Governing
equations
Governing equations
Differentialrelationer
System of equations:
Mass V 0
t
DV
Momentum f p
Dt
De
Energy q kT V V p p V f V
Dt
Governing equations
System of equations:
ui
0
Mass
t xi
ui ui u j p ij
Momentum f i
t x j x j x j
E ui E q T u j ij ui p
Energy k ui f i
t xi t xi xi xi xi
Governing equations
Non-conserved forms
ui
ui 0
Mass
t xi xi
ui ui p ij
Momentum u j f i
t x j x j x j
E E q T u j ij ui p
Energy ui k ui f i
t xi t xi xi xi xi
Governing equations
Conserved form
ui
0
Mass
t xi
ui ui u j p ij
Momentum f i
t x j x j x j
E ui E q T u j ij ui p
Energy k ui f i
t xi t xi xi xi xi
Governing equations
Conserved form
U Fi
Mass J
t xi U ui
E
U i Fij
Momentum Ji
t x j
ui
U F j
Energy J F ui u j ij p ij
t x j
T
Eu pu k uk jk
x j
j j
0
J f i
q
uk f k t
Classification of
PDEs
Classification of PDEs
t Charateristic curves
A comment on characteristic curves
u u v v
a1 b1 c1 d1 f1
x y x y
u u v v
a2 b2 c2 d 2 f 2
x y x y
Differentials:
u u
du dx dy
x y
P dy
v v
dx dv dx dy
x y
Classification of PDEs
u
x
1
a b1 c1 d1 u f1 f1 b1 c1 d1
a b c d f f b c d
2 2 y B 2 2 2 2
2 2
2
dx dy 0 0 v du dx dy 0 0
0 0 dx dy x dv 0 0 dx dy
v
A
y
u B A 0
Characteristic curves correspond to
x A
2
dy dy
a1c2 a2c1 a1d 2 a2 d1 b1c2 b2c1 b1d 2 b2 d1 0
dx dx
2
dy dy
a b c 0
dx dx
dy b b 2 4ac
dx 2a
b 4ac 0
Three situations: 2
Hyperbolic, two real characteristics
1 Ma 2
u ' v'
x y
0 u U u'
v v'
u ' v'
0
a1 1 Ma 2 ; b1 c1 0; d1 1
y v a2 0; b2 1; c2 1; d 2 0
Characteristic equation:
2
dy dy
a1c2 a2c1 a1d 2 a2 d1 b2c1 b1d 2 b2 d1 0
dx dx
a b c
Classification of PDEs
Characteristic equation:
2
dy dy
a1c2 a2c1 a1d 2 a2 d1 b2c1 b1d 2 b2 d1 0
dx dx
a b c
a 1 Ma 2
2
dy
b0 1 Ma 2 1 0
dx
c 1
dy
1
4 Ma 2 1 dy b b 2 4ac
dx Ma 1
2
2 Ma 2 1 Compare:
dx
2a
Ma 2 1 elliptic
Ma 2 1 hyperbolic
Classification of PDEs
Hyperbolic
y
Domain of
P
dependence Region of influence
Charateristic lines
x
Examples: Inviscid supersonic flow, unsteady inviscid flow
Classification of PDEs
Parabolic
y
Known boundary conditions
Domain of
P
dependence Region of influence
x
Examples: Steady subsonic inviscid flow, incompressible inviscid flow