Professional Documents
Culture Documents
Marcus Herrmann
Center for Turbulence Research
Stanford University
Overview
• Introduction
• Modeling two-phase flow
– Schemes assuming the phase interface geometry
– Schemes tracking the phase interface geometry
• Tracking the interface
• Coupling the interface to the flow solver
• Sub-grid scale modeling
– Coupling
• Summary
• Phase transition
• Topology changes
• Challenges:
– phase interface is a discontinuity
– density contrast is high: O(100)
– surface tension forces Marmottant & Villermaux 2002
– frequent topology changes
– range of scales: from cm to μm
– large phase interface surface area
– phase transition
– interaction with turbulence
• Challenges:
– phase interface is a discontinuity
– density contrast is high: O(100)
– surface tension forces Marmottant & Villermaux 2002
– frequent topology changes
– range of scales: from cm to μm
– large phase interface surface area
– phase transition
– interaction with turbulence
• Secondary atomization:
– Subsequent breakup into ever smaller drops
forming a spray
– Simple geometry of small scale liquid drops
– Total phase interface surface area is large
– Volume loading is small
• Secondary atomization:
– Subsequent breakup into ever smaller drops forming
a spray
– Simple geometry of small scale liquid drops
– Total phase interface surface area is large
– Volume loading is small
• Secondary atomization:
– Subsequent breakup into ever smaller drops forming
a spray
assume the drop geometry
– Simple geometry of small scale liquid drops
– Total phase interface surface area is large
– Volume loading is small
Gas phase
August 2nd, 2006 Two-Phase Flow Tutorial 5
Example
Mean Axial Velocity RMS of Axial Velocity
Particle phase
August 2nd, 2006 Two-Phase Flow Tutorial 6
Evaporation Example
• Isopropyl alcohol into non-swirling flow in coaxial geometry
– Experiment [Sommerfeld & Qiu 98]
– Simulation [Moin & Apte 06]
• 1.5 million hexas, 0.75 million particles
• droplet size distribution from experiment
• Re = 21164
Fuel Mass
Fraction
Axial
Velocity
Axial Velocity
Particle Mass
Flux
Diameter
• Alternative strategies:
– Hybrid particle parcel technique
• group drops of similar size, location and properties into a single parcel
• solve Lagrangian equations for averaged properties of the parcel
– Solve for PDFs of particle properties instead of individual drops
• pdf transport equations
• solve for moments of the pdf and presume the pdf shape
• DQMOM
P = 1.1 MPa
Penetration Depth
markers
topology changes are difficult
How?
– standard advection schemes have too much dispersion
use artificial compression to preserve jump in
– reconstruct interface geometry and perform geometric flux calculation
m
How?
– standard advection schemes have too much dispersion
use artificial compression to preserve jump in
– reconstruct interface geometry and perform geometric flux calculation
• calculate normal direction to interface
m
How?
– standard advection schemes have too much dispersion
use artificial compression to preserve jump in
– reconstruct interface geometry and perform geometric flux calculation
• calculate normal direction to interface
How?
– standard advection schemes have too much dispersion
use artificial compression to preserve jump in
– reconstruct interface geometry and perform geometric flux calculation
• calculate normal direction to interface
PLIC
August 2nd, 2006 Two-Phase Flow Tutorial 18
Volume of Fluid
• Geometric flux calculation
– Eulerian:
F : wetted cell face area
n : cell face normal
– Lagrangian:
• perform directional operator splitting
• advect planar interface by linearly
interpolated velocities in each cell
• calculate change in liquid volume in F
cell and neighbors
• CFL number 0.5
[Gueyffier et al. 1999]
• G for G G0 is arbitrary
– usually chosen to be signed distance function with
G0 = 0:
[Sethian 96]
need the weak solution to the PDE
• Use upwind-biased WENO schemes for Hamilton-Jacobi equations
with appropriate flux functions
– 5th-order WENO with Roe/LLF flux function
• Use higher order TVD Runge-Kutta schemes for time advancement
– 3rd-order TVD Runge-Kutta
with and
but: no convergence under grid refinement! [Engquist et al. 05]
with
with
curvature distribution
Solve and store all level set equations only on active cells of G-grid:
cost is only O(N2), not O(N3) high resolution: xG«xfs
Efficient domain decomposition parallelization straightforward
Fast and accurate Cartesian solution techniques for HJ-PDEs can be used
(5th order WENO, FMM)
August 2nd, 2006 Two-Phase Flow Tutorial 20
RLSG Results: Vortex in a Box
1
0.8
0.6
Y
0.4
0.2
0
0 0.2 0.4 0.6 0.8 1
X
initial conditions
Flow solver:
• 64 x 64 cells
RLSG:
• 512 x 512 cells max
Flow solver
volume fraction
0t3
August 2nd, 2006 Two-Phase Flow Tutorial 21
RLSG Results: Vortex in a Box
512x512
t=3
Flow solver:
• 64 x 64 cells
RLSG:
• 128 x 128 cells max
Flow solver
volume fraction
0t3
August 2nd, 2006 Two-Phase Flow Tutorial 22
RLSG Results: Vortex in a Box
512x512
Total Volume
t=3
128x128
t=3
t=3
128x128
t=3
initial conditions
Flow solver:
• 643 cells
RLSG:
• 2563 cells max
RLSG
G = G0 iso-surface
0 t 1.5
RLSG 1283
t = 1.5
1283
RLSG 643
t = 1.5
RLSG 1283
t = 1.5
1283
RLSG 643
t = 1.5
• For higher order: perform Taylor expansion within one fluid and apply
jump conditions at the interface
• Marker particles:
– interpolate gradient of density to grid:
– solve Poisson system for
: marker function
VoF
August 2nd, 2006 Two-Phase Flow Tutorial 37
Spurious Currents: Inviscid Static Drop
• Test case:
– 8 x 8 box, circle radius R = 2
– inviscid, = 73
– time step t = 10-6
• Inviscid stationary drop (circle) with surface tension should remain motionless for
all time
• But: numerical errors introduce spurious currents:
– discrete imbalance between surface tension forces and pressure gradients
|umax| = 0.146
• Inviscid stationary drop (circle) with surface tension should remain motionless for
all time
• But: numerical errors introduce spurious currents:
– discrete imbalance between surface tension forces and pressure gradients
– remedy: introduce viscosity to control errors:
: VoF and level set methods [Lafaurrie et al. 94]
• Inviscid stationary drop (circle) with surface tension should remain motionless for
all time
• But: numerical errors introduce spurious currents:
– discrete imbalance between surface tension forces and pressure gradients
– remedy: introduce viscosity to control errors
– better: balanced force algorithm [Young et al. 02, Francois et al. 06]
• Inviscid stationary drop (circle) with surface tension should remain motionless for
all time
• But: numerical errors introduce spurious currents:
– discrete imbalance between surface tension forces and pressure gradients
balanced force algorithm: errors reduced to machine accuracy zero
-4
10 L1
-5
10
-6
10
1 2 3
10 10 10
n
Error in curvature evaluation
August 2nd, 2006 Two-Phase Flow Tutorial
Spurious Currents: Inviscid Static Drop
• 40x40 fs-grid, single time step, 1/2 = 1
Loo(|p-pex|)
-3
pmax nd
10 2 order
L(|u|)
-8
10 L1 -4 ppart
10
-9
10 -5
10
-10 -6
10 10
1 2 3 1 2 3
10 10 10 10 10 10
n n
Spurious current magnitude Error in pressure jump
August 2nd, 2006 Two-Phase Flow Tutorial
Spurious Currents: Inviscid Static Drop
Convergence under
• 20x20 fs-grid, 2000 time step, 1/2 = 1000
G-grid refinement
-3
10
20x20 -4
max L (u)
-2 10
10
2
20x40
nd
10
-5 2 order
-4
10
kin
20x80
E
-6
10
-6 10
1
10
2
10 n
20x160
-8
10
0 5 10 15 20
t
Spurious current kinetic energy
Spurious current magnitude
error
0.005 -5
10
64x64
th
-6 4 order
10
A/
0
-7
10 1 2
10 10
-0.005
n
-0.01
0 5 10 15 20
tn
oscillation amplitude vs. time convergence
error
0.005 16x64 10
-5 nd
2 order
16x128
-6
10
A/
0
-7
10 1 2
10 10
-0.005
n
-0.01
0 5 10 15 20
tn
oscillation amplitude vs. time convergence
error
-3
64x64 10
0.005 128x128
A/
nd
2 order
0
-4
10
-0.005 10
1
10
2
n
-0.01
-0.015
0 50 100 150 200 250 300
tt
oscillation amplitude vs. time convergence
• Standard volume filters not applicable to level set equation (Oberlack et al. 01)
phase interface based filters are required:
– Mean position (Pitsch 05):
box size:
L x L periodic
August 2nd, 2006 Two-Phase Flow Tutorial
Consistent Surface Filters for LES
surface filter
box size:
L x L periodic
August 2nd, 2006 Two-Phase Flow Tutorial
Consistent Surface Filters for LES
surface filter
box size:
L x L periodic
August 2nd, 2006 Two-Phase Flow Tutorial
Consistent Surface Filters for LES
surface filter
box size:
L x L periodic
August 2nd, 2006 Two-Phase Flow Tutorial
Consistent Surface Filters for LES
surface filter
box size:
L x L periodic
August 2nd, 2006 Two-Phase Flow Tutorial
Consistent Surface Filters for LES
surface filter
box size:
L x L periodic
August 2nd, 2006 Two-Phase Flow Tutorial
Consistent Surface Filters for LES
• Volume filter based on surface parameterization
introduces new small scales
box size:
L x L periodic
August 2nd, 2006 Two-Phase Flow Tutorial
Consistent Surface Filters for LES
Heaviside filter
box size:
L x L periodic
August 2nd, 2006 Two-Phase Flow Tutorial
Consistent Surface Filters for LES
Heaviside filter
box size:
L x L periodic
August 2nd, 2006 Two-Phase Flow Tutorial
Consistent Surface Filters for LES
Heaviside filter
box size:
L x L periodic
August 2nd, 2006 Two-Phase Flow Tutorial
Consistent Surface Filters for LES
Heaviside filter
box size:
L x L periodic
August 2nd, 2006 Two-Phase Flow Tutorial
Consistent Surface Filters for LES
Heaviside filter
box size:
L x L periodic
August 2nd, 2006 Two-Phase Flow Tutorial
Consistent Surface Filters for LES
• Problem: How to define for Heaviside filter?
– If based on
– If based on
v
lost mass
0.8
0.6
Y
0.4
0.2
0
0 0.2 0.4 0.6 0.8 1
X
initial condition
Flow solver:
• 64 x 64 cells
RLSG:
• 128 x 128 cells max
• drop transfer, = 4
Flow solver
volume fraction
0t3
August 2nd, 2006 Two-Phase Flow Tutorial
Vortex in a Box with Spray Coupling
128x128
128x128 without & with drops
=4, total V
=4, LS V no drops
t=3
drops 128x128
=4, drop V
t=3
initial condition
Flow solver:
• 643 cells
RLSG:
• 1283 cells max
• =4
RLSG
G = G0 iso-surface
0 t 1.5
August 2nd, 2006 Two-Phase Flow Tutorial
Sphere in a Deformation Field with Spray
=4 1283
1283, no drops
1283, =4, LS V
t = 1.5
1283, =4, drop V
Flow solver: 643 cells