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
Liquid/Gas Flows
Liquid/gas interfaces occur in a wide variety of
natural phenomena and technical processes:
Ocean waves
Geysers
Inkjets
Deposition and coating
wave breaking
Firefighting
Pest control
Tire splash
Combustion devices
SCRAM jets
Direct injection IC-engines
Gas turbines
Challenges:
Challenges:
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
August 2nd, 2006
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
Point-particle approach:
particle position
particle velocity
gas velocity
liquid density
gas density
gravitational accel.
particle diameter
with
Example
Glass particles injection into swirling flow in coaxial geometry
Experiment [Sommerfeld & Qiu 91]
Simulation [Apte et al. 03]
1.6 million hexas, 1.1 million particles
D10 = 45 m, log-normal size distribution
Re = 26200
Example
LES, Apte et al. IJMF 2003
Gas phase
August 2nd, 2006
Example
Mean Axial Velocity
Particle phase
August 2nd, 2006
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
Evaporation Example
Experiments
LES
Axial Velocity
Particle Mass
Flux
Diameter
Breakup Modeling
TAB (Taylor Analogy Breakup) Model [Taylor 63]:
analyze droplet distortion by spring-mass system:
external force = droplet drag force
spring force = surface tension force
damping force = droplet viscous force
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
10
Breakup Example
Liquid jet injected into chamber
Experiment [Hiroyasu & Kudota 74]
Simulation [Moin & Apte 06]
0.4 million uniform cells
initial droplet size = jet diameter
stochastic breakup and hybrid particle/parcel technique
P = 1.1 MPa
August 2nd, 2006
Breakup Example
Liquid jet injected into chamber
Experiment [Hiroyasu & Kudota 74]
Simulation [Moin & Apte 06]
0.4 million uniform cells
initial droplet size = jet diameter
stochastic breakup and hybrid particle/parcel technique
Penetration Depth
Tracking Interfaces
Common numerical methods:
Moving grids
+ very accurate for small
deformations
very complex
topology changes & normal movement difficult
Marker particles
+ accurate
very complex in 3D
topology changes by manual intervention:
challenging in 3D
normal interface movement not handled
automatically
Volume-of-Fluid (VoF)
+ good volume conservation
Level sets
+ simple interface geometry
reconstruction
+ normal interface movement
handled automatically
August 2nd, 2006
Moving Grids
Represent phase interface by grid
nodes on the interface
Move interface grid nodes by Lagrangian
transport
can result in large grid deformations
re-griding necessary
Tracking Interfaces
Common numerical methods:
Moving grids
+ very accurate for small
deformations
very complex
topology changes & normal movement difficult
Marker particles
+ accurate
very complex in 3D
topology changes by manual intervention:
challenging in 3D
normal interface movement not handled
automatically
Volume-of-Fluid (VoF)
+ good volume conservation
Level sets
+ simple interface geometry
reconstruction
+ normal interface movement
handled automatically
August 2nd, 2006
Marker Particles
Track phase interface by Lagrangian
marker particles in a fixed grid
Phase interface can be reconstructed by
polynomials through neighboring marker
particles
phase interface geometry is very accurate
(normal, curvature)
need to keep connectivity information of
markers
topology changes are difficult
10
Tracking Interfaces
Common numerical methods:
Moving grids
+ very accurate for small
deformations
very complex
topology changes & normal movement difficult
Marker particles
+ accurate
very complex in 3D
topology changes by manual intervention:
challenging in 3D
normal interface movement not handled
automatically
Volume-of-Fluid (VoF)
+ good volume conservation
Level sets
+ simple interface geometry
reconstruction
+ normal interface movement
handled automatically
August 2nd, 2006
11
Volume of Fluid
Represent phase interface by liquid volume fraction in each cell
12
Volume of Fluid
Represent phase interface by liquid volume fraction in each cell
13
Volume of Fluid
Represent phase interface by liquid volume fraction in each cell
14
Volume of Fluid
Represent phase interface by liquid volume fraction in each cell
Move phase interface by solving PDE
How?
standard advection schemes have too much dispersion
use artificial compression to preserve jump in
reconstruct interface geometry and perform geometric flux calculation
15
Volume of Fluid
Represent phaseinterface by liquid volume fraction
in each cell
PLIC
Move phase interface by solving PDE
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
16
Volume of Fluid
Represent phaseinterface by liquid volume fraction
in each cell
PLIC
Move phase interface by solving PDE
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
17
Volume of Fluid
Represent phase interface by liquid volume fraction in each cell
Move phase interface by solving PDE
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
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
cell and neighbors
19
Volume of Fluid
Problems in practical applications:
Volume of Fluid method is not exactly volume preserving
> 1 or < 0 possible
is not = 1 in liquid or = 0 in gas ( = or = 1-) wisps
lower order geometric interface reconstruction yields flotsam
interface curvature not easily calculated
height function approach, PROST (quadratic interface reconstruction)
combining geometric flux calculation and normal interface movement
(phase change) difficult
20
Tracking Interfaces
Common numerical methods:
Moving grids
+ very accurate for small
deformations
very complex
topology changes & normal movement difficult
Marker particles
+ accurate
very complex in 3D
topology changes by manual intervention:
challenging in 3D
normal interface movement not handled
automatically
Volume-of-Fluid (VoF)
+ good volume conservation
Level sets
+ simple interface geometry
reconstruction
+ normal interface movement
handled automatically
August 2nd, 2006
G for G G0 is arbitrary
usually chosen to be signed distance function with
G0 = 0:
[Sethian 96]
with
and
but: no convergence under grid refinement! [Engquist et al. 05]
Instead use [Engquist et al. 05] :
with
:
[Sussman et al. 94]
with
and
with
Pros and cons of PDE based reinitialization and redistribution:
+ easy to implement and parallelize for domain decomposition
- costly due to pseudo-time iteration
- tend to move the interface and smooth
August 2nd, 2006
and
Tracking Interfaces
Common numerical methods:
Moving grids
+ very accurate for small
deformations
very complex
topology changes & normal movement difficult
Marker particles
+ accurate
very complex in 3D
topology changes by manual intervention:
challenging in 3D
normal interface movement not handled
automatically
Volume-of-Fluid (VoF)
+ good volume conservation
Level sets
+ simple interface geometry
reconstruction
+ normal interface movement
handled automatically
August 2nd, 2006
target solution
particle corrected
level set
9
curvature distribution
particle corrected
level set
target solution
10
11
RLSG
12
RLSG
13
14
15
16
17
18
19
Solve and store all level set equations only on active cells of G-grid:
cost is only O(N2), not O(N3) high resolution: xGxfs
Efficient domain decomposition parallelization straightforward
Fast and accurate Cartesian solution techniques for HJ-PDEs can be used
(5th order WENO, FMM)
August 2nd, 2006
20
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
initial conditions
Flow solver:
64 x 64 cells
RLSG:
512 x 512 cells max
Flow solver
volume fraction
0t3
August 2nd, 2006
21
t=3
Flow solver:
64 x 64 cells
RLSG:
128 x 128 cells max
Flow solver
volume fraction
0t3
August 2nd, 2006
22
Total Volume
t=3
128x128
t=3
August 2nd, 2006
23
Total Volume
t=3
128x128
t=3
August 2nd, 2006
24
initial conditions
Flow solver:
643 cells
RLSG:
2563 cells max
RLSG
G = G0 iso-surface
0 t 1.5
August 2nd, 2006
25
RLSG 2563
RLSG 1283
t = 1.5
RLSG
1283
643
t = 1.5
26
RLSG 2563
RLSG 1283
t = 1.5
RLSG
1283
643
t = 1.5
27
28
29
30
31
32
For all gradients near/across the interface use only air/ghost air or
liquid/ghost liquid states
controls dispersion errors for quantities that have non-zero jump
For higher order: perform Taylor expansion within one fluid and apply
jump conditions at the interface
August 2nd, 2006
33
In-Cell Reconstruction
Applicable to finite volume methods
All cells with part of the interface
reconstruct in-cell gas and liquid
state from
34
35
Marker particles:
interpolate gradient of density to grid:
solve Poisson system for
For finite volume Navier-Stokes solver:
: liquid density, viscosity
: gas density, viscosity
directly
Level set:
or
36
: surface element
: surface tension coeff.
: surface mean curvature
: surface normal
: delta function at surface
Marker Particles:
: surface element edge
: surface edge tangent
VoF
level set
VoF
August 2nd, 2006
37
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
single time step t = 10-3:
|umax| = 0.146
38
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]
: marker methods [Tryggvason]
39
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]
40
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
errors in surface tension force evaluation = errors in curvature evaluation
make curvature calculation as accurate as possible
Marker Particles: polynomial reconstruction of the surface
VoF: height function approach or PROST
Level Set: higher order gradient approximation or RLSG
10
-3
L(| - ex|)
nd
Loo
L2
10
-4
10
2 order
L1
-5
10
-6
10
10
10
10
L(|u|)
10
10
10
-6
-1
10
Loo
-7
-8
ptot
-3
pmax
10
nd
2 order
L2
-2
Loo(|p-pex|)
10
10
L1
-4
ppart
10
-9
nd
2 order
-5
10
-10
-6
10
10
10
10
10
10
10
10
20x40
-4
kin
10
20x80
10
-4
10
10
20x20
-2
max L (u)
10
-6
nd
2 order
-5
10
-6
10
10
10
20x160
10
-8
10
15
20
10
0.01
0.005
nd
2 order
-4
10
error
theory
16x16
32x32
64x64
-5
10
A/
th
4 order
-6
10
-7
10
-0.005
10
10
-0.01
0
10
15
20
tn
oscillation amplitude vs. time
convergence
0.01
st
A/
0.005
-4
10
error
theory
16x16
16x32
16x64
16x128
1 order
nd
-5
2 order
10
-6
10
-7
10
-0.005
10
10
-0.01
0
10
15
20
tn
oscillation amplitude vs. time
convergence
10
0.015
0.005
error
0.01
A/
st
1 order
theory
16x16
32x32
64x64
128x128
-3
10
nd
2 order
0
-4
10
-0.005
10
10
-0.01
-0.015
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
box size:
L x L periodic
August 2nd, 2006
box size:
L x L periodic
August 2nd, 2006
box size:
L x L periodic
August 2nd, 2006
box size:
L x L periodic
August 2nd, 2006
box size:
L x L periodic
August 2nd, 2006
box size:
L x L periodic
August 2nd, 2006
box size:
L x L periodic
August 2nd, 2006
box size:
L x L periodic
August 2nd, 2006
box size:
L x L periodic
August 2nd, 2006
box size:
L x L periodic
August 2nd, 2006
box size:
L x L periodic
August 2nd, 2006
If based on
If based on
Alternative:
mass is lost
v
lost mass
mass is lost
RLSG:
with
and
identify & transfer all RLSG liquid structures thinner than
mass is lost
RLSG:
with
and
identify & transfer all RLSG liquid structures thinner than
mass is lost
RLSG:
with
and
identify & transfer all RLSG liquid structures thinner than
mass is lost
RLSG:
with
and
identify & transfer all RLSG liquid structures thinner than
but is this physical?
not really, but this is how spray models represent coherent liquid structures
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
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
=4, LS V
no drops
t=3
drops
128x128
=4, drop V
t=3
August 2nd, 2006
initial condition
Flow solver:
643 cells
RLSG:
1283 cells max
=4
RLSG
G = G0 iso-surface
0 t 1.5
August 2nd, 2006
=4
1283
1283, no drops
1283, =4, LS V
t = 1.5
Acknowledgments
S. Apte
F. Ham
V. Moureau
E. v.d. Weide
D. Kim
O. Desjardins
E. Knudsen