Comparison Between the Diffuse Interface and Volume of Fluid Methods for Simulating Two-Phase Flows
Comparison Between the Diffuse Interface and Volume of Fluid Methods for Simulating Two-Phase Flows
Abstract
A wide variety of interface capturing methods have been introduced for simulating two-phase flows through-
out the years. However, there is a noticeable dearth of literature focusing on objective comparisons between
these methods, especially when they are coupled to the momentum equation and applied in physically
relevant regimes. In this article, we compare two techniques for simulating two-phase flows that possess at-
tractive qualities, but belong to the two distinct classes of diffuse interface (DI) and volume of fluid (VOF)
methods. Both of these methods allow for mass-conserving schemes that can naturally capture large interfa-
cial topology changes omnipresent in realistic two phase flows. The DI solver used in this work is based on a
conservative and bounded phase field method, developed recently. Similar to level set methods, this diffuse
interface method takes advantage of the smoothness of the phase field in computing curvature and surface
tension forces. Geometric VOF methods track the fractional tagged volume in a cell. The specific geometric
VOF scheme used here is a discretely conservative and bounded implementation that uses geometric algo-
rithms for unsplit advection and interface reconstruction, while employing height functions for normal and
curvature calculation. We present a quantitative comparison of these methods on Cartesian meshes in terms
of their accuracy, convergence rate, and computational cost using canonical two-dimensional (2D) two-phase
test cases: a very dense drop moving through a quiescent gas, the Rayleigh-Taylor instability, an equilibrium
static drop, an oscillating drop and the damped surface wave. We further compare these methods in their
ability to resolve thin films by simulating the impact of a water drop on a deep water pool. Using results of
these studies, we suggest qualitative guidelines for selection of schemes for two-phase flow calculations.
Keywords: diffuse interface, volume of fluid, two-phase flow
1. Introduction
In general, numerical methods for simulating immiscible two phase flows can be split into front tracking
and front capturing methods [1]. For example, in the realm of front tracking methods, Unverdi and Tryg-
gvason [2] coupled the Navier-Stokes equations with the use of marker points for following the immiscible
fluid interfaces. In these methods, marker points are advected and marker functions are reconstructed from
their location. We refer the reader to a more comprehensive overview of such methods provided in [3].
These methods are not easy to adopt for capturing many realistic flows where severe topological changes
can occur at the interfaces. The most popular methods among the front capturing schemes, which require
no additional treatment to capture topological changes, are categorized into volume of fluid methods, level
set methods and phase field (diffuse interface) methods. The interested reader is referred to [1] for a detailed
review of interface capturing methods.
2. Numerical Methods
~n · ~x + C = 0, (1)
where ~n points outward with respect to the reference phase, and C enforces the volume fraction in the
cell [54]. PLIC-VOF methods have the potential to provide discrete mass conservation, which is important
to many two-phase engineering applications including those involving large density ratios, such as breaking
waves, and those involving wide range of length scales associated with secondary breakups to disperse phases.
In our adopted methodology, the equations governing the PLIC-VOF scheme are as follows. The volume
fraction, which is advected geometrically using the non-intersecting flux polyhedron advection (NIFPA)
scheme described in [55] is governed by:
∂f
+ ∇ · (f~u) = 0 (2)
∂t
The momentum equation is given by
∂ρ~u
+ ∇ · (ρ~u ⊗ ~u) = −∇P + ∇ · µ ∇~u + ∇~u> + ρ~g + T~ , (3)
∂t
4
0.8 0.9
0.7 0.8
0.6 0.7
0.6
0.5
0.5
0.4
0.4
0.3
0.3
0.2 0.2
0.1 0.1
(a) DI 10 × 10 (b) DI 20 × 20
Figure 1: A drop with R = 0.25 placed in a 1 × 1 domain for DI and VOF at two different resolutions
5
where the surface tension force per volume is
T~ = σκ~nδΣ , (4)
in which δΣ is a numerical Dirac delta function. The convective flux in Equation 3 is computed in a
geometric manner consistent with the geometric operator used for volume fraction advection. A balanced
force discretization of surface tension forces is used to allow for pressure gradients to balance surface tension
forces at equilibrium and reduce spurious currents. Curvature values and the normal vector are computed
using embedded height functions (EHF) and utilized in computing the surface tension force per volume, T~ ,
which is implemented as a continuum-surface-force (CSF) as shown in Equation 4. In addition, density and
viscosity fields are coupled to Equation 2 via
ρ = (ρl − ρg )f + ρg , (5)
and
µ = (µl − µg )f + µg . (6)
The flow is incompressible,
∇ · ~u = 0, (7)
and an adaptation of the fractional-step time integration method of [56] was used for second order time
integration and enforcement of Equation 7. It is noteworthy that this novel discretization of the one-fluid
formulation discretely conserves mass, and in the absence of viscous and capillary effects, momentum.
∇ · ~u = 0, (10)
6
and the Navier-Stokes equations can be written as
∂~u 1
+ ∇ · (~u ⊗ ~u) = −∇P + ∇ · [µ(∇~u + ∇T ~u)] + ρ~g + σκ∇φ , (11)
∂t ρ
• We use second order central differences in space to have mass and momentum conservation (in the
absence of surface tension forces) in addition to boundedness of φ. As explained in [39] by choosing
the appropriate RHS parameters( and γ) for Equation 9, desirable conservation properties can be
retained while upwinding schemes or complicated methods for the advection of the phase field are
avoided.
• A second order three stage Runge-Kutta stepping scheme adopted from [58] is used for time stepping.
This time stepping scheme only requires one Poisson solve per time step.
• The convective term in the momentum equation is in divergence form.
• Since there are no overshoots or undershoots in the phase field equation, no mass-redistribution is
required.
7
2.4. Cost Comparison
An objective and accurate comparison of different numerical methods is a delicate task. There are many
challenges in comparing the cost of two codes that consist of multiple subroutines and employ different
discretizations and frameworks. To ensure that a fair comparison between the two solvers is performed we
have taken the following steps:
• For all the canonical problems (all cases except the droplet impact problem), the simulations were
performed on one single processor on the same computing machine.
• While the cost of the DI solver depends almost entirely on the size of the problem (not the density ratio
or dynamics), the routines employed in the VOF simulations loop over the interfacial cells, making
the run times problem dependent and mainly a function of the number of interfacial cells. Therefore,
for each specific problem, we exactly match the input parameters for the two solvers (e.g. densities,
surface tension, viscosities and initial conditions), and document the cost for the specific physical
problem. This is in contrast to reporting cost based on scaling relations from generic simulations.
• In this work, by cost we are referring to total run time for performing a simulation. In some figures,
cost per time-step, which is the run time for one time-step is compared for the different methods.
• In all of the cost figures the relative cost of simulating each case with respect to the coarsest DI
calculation (cheapest simulation) is plotted.
• For the droplet impact problem, we use the same clusters to perform the parallel simulations. Overall
cost is presented in terms of relative CPU-Hours of computation.
• Generally speaking, the computational cost of an unstructured flow solver is larger than that of an
equivalent structured flow solver because the memory layouts of structured flow solvers can be lever-
aged by the machine (e.g. reduce cache misses). However, the arithmetic intensity of the geometric
VOF scheme of Ivey and Moin [13] exceeds that of the momentum solve and curvature computation
(the embedded height function scheme of Ivey and Moin [13] reduces to the traditional height function
method on uniform hexahedral meshes). The geometric advection method is Lagrangian in nature
and has similar costs on both structured and unstructured hexahedral meshes. Therefore, any com-
putational savings provided by a structured memory layout is expected to be negligible compared to
the geometric VOF method. As such, the unstructured nature of the VOF solver does not invalidate
findings described herein.
• For Cartesian grids, the computational cost of performing VOF simulations in this work is dominated
by the computational geometric operations in the advection step. These operations are performed for
interfacial cells and computational cost scales with the number of such cells. On the other hand, the
cost of the diffuse interface method is dominated by the Poisson solve required to find pressure, and
we observe this cost to scale with the total number of cells in the domain. The relative cost of the
two methods is problem dependent. For an N × N two-dimensional domain, if the interface remains
local and limited to a narrow region of the domain, the cost of performing one time-step of VOF and
DI simulations can be approximated as CV OF N and CDI N 2 respectively, where CV OF and CDI are
constants and CV OF CDI . If the interfacial zones are distributed throughout the domain, like in
droplet laden turbulence, bubbly flows or turbulent breaking waves, the cost of one time-step of VOF
would then be approximated by C 0 V OF N 2 where again C 0 V OF CDI . This has two implications.
First, for cases where the interface is limited to a specific portion of the domain, the relative cost of
VOF compared to DI shrinks as the mesh is refined. Second, for cases where the interface is spread
around the whole domain, diffuse interface is significantly cheaper regardless of the resolution.
• Although the Poisson solvers used in the two codes are not identical, for the same number of unknowns,
the two Poisson solvers give similar run times. Hence, it is safe to assume that the cost comparisons
reported in this work are independent of the specific choice of Poisson solvers. It is worth noting
8
however, that typically solving the Poisson system subsumes the majority of the cost of the DI, while
only taking a small portion (problem-dependent but generally < 25%) of the cost of the VOF solver
[53].
3. Results
In this section we consider multiple two-dimensional (2D) canonical problems in which interface transport
is coupled with the Navier-Stokes equations. For each test case, we present results from DI and VOF
simulations. Many numerical tests that are decoupled from the Navier-Stokes equations are presented
in [55, 13] and [21] to verify the accuracy of the numerical methods used for the advection and normal
vector/curvature calculation steps of the VOF method chosen for this comparison. Furthermore, the two-
phase discretization has been verified using canonical two-phase flows [59]. Similar verification tests can
be found in the appendix for the DI method under study herein and in [39]. We have excluded these
tests from our comparison section since we intend to make conclusions for realistic applications where the
momentum equation and two-phase solver are coupled and computational cost may be a factor which needs
to be considered.
We present simulation results from several test cases that evaluate different aspects of the two solvers we
have chosen to compare. Section 3.1 uses the problem of advecting a very dense drop to assess the solvers’
robustness and ability to handle large density ratios. Next, we proceed to simulations of a more complicated
flow, with Rayleigh-Taylor (RT) instability in Section 3.2 providing a measure for comparing the accuracy
of interface and momentum transport via the two solvers. This case is unique in the sense that interfacial
regions are not confined in space and grow in time, allowing us to study how that affects the cost levels of
each solver. Surface tension is zero in the RT simulations, decoupling the accuracy of momentum transport
from surface tension force implementation. Moreover, this case has similarities with turbulent two-phase
flows as we will explain in Section 3.2. In Section 3.3, spurious currents are reported. We compare the
accuracy of the surface tension force implementations via examination of these artificial currents, which
are especially detrimental in simulations of surface tension dominant flows. In Sections 3.4 and 3.5, the
numerical interplay of inertia and surface tension forces is studied in the context of droplet oscillations
and damping surface waves, respectively. Finally, the realistic problem of droplet-pool impact is studied
in Section 3.6. This test involves interactions between inertia, surface tension forces and lubrication flow.
Moreover, the complex topologies that arise in these simulations provide another opportunity to compare
the competence of the solvers.
9
(a) DI, advection distance of 1D (b) DI, advection distance of 5D
Figure 2: Interface profiles for the dense drop advection problem at density ratio of 107 on a 128 × 128 grid with around 25
cells across the drop diameter, using DI and VOF with lower order advection operators
The main conclusion from this test case is that both chosen two-phase solvers are very robust in the face of
large density ratios.
10
t = 0.6 [s] t = 0.6 [s] t = 0.6 [s] t = 0.6 [s]
0.5 0.5 0.5 0.5
0 0 0 0
y [m]
y [m]
y [m]
y [m]
-0.5 -0.5 -0.5 -0.5
-1 -1 -1 -1
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
x [m] x [m] x [m] x [m]
t = 0.7 [s] t = 0.7 [s] t = 0.7 [s] t = 0.7 [s]
0.5 0.5 0.5 0.5
0 0 0 0
y [m]
y [m]
y [m]
y [m]
-0.5 -0.5 -0.5 -0.5
-1 -1 -1 -1
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
x [m] x [m] x [m] x [m]
t = 0.8 [s] t = 0.8 [s] t = 0.8 [s] t = 0.8 [s]
0.5 0.5 0.5 0.5
0 0 0 0
y [m]
y [m]
y [m]
y [m]
-0.5 -0.5 -0.5 -0.5
-1 -1 -1 -1
0 0 0 0
y [m]
y [m]
y [m]
-1 -1 -1 -1
Figure 3: Rayleigh-Taylor instability. Resolution is increased from left (64 × 256) to right (512 × 2048), while physical time
increases from top (t = 0.6) to bottom (t = 0.9). For each panel, blue dashed lines show the interface location predicted by
DI on the left and red dashed lines show the interface location from VOF simulations on the right. The reference solution at
different times is also plotted in solid black.
11
5
10 3
4.5
4
relative cost
10 2
3.5
cost
3
10 1 2.5
DI
VOF 2
Nx 2
10 0 1.5
10 2 10 3 0 0.2 0.4 0.6 0.8 1
Nx t[s]
(a) (b)
Figure 4: Relative cost of performing Rayleigh-Taylor simulations with DI and VOF compared at different resolutions (a), and
cost of performing one time-step of the 64 × 256 VOF simulation plotted against physical time (b)
overall effect is that VOF cost scales with Nx 2 , which is different from most other simulations we will go
through in the remainder of the paper. As mentioned before, we see from Figure 3 that the accuracy of
the VOF simulation is comparable to the DI simulation with twice the resolution. On the other hand, from
Figure 4a it can be seen that the cost associated with each VOF simulation is comparable to the cost of DI
performed at four times that resolution. As a result, we can conclude that at higher numerical resolution but
equal cost levels, DI yields more accurate results for this test case. Similar to the RT instability, turbulent
two-phase flows also cause interfacial regions to fill the space, resulting in the cost of VOF to scale with the
total number of cells. Based on the results in this section, it is reasonable to conclude that for turbulent
flows, a higher resolution DI can achieve similar accuracy to a VOF calculation but with less cost.
0.4
0.2
(a) DI (b) VOF
Figure 5: Zoom-in on spurious currents in and around a stationary drop after equilibrium for the diffuse interface and VOF
simulations performed on 128×128 grids
10 -5
10 -6
10 -7
10 1 10 2
Figure 6: Ca = umax µ/σ associated with spurious flow for the stationary drop problem at different resolutions
In Figure 6 we have compared the magnitude of Ca = umax µ/σ for the two methods at equilibrium
time for different resolutions. It is apparent that while the two methods perform similarly at the coarser
levels (∼ 6 mesh points across the drop) at higher resolutions VOF produces about an order of magnitude
smaller artificial currents compared to the diffuse interface. Moreover, VOF seems to have about second
order convergence, while DI has close to first order convergence rate with mesh refinement. These results
are in accordance with the predictions of [61], who showed that the magnitude of the maximum spurious
current in the domain should have the same convergence rate as the curvature evaluation as one refines the
mesh.
We have also compared the accuracy of the two methods against cost for these simulations. In Figure 7a,
Ca = umax µ/σ is plotted versus cost of performing one time-step using either method. However, due to its
finer resolution at a comparable cost, DI requires finer time-step and thus it is more reasonable to compare
the total cost for simulations performed over a fixed physical time (t∗ = 250). This comparison is plotted in
Figure 7b. However, it is also important to consider cost per time-step because in a realistic simulation, the
time-step restriction may indeed be imposed by stiffer physics or processes that are happening elsewhere in
the domain.
13
DI DI
10 -4 VOF 10 -4
VOF
Ca = umax µ/σ
Ca = umax µ/σ
10 -5 10 -5
10 -6 10 -6
0 1 2
10 10 10 10 0 10 1 10 2 10 3 10 4
relative cost/time-step relative cost
(a) (b)
Figure 7: Ca = umax µ/σ in the stationary drop problem at equilibrium plotted against the cost per time step (a) and total
cost (b) for DI and VOF
From Figures 7a and 7b, it is apparent that if one desires very high accuracy with minimal tolerance for
spurious currents, VOF would be the method that provides lower Ca at a low cost. Nevertheless, in most
applications spurious current is an issue at low resolutions (e.g. poorly resolved drops in a liquid atomization
process [62] or droplet-laden turbulence [63]), where a refined DI is the better option.
We have also provided comparisons of cost of performing each simulation at different resolutions in
Figures 8a and 8b. In Figure 8a the relative cost of performing one time step of either method is plotted.
Diffuse interface is consistently one to two orders of magnitude cheaper than VOF at the same resolution.
An important distinction between the cost of VOF and DI is highlighted by the scalings of the cost of the two
methods. As we previously explained, most of the cost associated with VOF is due to geometric operations
for advection and curvature calculation which are performed at cells containing the interface. The number
of cells containing the interface scales with N , and as a result the whole cost of computation per time-step
for VOF scales with N α , where 1 < α < 2. On the other hand, as explained before, DI is blind to the
intricacies of the interface and the cost of all operations (including the sparse matrix Poisson solve step)
scales with the number of mesh points, N 2 . The total cost of reaching t∗ = 250 is shown in figure 8b. Since
the capillary time-step is used here the cost of each time-step is multiplied by a factor of N 3/2 , thus while
the ratio of the costs is preserved from Figure 8a to Figure 8b, the total cost evidently scales with N β and
N 3.5 for VOF and DI respectively, where 2.5 < β < 3.5.
n(n2 − 1)σ
ω2 = . (16)
(ρ1 + ρ2 )R0 3
In our simulations we can measure the period of oscillations, Tcalc , and compare it against the theoretical
prediction. Specifically the error of calculated period is reported as
ωTcalc
ET = −1 . (17)
2π
14
10 4
10 2
10 2
10 0 10 0
10 1 10 2 10 1 10 2
(a) (b)
Figure 8: Comparison of cost per time-step (a) and total cost (b) of DI and VOF for the spurious current problem
The error in the calculated period of oscillations from the DI and VOF methods can be seen in Figure 9. By
examining this error we assess the accuracy of surface tension force calculations in the two different methods.
Similar to previous cases, VOF outperforms DI at the same resolution for this test case. When comparing
the period error values from these methods against cost, the conclusion is quite different. This comparison
is illustrated in Figure 10. The cost per time-step and total cost are used in this figure to demonstrate that
the two methods are performing at comparable levels for this test case.
We provide the relative cost per time-step and relative total cost of DI and VOF in Figure 11. The cost
is again around an order of magnitude less for DI. The logic used to interpret Figures 8a and 8b applies here
as well. Hence, cost per time-step of DI and VOF scale with N 2 and N α respectively, where 1 < α < 2. This
naturally leads to the total cost scalings of N 3.5 and N β for DI and VOF respectively, where 2.5 < β < 3.5.
10 -1
10 -2
10 -3
10 1 10 2
Figure 9: Period error in the oscillating drop problem for different methods and resolutions
10 -1 DI 10 -1
VOF
ET = |(Tcalc /Texact − 1)|
10 -2 10 -2
10 0 10 1 10 2 10 0 10 2
relative cost/time-step
(a) (b)
Figure 10: Period Error in the oscillating drop problem for different methods plotted against computational cost per time-step
(a) and total computational cost (b)
16
10 3
10 4
10 2
10 1 10 2
10 0
10 0
10 1 10 2 10 1 10 2
(a) (b)
Figure 11: Comparison of cost per time-step (a) and total cost (b) of DI and VOF for the oscillating drop period calculation
problem
different resolutions alongside the exact solution in Figures 12a and 12b respectively. It is clear that the
sharp interface calculations from VOF are more accurate at capturing the correct location of the interface.
Using the theoretical amplitude evolution equation (Equation 19) a better comparison of the performance
of the two methods can be obtained from examining the root-mean-squared (r.m.s.) error of the simulation
predictions. This comparison is given in Figure 13a . While VOF errors for this test case are about an
order of magnitude smaller than DI for the same resolution, both methods show first order convergence. It
is important to note that the initial amplitude of the wave is small and comparable to the thickness of the
interface for the DI simulations. This will lead to errors of the order of the thickness of the interface ()
for the location of the contour φ = 0.5, explaining the first order trend in the errors. Moreover, since our
measure for comparison in this test case is the evolution of the small amplitude standing wave, we believe
that part of the failure of DI relative to VOF is because of the need for secondary interpolation for finding
the exact location of the interface, a step unnecessary for sharp interface models such as VOF.
Once again, we compare the error of the methods against computational cost. Figure 13b shows that
VOF is more cost-efficient when very high accuracy in determining the location of the interface is sought.
On the other hand, in lieu of a low resolution VOF, DI with higher resolution provides higher accuracy while
maintaining the same cost.
In Figure 14, we compare the relative cost of performing the simulations using DI and VOF at different
resolutions. Diffuse interface seems to be between one and two orders of magnitude cheaper at the same
resolution. However for this topologically simple problem , since the number of interfacial cells clearly scales
with N , and the majority of the work for the VOF method is done on these cells, the cost seems to be
proportional to N , as opposed to DI which computes the evolution of φ in all cells in the domain, resulting
in a cost (for Poisson and the rest of computations) scaling with N 2 .
5 10 15 20
0 5 10 15 20
(a) DI
(b) VOF
Figure 12: Amplitude of the wave at x = ∆x/2 from DI and VOF simulations are plotted against time for different resolutions
alongside the theoretical prediction. In both figures, the theoretical curve is plotted in solid black, while the numerical results
from 16 × 16, 32 × 32, 64 × 64 and 128 × 128 simulations are plotted using dotted, dashed-dotted, dashed and solid blue lines
respectively.
10 0 DI
VOF
10 -1
Erms
10 -2
Erms
DI -2
10
VOF
N −1
10 -4 N −2
10 1 10 2 10 0 10 1 10 2
N relative cost
(a) (b)
Figure 13: Standing wave r.m.s error values for different methods plotted against resolution (a), and standing wave r.m.s error
values for different methods plotted against computational cost (b)
18
relative cost
10 2
DI
VOF
N1
N2
10 0
10 1 10 2
N
Figure 14: Cost comparison of DI and VOF for the standing wave problem
appear on the edge of the retracting thin film, these azimuthal instabilities do not lead to pinch-off of smaller
bubbles. As such a 2D simulation of the full problem is also expected to result in one large bubble after the
thin film has retracted.
Boundary element methods (BEM) coupled with lubrication flow in the gas are usually employed for
simulating this phenomenon [67, 68]. Such methods are preferred since they do not require resolving the
thickness of the very thin gas film. Nevertheless, in this section we compare the performance of VOF and DI
at capturing the outcome of the drop-pool impact problem using highly resolved 2D two-phase simulations.
We simulate a water-air system with impact velocity U = 1m/s and droplet diameter D = 3.4mm on
stretched meshes concentrated around the region of impact. Due to the resolution requirements of this
problem, we perform these simulations utilizing parallel computing. In Figure 15b, the thin gas film is
shown just prior to the contact of the liquid bodies, depicting how the simulations converge to a solution
that is also close to the predictions of a BEM simulation similar to [67]. The mean film thickness of the film
is also in agreement with experimental measurements by [69]. After the drop and pool contact however,
some smaller bubbles are observed in the simulations. These bubbles are unphysical, as their size shrinks
almost proportional with the mesh, and also as the experiments show, only one large bubble remains after
retraction of the thin gas film. These numerical bubbles can be seen in Figure 15c, which shows a zoom-in
on the contact zone of a 6144 × 6144 DI simulation. The diameter of the large bubble and the numerical
bubbles generated from VOF and DI are sorted and plotted in Figure 16. Indeed, the size of these artificial
bubbles shrink linearly with mesh refinement as shown in Figure 16.
Through rigorous comparisons we find that both methods converge on the geometry of the film and the
diameter of the large physical bubble resulting from it’s retraction, but VOF requires less resolution as one
would expect. Figure 16 shows how results from a DI simulation on a 6144 × 6144 stretched mesh capture
features with the same length scales as a 2048 × 2048 stretched mesh VOF simulation of this problem.
Curiously however, the VOF simulation (with 3 times mesh points in both directions) requires about 5
times more computational cost than the DI simulation. It’s worth a reminder that in the VOF method
19
(a) (b)
(c)
Figure 15: Schematic of how a thin gas film is entrapped during the drop-pool impact event (a). Entrapped thin film at contact
time from DI simulations at three different resolutions and a BEM simulation for a D = 3.4mm water drop impacting a deep
pool with U = 1m/s(b). A zoomed-in snapshot of the interface and numerical air bubbles around the region where the drop
and pool first contact for a 6144 × 6144 DI simulation of a D = 3.4mm water drop impacting the pool with U = 1m/s (c)
20
DI2048 × 2048
DI3072 × 3072
DI4096 × 4096
DI6144 × 6144
V OF 4096 × 4096
Bubble Diameter(m)
V OF 2048 × 2048
10 -5 V OF 1024 × 1024
V OF 512 × 512
10 -6
2 4 6 8 10 12
Bubble Index
Figure 16: Sorted bubble diameters for VOF and DI, demonstrating convergence on the size of the large bubble while numerical
bubbles shrink with mesh refinement
studied here, the operations deployed to find the volume fractions and their normal vector are performed
in regions containing the interface. As a result, when a highly stretched mesh is used to concentrate most
mesh points around the interface, the cost almost scales with the number of total mesh points. Moreover,
in such large parallel computations, load balancing is much more difficult for VOF compared to DI which is
load-balanced in nature.
4. Conclusions
In this paper we compared two fundamentally different yet promising numerical methods from the class
of VOF and DI methods. While both of these methods have attracted plenty of attention from researchers,
an unbiased comparison of these methods’ capabilities was warranted. Several test cases were chosen to
assess the relative performance and computational cost of these methods at solving the interface evolution
equation coupled to the Navier-Stokes equation.
It was observed that for most of the test cases VOF was more accurate than DI at the same resolution. In
terms of convergence behavior, both methods were convergent on all test cases with comparable convergence
rates. However, the computational cost of DI was typically an order of magnitude less than VOF at the same
resolution. We generally observed that while maintaining accuracy, one could save a factor of about 2-3 in
resolution by switching from DI to VOF. However, more often than not, the cost of these two comparably
accurate simulations would be similar or even cheaper in the case of DI.
For most test cases, DI with more resolution was found to be a better option than coarse or under-
resolved VOF simulations. At high resolutions VOF yielded higher accuracy at lower cost compared to DI.
This was especially found to be true for problems where the interfacial cells were confined in space. For
such flows, if the space has λ dimensions and N cells per direction, the cost of VOF and DI scale with
N λ−1 and N λ respectively, giving VOF an advantage at higher N values. We verily observed this for some
of our small canonical problems; however, large realistic problems requiring parallel computing incur load
balancing issues for the geometric VOF, while posing no extra challenge to the scalable DI. Alternatively if
the interface is not confined to a particular region of space, as is the case for most high Re two-phase flows,
high resolution would be needed at all points in space. For a flow in λ dimensions, this results in the VOF
21
0.4
0.4
0.35 0.35
0.8 0.8
0.3 0.3
y
0.2
y
0.2
0.4 0.4 0.15
0.15
0.1 0.1
0.2 0.2
0.05 0.05
0 0
0.2 0.4 0.6 0.8 0.2 0.4 0.6 0.8
x x
Figure 17: Pressure field from diffuse interface compared to the theoretical value of pressure for a sharp interface drop. In
addition, the interface location is plotted in black in part (b)
cost to scale with N λ , similar to DI. As such, compared to VOF, the low computational cost of DI would
allow for cheaper DI calculations at higher accuracy and cost levels for these problems. Based on these
discussions and our results, it seems likely that in both types of flows, the accuracy of DI accompanied by
its scalability and low cost allow for DI to outperform VOF in many practical simulations.
where HS(x) is the heavy side step function, and r is the distance of a point from the center of the domain.
In Figure 18, the pressure error, EP is plotted against resolution. These calculations were performed by
selecting = ∆x = ∆y in all simulations. Clearly, the error in the pressure calculation decreases linearly
with mesh refinement.
22
DI
N −1
N −2
10 -2
EP
10 -3
10 -4
10 1 10 2
ND
L
Figure 18: Convergence study on the accuracy of pressure/surface tension force calculation
Then, Figure 21 shows how errors are reduced with approximately second order convergence rate.
5. Acknowledgements
This work was supported by Office of Naval Research (Grant No. 119675) and NASA (Grant No. 127881)
.
23
0.8 0.8
0.6 0.6
y
y
0.4 0.4
0.2 0.2
0 0
0 0.2 0.4 0.6 0.8 0 0.2 0.4 0.6 0.8
x x
(a) 128 × 128 (b) 256 × 256
0.8 0.8
0.6 0.6
y
0.4 0.4
0.2 0.2
0 0
0 0.2 0.4 0.6 0.8 0 0.2 0.4 0.6 0.8
x x
(c) 512 × 512 (d) 1024 × 1024
Figure 19: Interfacial profiles at t = T /2 for drop in deformation field. Increasing resolution from left to right and top to
bottom results in an intact ligament which does not break into drops
24
0.8 0.8
0.6 0.6
y
y
0.4 0.4
0.2 0.2
0 0
0 0.2 0.4 0.6 0.8 0 0.2 0.4 0.6 0.8
x x
(a) 128 × 128 (b) 256 × 256
0.8 0.8
0.6 0.6
y
0.4 0.4
0.2 0.2
0 0
0 0.2 0.4 0.6 0.8 0 0.2 0.4 0.6 0.8
x x
(c) 512 × 512 (d) 1024 × 1024
Figure 20: Interfacial profiles at t = T for drop in deformation field plotted against initial drop. The final solution and initial
drop should lay on top of each other with a perfect two-phase flow numerical method.
25
10 -2
10 -3
10 -4
10 2
Figure 21: Shape error for the deforming drop test case versus resolution
6. References
[1] S. Mirjalili, S. Jain, M. Dodd, Interface-capturing methods for two-phase flows: An overview and recent developments,
Center for Turbulence Research Annual Research Briefs (2017) 117–135.
[2] S. O. Unverdi, G. Tryggvason, A front-tracking method for viscous, incompressible, multi-fluid flows, Journal of compu-
tational physics 100 (1) (1992) 25–37.
[3] G. Tryggvason, B. Bunner, A. Esmaeeli, D. Juric, N. Al-Rawahi, W. Tauber, J. Han, S. Nas, Y.-J. Jan, A front-tracking
method for the computations of multiphase flow, Journal of Computational Physics 169 (2001) 708–759.
[4] R. Debar, Fundamentals of the KRAKEN code, Technical Report UCIR-760, Lawrence Livermore National Laboratory,
CA.
[5] B. D. Nichols, C. W. Hirt, Methods for calculating multi-dimensional, transient free surface flows past bodies, Tech. Rep.
LA-UR-75-1932, Los Alamos National Laboratory (1975).
[6] W. F. Noh, P. Woodward, SLIC (simple line interface calculation), in: A. I. van de Vooren, P. J. Zandbergen (Eds.),
Proceedings of the Fifth International Conference on Numerical Methods in Fluid Dynamics June 28 – July 2, Twente
University, Enschede, Vol. 59 of Lecture Notes in Physics, Springer, Berlin, Heidelberg, 1976, pp. 330–340.
[7] R. Scardovelli, S. Zaleski, Direct numerical simulation of free-surface and interfacial flow, Annual review of fluid mechanics
31 (1) (1999) 567–603.
[8] G. Tryggvason, R. Scardovelli, S. Zaleski, Direct numerical simulations of gas–liquid multiphase flows, Cambridge Univer-
sity Press, 2011.
[9] J. Lpez, J. Hernndez, P. Gmez, F. Faura, A volume of fluid method based on multidimensional advection and spline
interface reconstruction, Journal of Computational Physics 195 (2) (2004) 718 – 742. doi:https://doi.org/10.1016/j.
jcp.2003.10.030.
URL http://www.sciencedirect.com/science/article/pii/S0021999103005801
[10] M. Owkes, O. Desjardins, A computational framework for conservative, three-dimensional, unsplit, geometric transport
with application to the volume-of-fluid (vof) method 270 (2014) 587–612.
[11] J. E. P. Jr., E. G. Puckett, Second-order accurate volume-of-fluid algorithms for tracking material interfaces, Journal of
Computational Physics 199 (2) (2004) 465 – 502.
[12] L. Jofre, O. Lehmkuhl, J. Castro, A. Oliva, A 3-D Volume-of-Fluid advection method based on cell-vertex velocities for
unstructured meshes 94 (2014) 14–29.
[13] C. Ivey, P. Moin, Conservative and bounded volume-of-fluid advection on unstructured grids, Submitted to the J. of
Comput. Phys.
26
[14] L. Jofre, R. Borrell, O. Lehmkuhl, A. Oliva, Parallel load balancing strategy for Volume-of-Fluid methods on 3-D un-
structured meshes 282 (2015) 269–288.
[15] B. Parker, D. Youngs, Two and three dimensional Eulerian simulation of fluid flow with material interfaces, Atomic
Weapons Establishment, 1992.
[16] E. Aulisa, S. Manservisi, R. Scardovelli, S. Zaleski, Interface reconstruction with least-squares fit and split advection in
three-dimensional cartesian geometry, Journal of Computational Physics 225 (2) (2007) 2301 – 2319.
[17] R. Scardovelli, S. Zaleski, Interface reconstruction with least-square fit and split eulerianlagrangian advection, International
Journal for Numerical Methods in Fluids 41 (3) (2003) 251–274.
[18] M. M. Francois, S. J. Cummins, E. D. Dendy, D. B. Kothe, J. M. Sicilian, M. W. Williams, A balanced-force algorithm
for continuous and sharp interfacial surface tension models within a volume tracking framework, J. Comput. Phys. 213 (1)
(2006) 141–173. doi:http://dx.doi.org/10.1016/j.jcp.2005.08.004.
[19] M. Sussman, M. Ohta, A stable and efficient method for treating surface tension in incompressible two-phase flow, SIAM
Journal on Scientific Computing 31 (4) (2009) 2447–2471.
[20] S. Popinet, An accurate adaptive solver for surface-tension-driven interfacial flows, Journal of Computational Physics
228 (16) (2009) 5838–5866.
[21] C. Ivey, P. Moin, Accurate interface normal and curvature estimates on three-dimensional unstructured non-convex poly-
hedral meshes, Journal of Computational Physics 300 (2015) 365–386.
[22] S. Osher, J. A. Sethian, Fronts propagating with curvature-dependent speed: Algorithms based on hamilton-jacobi for-
mulations, Journal of Computational Physics 79 (1) (1988) 12 – 49.
[23] M. Sussman, P. Smereka, S. Osher, A level set approach for computing solutions to incompressible two-phase flow, Journal
of Computational Physics 114 (1) (1994) 146 – 159. doi:https://doi.org/10.1006/jcph.1994.1155.
URL http://www.sciencedirect.com/science/article/pii/S0021999184711557
[24] M. Herrmann, A balanced force refined level set grid method for two-phase flows on unstructured flow solver grids,
J. Comput. Phys. 227 (2008) 2674–2706.
[25] M. Sussman, A second order coupled level set and volume-of-fluid method for computing growth and collapse of vapor
bubbles, Journal of Computational Physics 187 (1) (2003) 110 – 136.
[26] E. Olsson, G. Kreiss, A conservative level set method for two phase flow, J. Comput. Phys. 210 (2005) 225.
[27] E. Olsson, G. Kreiss, S. Zahedi, A conservative level set method for two phase flow ii, J. Comput. Phys. 225 (2007) 785.
[28] D. Anderson, G. McFadden, A. Wheeler, Diffuse-interface methods in fluid mechanics, Annual Review of Fluid Mechanics
30 (1998) 139–165.
[29] V. Badalassi, H. Ceniceros, S. Banerjee, Computation of multiphase systems with phase field models, Journal of Compu-
tational Physics 190 (2) (2003) 371–397.
[30] J. Kim, A continuous surface tension force formulation for diffuse-interface models, Journal of Computational Physics
204 (2) (2005) 784–804.
[31] Y. Sun, C. Beckermann, Sharp interface tracking using the phase-field equation, Journal of Computational Physics 220 (2)
(2007) 626 – 653.
[32] H. Ding, P. D. Spelt, C. Shu, Diffuse interface model for incompressible two-phase flows with large density ratios, Journal
of Computational Physics 226 (2) (2007) 2078 – 2095.
[33] D. Jacqmin, Calculation of two-phase navierstokes flows using phase-field modeling, Journal of Computational Physics
155 (1) (1999) 96 – 127.
[34] J. Kim, S. Lee, Y. Choi, A conservative allencahn equation with a spacetime dependent lagrange multiplier, International
Journal of Engineering Science 84 (2014) 11 – 17. doi:https://doi.org/10.1016/j.ijengsci.2014.06.004.
URL http://www.sciencedirect.com/science/article/pii/S0020722514001311
[35] J. W. Cahn, J. E. Hilliard, Free energy of a nonuniform system. i. interfacial free energy, The Journal of Chemical Physics
28 (2) (1958) 258–267.
[36] J. Shen, X. Yang, A phase-field model and its numerical approximation for two-phase incompressible flows with different
densities and viscosities, SIAM Journal on Scientific Computing 32 (3) (2010) 1159–1179.
[37] P. Yue, C. Zhou, J. J. Feng, Spontaneous shrinkage of drops and mass conservation in phase-field simulations, Journal of
Computational Physics 223 (1) (2007) 1 – 9.
[38] P. H. Chiu, Y. T. Lin, A conservative phase field method for solving incompressible two-phase flows, J. Comput. Phys.
230 (2011) 185.
[39] S. Mirjalili, C. B. Ivey, A. Mani, On the boundedness properties of a conservative diffuse interface method for two-phase
flowsarXiv:arXiv:1803.01262.
[40] S. Popinet, Numerical models of surface tension, Annual Review of Fluid Mechanics 50 (1) (2018) 49–75. doi:10.1146/
annurev-fluid-122316-045034.
[41] S. J. Cummins, M. M. Francois, D. B. Kothe, Estimating curvature from volume fractions, Computers and Structures
83 (67) (2005) 425 – 434, frontier of Multi-Phase Flow Analysis and Fluid-StructureFrontier of Multi-Phase Flow Analysis
and Fluid-Structure.
[42] J. Brackbill, D. Kothe, C. Zemach, A continuum method for modeling surface tension, Journal of Computational Physics
100 (2) (1992) 335 – 354.
[43] G. Bornia, A. Cervone, S. Manservisi, R. Scardovelli, S. Zaleski, On the properties and limitations of the height function
method in two-dimensional cartesian geometry, Journal of Computational Physics 230 (4) (2011) 851 – 862.
[44] J. López, C. Zanzi, P. Gómez, R. Zamora, F. Faura, J. Hernández, An improved height function technique for computing
interface curvature from volume fractions, Computer Methods in Applied Mechanics and Engineering 198 (33-36) (2009)
2555–2564.
27
[45] J. López, J. Hernández, On reducing interface curvature computation errors in the height function technique, Journal of
Computational Physics 229 (13) (2010) 4855–4868.
[46] R. P. Fedkiw, T. Aslam, B. Merriman, S. Osher, A non-oscillatory eulerian approach to interfaces in multimaterial flows
(the ghost fluid method), Journal of computational physics 152 (2) (1999) 457–492.
[47] K. Yokoi, Efficient implementation of thinc scheme: a simple and practical smoothed vof algorithm, Journal of Computa-
tional Physics 226 (2) (2007) 1985–2002.
[48] S. S. Deshpande, L. Anumolu, M. F. Trujillo, Evaluating the performance of the two-phase flow solver interfoam, Com-
putational science & discovery 5 (1) (2012) 014016.
[49] W. Rider, D. Kothe, Stretching and tearing interface tracking methods, in: 12th Computational Fluid Dynamics Confer-
ence, 1995, p. 1717.
[50] D. Gerlach, G. Tomar, G. Biswas, F. Durst, Comparison of volume-of-fluid methods for surface tension-dominant two-phase
flows, International Journal of Heat and Mass Transfer 49 (3-4) (2006) 740–754.
[51] C. Bilger, M. Aboukhedr, K. Vogiatzaki, R. Cant, Evaluation of two-phase flow solvers using level set and volume of fluid
methods, Journal of Computational Physics 345 (2017) 665 – 686. doi:https://doi.org/10.1016/j.jcp.2017.05.044.
URL http://www.sciencedirect.com/science/article/pii/S0021999117304278
[52] W. Aniszewski, T. Ménard, M. Marek, Volume of fluid (vof) type advection methods in two-phase flow: a comparative
study, Computers & Fluids 97 (2014) 52–73.
[53] C. B. Ivey, Geometric volume-of-fluid framework for simulating two-phase flows on unstructured meshes, Ph.D. thesis,
Stanford University (2017).
[54] D. L. Youngs, Time-dependent multi-material flow with large fluid distortion, in: K. W. Morton, M. J. Baines (Eds.),
Numerical Methods for Fluid Dynamics, Academic Press, New York City, NY, 1982, pp. 273–285.
[55] C. Ivey, P. Moin, Conservative and bounded volume-of-fluid advection on unstructured grids, Center for Turbulence
Research Annual Research Briefs (2016) 163–179.
[56] F. Ham, G. Iaccarino, Energy conservation in collocated discretization schemes on unstructured meshes, Annual Research
Briefs, Center for Turbulence Research, Stanford University (2004) 3–14.
[57] Y. Morinishi, T. S. Lund, O. V. Vasilyev, P. Moin, Fully conservative higher order finite difference schemes for incom-
pressible flow, Journal of computational physics 143 (1) (1998) 90–124.
[58] H. Le, P. Moin, An improvement of fractional step methods for the incompressible navier-stokes equations, Journal of
Computational Physics 92 (2) (1991) 369 – 379.
[59] C. Ivey, P. Moin, S. Bose, D. Kim, Geometric volume-of-fluid framework for the simulation of two-phase flows on unstruc-
tured grids (2016) 163–179.
[60] M. Raessi, H. Pitsch, Consistent mass and momentum transport for simulating incompressible flows with large density
ratios using the level set method, Computers and Fluids 63 (2012) 70–81.
[61] M. Magnini, B. Pulvirenti, J. Thome, Characterization of the velocity fields generated by flow initialization in the cfd
simulation of multiphase flows, Applied Mathematical Modelling 40 (1516) (2016) 6811 – 6830.
[62] M. Gorokhovski, M. Herrmann, Modeling primary atomization, Annual Review of Fluid Mechanics 40 (1) (2008) 343–366.
arXiv:https://doi.org/10.1146/annurev.fluid.40.111406.102200, doi:10.1146/annurev.fluid.40.111406.102200.
URL https://doi.org/10.1146/annurev.fluid.40.111406.102200
[63] M. S. Dodd, A. Ferrante, On the interaction of taylor length scale size droplets and isotropic turbulence, Journal of Fluid
Mechanics 806 (2016) 356412. doi:10.1017/jfm.2016.550.
[64] H. Lamb, Hydrodynamics, Cambridge university press, 1932.
[65] A. Prosperetti, Motion of two superposed viscous fluids, Phys. Fluids 24 (7) (1981) 1217–1223.
[66] S. Thoroddsen, T. Etoh, K. Takehara, Air entrapment under an impacting drop, Journal of Fluid Mechanics 478 (2003)
125–134.
[67] P. D. Hicks, R. Purvis, Air cushioning in droplet impacts with liquid layers and other droplets, Physics of Fluids 23 (6)
(2011) 062104.
[68] M. H. Hendrix, W. Bouwhuis, D. van der Meer, D. Lohse, J. H. Snoeijer, Universal mechanism for air entrainment during
liquid impact, Journal of fluid mechanics 789 (2016) 708–725.
[69] S. Thoroddsen, T. Etoh, K. Takehara, N. Ootsuka, Y. Hatsuki, The air bubble entrapped under a drop impacting on a
solid surface, Journal of Fluid Mechanics 545 (2005) 203–212.
28