Professional Documents
Culture Documents
Coupled Level Set and Volume of Fluid Method in Openfoam With Application To Compressible Two-Phase Ow
Coupled Level Set and Volume of Fluid Method in Openfoam With Application To Compressible Two-Phase Ow
net/publication/281412597
Coupled Level Set and Volume of Fluid method in OpenFoam with application to
compressible two-Phase flow.
CITATIONS READS
10 5,029
4 authors:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Sara Moghtadernejad on 15 September 2015.
Email: ali.dolatabadi@concordia.ca
where the subscript i denotes the phase i and i is the The velocity U can be calculated as:
compressibility i 1 ci 2
and ci here is the speed
DP
of sound. For a compressible phase (i.e. gas) the .U 1 1 2 2
nominal density 𝜌0 is set to zero which leads to an 1 2 Dt
ideal gas equation of state for an isothermal fluid,
where 1 / RT . For the low compressibility phase Then the volume fraction equation of a compressible
(i.e. liquid) 𝜌0 is set to the nominal density of the flow can be written as:
liquid under normal conditions. Therefore, a constant
1
liquid density is used unless the liquid is subjected to .(1U1 ) .(1 (1 1 )U r )
very high pressures. t
1 (1 1 ) 1U
Volume fraction equation:
where
The continuity equation for each of the phases is as DP
follows: ( 2 2 1 1 )
Dt
we also have: The fluxes and the material properties such as density
1 2 1 and viscosity are calculated based on the following
Heaviside function:
The MULES (multidimensional universal limiter with
0, 𝜙 < −𝜖
explicit solution) method is used to solve the volume
fraction advection equation [11]. 1 𝜙 1 𝜋𝜙
𝐻(𝜙) = (1 + + 𝑠𝑖𝑛 ( )) , |𝜙| ≤ 𝜖
In VOF method, both fluids are treated as a single fluid 2 𝜖 𝜋 𝜖
mixture whose properties change in space based on the { 1, 𝜙>𝜖
volume fraction of each phase:
Then we have:
1 1 2 2
11 2 2 𝜌(𝜙) = 𝜌𝑔 + (𝜌𝑙 − 𝜌𝑔 )𝐻
𝜇(𝜙) = 𝜇𝑔 + (𝜇𝑙 − 𝜇𝑔 )𝐻
To add the interface smoothness property of LS to the
VOF method, an algorithm for coupling LS and VOF The PIMPLE scheme is used to couple pressure and
is going to be explained here. In this strategy, although velocity.
the volume fraction field and the level set functions are
defined, but only the volume fraction advection 3. BENCHMARK TESTS
equation is solved [8]. The level set function is
initialized in each time step using the advected volume In this study, we assess our method based on a 2D
fraction [8]. Based on the work of Albadawi et al. [8], bubble growth and detachment bench mark problem.
the volume fraction which equals to 0.5, is defined as Additionally our method is compared with the
the initial zero level set, as below: compressible VOF method available in OpenFoam,
which shows improvement for capturing the interface
curvature and the surface tension force computations.
𝜙0 = 1.5 ∆𝑥 (𝛼 − 0.5)
It should be noted that the gravity force is considered
in the mentioned problem. Also, the physical
where ∆𝑥 is the mesh size.
properties of the fluids (air and water) are assumed to
This initial level set function has the positive and
be constant.
negative values in the liquid and the gas regions. The
next step is solving the re-initialization equation with
3.1 Bubble growth and detachment
a pseudo time (τ) in order to assign the level set
function to a signed distance function [3, 8]:
The problem of bubble growth and detachment was
𝜕𝜙 numerically and experimentally studied by Albadawi
= 𝑠𝑖𝑔𝑛(𝜙0 )(1 − |∇𝜙|) et al. [8]. However, they assumed two isothermal,
𝜕𝜏 incompressible fluids for their numerical simulation.
The objective of this part of the present work is to
Computing the interface normal, and curvature 𝜅 by
simulate the same problem by considering the
the level set method is simple and accurate [3]. These
compressibility effects. A 3D geometry is used for the
parameters are calculated as follows:
simulation in the present work. The schematic diagram
(∇𝜙) of the numerical domain can be seen in Figure 1.
𝑛= During the process, gas comes out of an orifice and
|(∇𝜙)| forms a bubble. Within time the bubble volume
𝜅 = ∇. 𝑛 increases continuously. However, the lift force causes
the bubble to detach and rise upwards [12]. A
Therefore, the surface tension force is computed as: parabolic velocity profile is assumed at the air inlet for
the boundary condition. The maximum velocity in the
𝐹𝜎 = 𝜎𝜅(𝜙)𝛿(𝜙)∇𝜙 parabolic velocity profile is calculated based on the air
flow rate [8]. The air flow rate is equal to 200 mlph.
where 𝛿 is Dirac function which is defined as: For the lower wall, the adhesion boundary condition is
used to prevent bubble interface spreading along the
0, |𝜙| > 𝜖 wall. The wall static contact angle is set to 20° while
𝛿(𝜙) = { 1 𝜋𝜙 no slip boundary condition is used for the other walls.
(1 + cos ( )) , |𝜙| ≤ 𝜖
2𝜖 𝜖 To expose the initial condition, a semi-spherical
bubble at the inflow is patched so that the distance
function for LS method can be calculated. The Courant
number of 0.25 with adaptive time step is used to
control the computations. It should be mentioned that
the simulation presented in this paper follows the
numerical and experimental work of Albadawi et al.
[8]. Therefore, our results are compared with the
experimental data available in reference [8] to validate
our code.
ACKNOWLEDGEMENTS
The authors gratefully acknowledge the financial
support of the National Sciences and Engineering
Research Council of Canada (NSERC).
REFERENCES
[1] R. Caiden, R.P. Fedkiw and C. Anderson. A
numerical method for two-phase flow consisting
of separate compressible and incompressible
regions. Journal of Computational Physics,
166:1–27, 2001
[2] S.Y. Kadioglu and M. Sussman. Adaptive
solution techniques for simulating underwater
explosions and implosions. Journal of
Computational Physics, 227:2083–2104, 2008
[3] J.A. Sethian and P. Smereka. Level set methods
for fluid interfaces. Annual Review of Fluid
Mechanics, 35:341–372, 2003
[4] C.W. Hirt and B.D. Nichols. Volume of fluid
(VOF) method for the dynamics of free
boundaries. Journal of Computational Physics,
39:201–225, 1981
[5] M. Sussman and E.G. Puckett. A coupled level set
and volume of fluid method for computing 3D
and axisymmetric incompressible two-phase
flows. Journal of Computational Physics,
162:301–337, 2000
[6] C.E.. Kees, I. Akkerman, M.W. Farthing and Y.
Bazilevs. A conservative level set method
suitable for variable-order approximations and
unstructured meshes. Journal of Computational
Physics, 230:4536–4558, 2011
[7] M. Rudman. Volume tracking methods for
interfacial flow calculations. International
Journal of Numerical Methods in Fluids,
24:671–691, 1997
[8] A. Albadawi, D.B. Donoghue, A.J. Robinson,
D.B. Murray and Y.M.C. Delaure. Influence of
surface tension implementation in volume of
fluid and coupled volume of fluid with level set
methods for bubble growth and detachment.
International Journal of Multiphase Flow,
53:11–28, 2013
[9] OpenCFD Ltd., www.openfoam.com.
[10] H. Rusche. Computational fluid dynamics of
dispersed two-phase flows at high phase
fractions. Imperial College of Science,
Technology & Medicine, London, UK, 2002
[11] V. Suponitsky, A. Froese, and S. Barsky.
Richtmyer-Meshkov instability of a liquid-gas
interface driven by a cylindrical imploding
pressure wave. Computers and Fluids, 89 :1-19,
2014
[12] D. Gerlach, N. Alleborn, V. Buwa, and F. Durst.
Numerical simulation of periodic bubble
formation at a submerged orifice with constant
gas flow rate. Chemical Engineering Science,
62:2109–2125, 2007