Professional Documents
Culture Documents
Ketabdari-Saghi2013 Article DevelopmentOfVolumeOfFluidMeth
Ketabdari-Saghi2013 Article DevelopmentOfVolumeOfFluidMeth
(2013) 35:479–491
DOI 10.1007/s40430-013-0045-7
TECHNICAL PAPER
Received: 3 December 2011 / Accepted: 14 February 2012 / Published online: 4 July 2013
Ó The Brazilian Society of Mechanical Sciences and Engineering 2013
Abstract In this paper, a new advection algorithm is Keywords Navier–Stokes equation Free surface flows
presented to model free surface flows using volume of fluid Volume of fluid (VOF) Shear test Advection
method. To model the fluid flow, Navier–Stokes equations
are solved as governing equations using two-step projec- List of symbols
tion method on the Cartesian staggered grids. In the vol- t Time (s)
ume of fluid method, several algorithms such as flux- V Velocity vector (m2/s)
corrected transport (FCT) and Youngs’ algorithms are used p Hydrodynamic pressure (N/m2)
to model the free surface. In these methods, for staggered m Kinematic fluid viscosity (m2/s)
grids, fluxes to neighboring cells are estimated based on g Gravity acceleration (m/s2)
cell face velocities. It means that fluid particles in the cell F Scalar function of VOF method
have the same velocity of the cell faces. However, in Un Velocity field in old time level (m/s)
practice, the particles velocity varies between two adjacent U^ Intermediate velocity field (m/s)
cell faces velocities. In the present research, modified U nþ1 New velocity field (m/s)
Youngs’ and flux-corrected transport methods are pre- convn Convection term
sented. In these methods, the velocity in mass center of Diff n Diffusion term
fluid cell is estimated and used to calculate cell face fluxes. Bn Body force including gravity acceleration
The performance of the modified schemes has been eval- dx Mesh sizes in the x direction
uated using a number of alternative schemes taking into dy Mesh sizes in the y direction
account translation, rotation, shear test and dam break on
dry bed. The results showed that the modified Youngs’
method is more accurate than the original one particularly
in coarse grid. It is also more accurate than the modified 1 Introduction
flux-corrected transport method.
In the numerical computations of free surface flows such as
water waves and splashing droplets, accurate representa-
tion of the interface is very important. Some researchers
Technical Editor: Francisco Cunha. used different methods such as immersed boundary, cut
cell, deformable mesh, level set and volume of fluid
M. J. Ketabdari (&) methods to model interfacial flows between water–solid or
Faculty of Marine Technology, Amirkabir University
of Technology, 15875-4413 Tehran, Iran water–air (e.g. [1, 2, 4, 5, 21, 24, 28, 29, 31]. The volume
e-mail: Ketabdar@aut.ac.ir of fluid (VOF) method is a convenient and powerful tool to
model the free surface flows. In this method, the VOF
H. Saghi function is averaged over each computational cell and is set
Department of Civil Engineering, Ferdowsi University
of Mashhad, 91779-48974 Mashhad, Iran as unity and zero in full fluid and empty cells, respectively.
e-mail: has.saghi@stu-mail.um.ac.ir While between these values, it presents the free surface
123
480 J Braz. Soc. Mech. Sci. Eng. (2013) 35:479–491
(a) (b)
(c) (d)
123
J Braz. Soc. Mech. Sci. Eng. (2013) 35:479–491 481
(a) (b)
(c) (d)
2 Governing equations oF
þ ðmrÞF ¼ 0; ð3Þ
ot
For viscous, Newtonian and incompressible fluids, the 2D
where F has a specific value in each scalar cell as
continuity and Navier–Stokes Equations (NSE) are:
follows. Specific technique must be used to discrete
rV ¼ 0 ð1Þ Eq. 3.
oV 8
þ ðVrÞV ¼ rp=q þ r m rV þ rV T þ B: ð2Þ >
ot <1 inside water
F¼ 0 inside air : ð4Þ
To model the free surface by VOF method, a step function >
:
of F(x, y, t) is used. This function is expressed as [20]: between 0 and 1 free surface cells
123
482 J Braz. Soc. Mech. Sci. Eng. (2013) 35:479–491
Fig. 5 Lid-driven cavity test, mesh independency for a Re = 100 and b 3,200
123
J Braz. Soc. Mech. Sci. Eng. (2013) 35:479–491 483
Fig. 6 Lid-driven cavity test, comparison between results of horizontal velocity of present model and those of Ghia et al. for a Re = 1,000,
b 10,000
Fig. 7 Lid-driven cavity test, comparison between results of vertical velocity of present model and those of Ghia et al. for a Re = 1,000,
b 10,000
123
484 J Braz. Soc. Mech. Sci. Eng. (2013) 35:479–491
then updated using VOF method. In this procedure, proper Uði; jÞdtdy if U ði; jÞdt\Fði; jÞdx
selection of Dt is very effective in the accuracy of final Fr ¼ : ð10Þ
Fði; jÞdxdy if U ði; jÞdt [ Fði; jÞdx
results. Therefore, time step was selected based on two
stability criteria as Courant and diffusion conditions, Other fluxes are estimated similarly. In the above
respectively, as follows [22]: formulas, the horizontal fluid particles velocity is
" ! !# assumed equal to cell face velocity (U(i,j)). While in
Dxi Dyj practice, they are varied between two neighboring cell
Dtc ¼ min min ; min ð8Þ
ui;j vi;j faces velocities (U(i,j) and U(i - 1,j) in cell (i,j)). In the
2 3 developed model, fluxes are estimated based on horizontal
and vertical velocities of fluid mass center (CG). Figure 1
16 1 7
Dtm ¼ 6 7: ð9Þ shows new arrangement of velocity in MFCT method.
2 4 1 2 1 2 5
me Dxi þ Dyj The new equations of velocity in the mass center are
presented in Table 2. For example, horizontal velocity of
Using the above-mentioned relationships, the time step particles in Fig. 1d is estimated as:
must be calculated to consider the smaller in the numerical 1
UCG ¼ ½U ði; jÞ þ U ði 1; jÞ þ ð1 F ði; jÞÞ
simulation. 2
½U ði; jÞ U ði 1; jÞ dt dy: ð11Þ
4 Definition of new advection method Fluxes from cell faces are estimated using these new
velocities. For example, Eq. 10 is rewritten using Eq. 11
In solution procedure of governing equations, it is required as:
to store the velocity components. Staggered and collocated UCG ði; jÞdtdy if UCG ði; jÞdt\Fði; jÞdx
grids can be used to evaluate this problem. On staggered Fr ¼ : ð12Þ
Fði; jÞdxdy if UCG ði; jÞdt [ Fði; jÞdx
grids, the velocity components are stored at the cell faces
and the scalar variables such as pressure are stored at the
central nodes. However, on collocated grids, all parameters 6 Modified Youngs’ VOF method
are defined at the same location at the central nodes. The
staggered grids method gives more accurate pressure gra- Youngs’ method uses a more accurate interface recon-
dient estimation. However, collocated grids method is struction than FCT method. At first, estimation is made for
simpler for solving the equations [14]. Among developed the interface orientation b. The interface within a cell is
volume advection techniques, flux-corrected transport then approximated by a straight line segment with orien-
(FCT) and Youngs’ VOF (Y-VOF) are used in this tation b as shown in Fig. 2.
research. In these methods, free surface is tracked based on Free surface cuts the cell in such a way that the frac-
fluxes between two neighboring cells [13, 19]. In the tional fluid volume is given by F(i,j). The geometry of the
staggered grids, the velocity components are defined in the fluid resulting from this reconstruction is then used to
cell faces. Fluxes are then estimated using these velocity determine the fluxes through any side on which the velocity
components. Flux translation is estimated as volume of
fluid passed through the cell faces with constant velocities,
while the particles of fluid between two adjacent faces have η (cm ) MFCT methoad
different velocities. In this paper, new advection methods 6 MYV method
Nakayame and Washizu [28]
based on velocity in the mass gravity of fluid in a cell are
developed denoted by MFCT and MYV methods to 4
increase the accuracy of free surface simulation.
2
0
5 Modified flux-corrected transport method 0 2 4 6 8 10
-2
In Zalesak’s FCT method, the interface is reconstructed using
a straight line parallel to one of the co-ordinate directions. It -4
is a direction-split algorithm during which only cell neigh- t (sec)
bors in the sweep direction are used to determine the inter-
face reconstruction. For example, the fluxes from right cell Fig. 8 Comparison between new models result and that of Nakayama
face (Fr) shown in Fig. 1d is estimated as: and Washizu [17]
123
J Braz. Soc. Mech. Sci. Eng. (2013) 35:479–491 485
is directed out of the cell. For example, flux from right cell In the developed model, fluxes are calculated based on
face (Fr) in Fig. 3a can be estimated as: horizontal and vertical velocities of fluid cells mass center.
( Figure 3 shows new arrangement of velocity in MYV
1
Uði; jÞdt 2 Uði;jÞdt Sr dy if Uði; jÞdt\Sb dx method.
Fr ¼ 2 S b dx :
Fði; jÞ dx dy if Uði; jÞdt [ Sb dx For example, fluxes from cell faces in Eq. 13 are esti-
ð13Þ mated using these new velocities as:
123
486 J Braz. Soc. Mech. Sci. Eng. (2013) 35:479–491
(
1
2 UCGSði;jÞdt 7 Model validation
2 UCG ði; jÞdt dx Sr dy if UCG ði; jÞdt\Sb dx
Fr ¼ b :
Fði; jÞ dx dy if UCG ði; jÞdt [ Sb dx To validate the modified models, a series of standard tests
ð14Þ such as lid-driven cavity, sloshing problem, constant uni-
The new equations of velocity in the mass center are directional velocity field, shear test and dam break over a
estimated using equations summarized in Tables 1 and 2. dry bed was carried out.
123
J Braz. Soc. Mech. Sci. Eng. (2013) 35:479–491 487
7.1 Lid-driven cavity side walls. Due to the simplicity of the cavity geometry,
applying a numerical method on this flow problem in terms
Lid-driven cavity is the fluid flow in a rectangular container of coding is quite easy and straight forward. Despite its
which moves tangentially to itself and parallel to one of the simple geometry, the driven cavity flow retains a rich fluid
123
488 J Braz. Soc. Mech. Sci. Eng. (2013) 35:479–491
flow physics manifested by multiple counter rotating figure shows the mesh size independency of the
recirculation regions on the corners of the cavity depending problem.
on the Reynolds number. The boundary condition and The model is then performed for various Reynolds
induced eddies are shown in Fig. 4. numbers in a range of 100–10,000. The results were
A sensitivity analysis is performed on mesh size. For compared with those of Ghia et al. [8]. For example, the
example, horizontal velocities for Re = 100 and 3,200 results for Re = 1,000 and 10,000 are presented in Figs 6
and for different mesh sizes are shown in Fig. 5. This and 7. The agreement between the results is good.
123
J Braz. Soc. Mech. Sci. Eng. (2013) 35:479–491 489
123
490 J Braz. Soc. Mech. Sci. Eng. (2013) 35:479–491
horizontal and vertical direction are Dx ¼ Dy ¼ 0:1L. The 5. Do-Quang M, Amberg G (2010) Numerical simulation of the
results were compared with the experimental data given by coupling problems of a solid sphere impacting on a liquid free
surface. Math Comput Simul 80:1664–1673
Martin and Moyce [16] and shown in Fig. 13. In this figure, 6. Duff ES (1999) Fluid flows aspects of solidification modeling:
X is the location of wave front in time t. It is seen that the simulation of low pressure Die casting. PhD thesis, University of
developed models’ result well agree with experimental Queensland, Brisbane
data. 7. Geuyffier D, Li J, Nadim A, Scardovelli R, Zaleski S (1999)
Volume- of fluid interface tracking with smoothed surface stress
To compare the results obtained using different VOF methods for three dimensional flows. J Comput Phys 152:423–456
algorithms, two error criteria as sum square error (SSE) and 8. Ghia U, Ghia KN, Shin CT (1982) High-Re solutions for
sum absolute error (SAE) are used. The results are sum- incompressible flow using the Navier–Stokes equations and a
marized in Table 3. multigrid method. J Comput Phys 48:387–411
9. Guizien K, Barthélemy E (2000) Short waves modulations by
large free surface solitary waves: experiments and models. Phys
Fluids 13:3624–3635
9 Discussion and conclusion 10. Harvie DJE, Fletcher DF (2000) A new volume of fluid advection
algorithm: the stream scheme. J Comput Phys 162:1–32
11. Harvie DJE, Fletcher DF (2001) A new volume of fluid advection
In this research, modified volume of fluid methods based algorithm: the defined donating region scheme. Int J Numer
on FCT and Youngs’ VOF algorithms denoted by MFCT Methods Fluid 35:151–172
and MYV methods are presented. In these methods, for 12. Hirt CV, Nichols BD (1981) Volume of fluid (VOF) method for
staggered grids, fluxes to neighboring cells are estimated the dynamics of free boundaries. J Comput Phys 39:201–225
13. Ketabdari MJ, Nobari MRH, Moradi Larmaei M (2008) Simu-
based on cell face velocities. However, in practice, these lation of waves group propagation and breaking in coastal zone
particles have a variable velocity between velocities of two using a Navier–Stokes solver with an improved VOF free surface
adjacent cell faces. In the developed models, the velocity in treatment. Appl Ocean Res 30:130–143
mass center of fluid cell is estimated and used to estimate 14. Ketabdari MJ, Saghi H (2011) Large eddy simulation of laminar
and turbulent flow on collocated and staggered grids. ISRN Mech
fluxes. To validate the modified models, a series of stan- Eng 2011, Article ID 809498. doi:10.5402/2011/809498
dard tests such as lid-driven cavity, sloshing problem, 15. Lafaurie B, Nardone C, Scardovelli R, Zaleski S, Zanetti G
constant unidirectional velocity field, shear test and dam (1994) Modeling merging and fragmentation in multiphase flows
break over a dry bed was carried out. The results showed with SURFER. J Comput Phys 113:134–147
16. Martin JC, Moyce WJ (1952) An experimental study of the
that in some cases such as constant, unidirectional velocity collapse of liquid columns on a rigid horizontal plane. Philos
field, geometric shape of the translated hollow square in Trans R Soc Lond 244:312–324
modified models of MFCT and MYM has not been 17. Nakayama T, Washizu K (1984) Boundary element analysis of
improved relative to FCT and YM models. It is due to this nonlinear sloshing problems. In: Bauerjee PK, Mukherjee S (eds)
Developments in boundary element method, vol 3. Elsevier
fact that the velocity field is constant in this physical Applied Science Publishers, New York
problem. Therefore, velocities of mass center and cell faces 18. Nichols BD, Hirt CW, Hotchkiss RS (1980) SOLA-VOF: a
are the same. In some other cases such as Shear test, MYV solution algorithm for transient fluid flow with multiple free
model improves the results. However, they have the same boundaries. Technical Report LA-8355, Los Alamos Scientific
Laboratory
accurate results in fine grids. In dam break test, both MYV 19. Nobari MRH, Ketabdari MJ, Moradi Larmaei M (2009) A
and MFCT methods improve the results. However, effi- modified volume of fluid advection method for uniform Cartesian
ciency of new advection method in MYV is more than grids. Appl Math Model 33:2298–2310
MFCT algorithm. Therefore, the MYV method is sug- 20. Noh WF, Woodward P (1982) SLIC (simple line interface cal-
culation). In: van Dooren A, Baines MJ (eds) Lecture notes in
gested as a new VOF algorithm to model the free surface physics, vol 59. Springer, New York, pp 273–285
problems. 21. Pasandideh-Fard M, Roohi E (2008) Transient simulations of
cavitating flows using a modified volume-of-fluid (VOF) tech-
nique. Int J Comput Fluid Dyn 22:97–114
22. Renouard DP, Seabra-Santos FJ, Temperville AM (1985)
Experimental study of the generation, damping and reflection of a
References solitary wave. Dyn Atm Oceans 9:341–358
23. Rider WJ, Kothe BD (1998) Reconstructing volume tracking.
1. Aristoff JM, Bush JWM (2009) Water entry of small hydrophobic J Comput Phys 141:112–152
spheres. J Fluid Mech 619:45–78 24. Rubens C, Julio M, Sérgio Said M, Aristeu da Silveira N (2009)
2. Aristoff JM, Truscott TT, Techet AH, Bush JWM (2010) The Computations of the flow past a still sphere at moderate Reynolds
water entry of decelerating spheres. Phys Fluids, Vol 22 numbers using an immersed boundary method. J Braz Soc Mech
3. Burnner B, Tryggavson G (1999) Direct numerical simulation of Sci Eng 31(4):344–352
three dimensional bubbly flow. Phys Fluids (Lett) 111:1967–1969 25. Rudman M (1997) Volume-tracking methods for interfacial flow
4. Carneiro JNE, Fonseca R Jr, Ortega AJ, Chucuya RC, Nieckele calculations. Int J Numer Methods Fluids 24:671–691
AO, Azevelo LFA (2011) Statistical characterization two-phase 26. Scardovelli R, Zaleski S (2000) NOTE: analytical relations
slug flow in a horizontal pipe. J Braz Soc Mech Sci Eng connecting linear interfaces and volume fractions in rectangular
XXXIII(1):251–258 grid. J Comput Phys 164:228–237
123
J Braz. Soc. Mech. Sci. Eng. (2013) 35:479–491 491
27. Scardovelli R, Zaleski S (2003) Interface reconstruction with 30. Torrey MD, Cloutman LD, Hirt CW (1985) NASA-VOF2D: a
least-square fit and split Eulerian–Lagrangian advection. Int J computer program for incompressible flows with free surface.
Numer Methods Fluids 41:251–274 Technical report LA-10462-MS, Los Alamos Scientific
28. de Lima e Silva AF, da Silva AR, da Silveira Neto A (2007) Laboratory
Numerical simulation of two-dimensional complex flows around 31. Yang J, Stern F (2009) Sharp interface immersed-boundary/level-
bluff bodies using the immersed boundary method. J Braz Soc set method for wave body interactions. J Comput Phys
Mech Sci Eng 29(4):379–387 228:6590–6616
29. da Silva AR, da Silveira Neto A, de Lima AMG, Alves Rade D 32. Youngs DL (1985) Time-depend multi-material flow with large fluid
(2011) Numerical simulation of flows over a rotating circular distortion. In: Morton KW, Baines MJ (eds) Numerical methods for
cylinder using the immersed boundary methods. J Braz Soc Mech fluid dynamics. Academic Press, New York, pp 273–285
Sci Eng XXXII(1):99–106
123