Volume of fluid method explained

In computational fluid dynamics, the volume of fluid (VOF) method is a family of free-surface modelling techniques, i.e. numerical techniques for tracking and locating the free surface (or fluid–fluid interface). They belong to the class of Eulerian methods which are characterized by a mesh that is either stationary or is moving in a certain prescribed manner to accommodate the evolving shape of the interface. As such, VOF methods are advection schemes capturing the shape and position of the interface, but are not standalone flow solving algorithms. The Navier–Stokes equations describing the motion of the flow have to be solved separately.

History

The volume of fluid method is based on earlier Marker-and-cell (MAC) methods[1] [2] developed at Los Alamos National Laboratory. MAC used Lagrangian marker particles to track the distribution of fluid in a fixed Eulerian grid. The use of marker particles was computationally expensive because it required many marker particles per grid cell, to reduce numerical noise when discrete marker particles move across grid cells. The original idea of the VOF method was to replace marker particles with a single scalar variable per grid cell representing the volume fraction of fluid in it. Thereby, the volume of fluid is governed by an advection equation. This idea arose from studies of two-phase mixture (water and steam) problems where it was customary to use a volume of steam variable.[3] The VOF approach was first demonstrated in a 1975 publication “Methods for Calculating Multi-Dimensional, Transient Free Surface Flows Past Bodies” by Nichols and Hirt.[4] This publication described how to advect the fluid fraction with a Donor-Acceptor scheme, how to estimate the orientation and position of the free surface inside surface cells, and how to prescribe appropriate boundary conditions (continuity and zero shear stress) at the free surface. This approach was much simpler than other techniques tracking the surface of fluid, yet more versatile as it could model the coalescence and breakup of fluid regions. In 1976, Noh & Woodward[5] presented the Simple Line Interface Calculation (SLIC), a technique to approximate fluid interfaces based on volume fractions, designed for directional-split advection scheme of volume fractions. SLIC could also handle an arbitrary number of immiscible fluid phases per grid cells. Thereby, SLIC was well suited to the VOF approach, although the two methods were initially independent and remained separate till the 90s. The term “Volume of Fluid method” and it acronym “VOF” method were coined in the 1980 Los Alamos Scientific Laboratory report, “SOLA-VOF: A Solution Algorithm for Transient Fluid Flow with Multiple Free Boundaries,” by Nichols, Hirt and Hotchkiss[6] and in the journal publication “Volume of Fluid (VOF) Method for the Dynamics of Free Boundaries” by Hirt and Nichols in 1981.[7] These two publications provided more details about the specific procedures used to approximate the position of the free surface (locally represented by an inclined line in surface cells) and apply the free surface boundary conditions on it. Since VOF method surpassed MAC by lowering computer storage requirements, it quickly became popular. Early applications of the SOLA-VOF program developed at Los Alamos include light-water-reactor safety studies.[8] [9] A variant of the SOLA-VOF code was also adopted by NASA.[10] [11] In 1982, Youngs developed the Piecewise-Linear Interface Calculation (PLIC) scheme,[12] which improved accuracy of interface reconstruction upon the SLIC and early VOF methods.[13]

Overview

The method is based on the idea of a so-called fraction function

C

. It is a scalar function, defined as the integral of a fluid's characteristic function in the control volume, namely the volume of a computational grid cell. The volume fraction of each fluid is tracked through every cell in the computational grid, while all fluids share a single set of momentum equations, i.e. one for each spatial direction. From a cell-volume averaged perspective, when a cell is empty of the tracked phase, the value of

C

is zero; when the cell is full of tracked phase,

C=1

; and when the cell contains an interface between the tracked and non-tracked volumes,

0<C<1

. From a perspective of a local point that contains no volume,

C

is a discontinuous function insofar as its value jumps from 0 to 1 when the local point moves from the non-tracked to the tracked phase. The normal direction of the fluid interface is found where the value of

C

changes most rapidly. With this method, the free-surface is not defined sharply, instead it is distributed over the height of a cell. Thus, in order to attain accurate results, local grid refinements have to be done. The refinement criterion is simple, cells with

0<C<1

have to be refined. A method for this, known as the marker and micro-cell method, has been developed by Raad and his colleagues in 1997.[14]

The evolution of the

m

-th fluid in a system on

n

fluids is governed by the transport equation (actually the same equation that has to be fulfilled by the level-set method distance function

\phi

):
\partialCm
\partialt

+v\nablaCm=0,

with the following constraint

n
\sum
m=1

Cm=1

,

i.e., the volume of the fluids is constant. For each cell, properties such as density

\rho

are calculated by a volume fraction average of all fluids in the cell
n
\rho=\sum
m=1

\rhomCm.

These properties are then used to solve a single momentum equation through the domain, and the attained velocity field is shared among the fluids.

The VOF method is computationally friendly, as it introduces only one additional equation and thus requires minimal storage. The method is also characterized by its capability of dealing with highly non-linear problems in which the free-surface experiences sharp topological changes. By using the VOF method, one also evades the use of complicated mesh deformation algorithms used by surface-tracking methods. The major difficulty associated with the method is the smearing of the free-surface. This problem originates from excessive diffusion of the transport equation.

Discretization

To avoid smearing of the free-surface, the transport equation has to be solved without excessive diffusion. Thus, the success of a VOF method depends heavily on the scheme used for the advection of the

C

field. Any chosen scheme needs to cope with the fact that

C

is discontinuous, unlike e.g. the distance function

\phi

used in the Level-Set method.

Whereas a first order upwind scheme smears the interface, a downwind scheme of the same order will cause a false distribution problem which will cause erratic behavior in case of the flow is not oriented along a grid line. As these lower-order schemes are inaccurate, and higher-order schemes are unstable and induce oscillations, it has been necessary to develop schemes which keep the free-surface sharp while also producing monotonic profiles for

C

.[15] Over the years, a multitude of different methods for treating the advection have been developed. In the original VOF-article by Hirt, a donor-acceptor scheme was employed. This scheme formed a basis for the compressive differencing schemes.

The different methods for treating VOF can be roughly divided into three categories, namely the donor-acceptor formulation, higher order differencing schemes and line techniques.

The Donor-Acceptor Schemes

The donor-acceptor scheme is based on two fundamental criteria, namely the boundedness criterion and the availability criterion. The first one states that the value of

C

has to be bounded between zero and one. The latter criterion ensures that the amount of fluid convected over a face during a time step is less than or equal to the amount available in the donor cell, i.e., the cell from which the fluid is flowing to the acceptor cell. In his original work, Hirt treated this with a blended scheme consisting of controlled downwinding and upwind differencing.

Higher Order Differencing Schemes

In the higher order differencing schemes, as the name suggests, the convective transport equation is discretized with higher order or blended differencing schemes. Such methods include the Compressive Interface Capturing Scheme for Arbitrary Meshes (CICSAM) [16] and High Resolution Interface Capturing (HRIC) [17] scheme, which are both based on the Normalized Variable Diagram (NVD) by Leonard.[18]

Geometrical Reconstruction Techniques

Line techniques circumvent the problems associated with the discretization of the transport equation by not tracking the interface in a cell explicitly. Instead, the fluid distribution in a cell an interface is obtained by using the volume fraction distribution of neighbouring cells. The Simple Line Interface Calculation (SLIC) by Noh and Woodward from 1976 uses a simple geometry to reconstruct the interface. In each cell the interface is approximated as a line parallel to one of the coordinate axes and assumes different fluid configurations for the horizontal and vertical movements respectively. A widely used technique today is the Piecewise Linear Interface Calculation by Youngs.[19] PLIC is based on the idea that the interface can be represented as a line in or a plane in ; in the latter case we may describe the interface by:

nx+ny+nz=\alpha,

where

n

is a vector normal to the interface. Components of the normal are found e.g. by using the finite difference method or its combination with least squares optimization. The free term

\alpha

is then found (analytically or by approximation) by enforcing mass conservation within computational cell. Once the description of the interface is established, the advection equation of

C

is solved using geometrical techniques such as finding the flux of

C

between grid cells, or advecting the endpoints of interface using discrete values of fluid velocity.

Interface capture issues

In two-phase flows in which the properties of the two phases are vastly different, errors in the computation of the surface tension force at the interface cause Front-Capturing methods such as Volume of Fluid (VOF) and Level-Set method (LS) to develop interfacial spurious currents. To better solve such flows, special treatment is required to reduce such spurious currents. A few studies have looked at improving interface tracking by combining Level-set method and Volume of fluid methods while a few others have looked at improving the numerical solving algorithm by adding smoothening loops or improving property averaging techniques.[20]

See also

References

Notes and References

  1. Harlow . Francis H. . Welch . J. Eddie . 1965-12-01 . Numerical Calculation of Time-Dependent Viscous Incompressible Flow of Fluid with Free Surface . The Physics of Fluids . 8 . 12 . 2182–2189 . 10.1063/1.1761178 . 0031-9171.
  2. THE MAC METHOD-A COMPUTING TECHNIQUE FOR SOLVING VISCOUS, INCOMPRESSIBLE, TRANSIENT FLUID-FLOW PROBLEMS INVOLVING FREE SURFACES . Welch . J. E. . Harlow . F. H. . 1965-11-01 . Los Alamos National Lab. (LANL), Los Alamos, NM (United States) . LA-3425 . 10.2172/4563173 . English . Shannon . J. P. . Daly . B. J..
  3. Web site: Hirt . C. W. . Volume of Fluid (VOF) History . 2024-07-05 . FLOW-3D . en-US.
  4. Nichols . B. D. . Hirt . C. W. . 1975 . Methods for calculating multidimensional, transient free surface flows past bodies . Conference: 1. international conference on numerical ship hydrodynamics, Gaithersburg, MD, USA, 20 Oct 1975 . 1975STIN...7625526N . 5044626.
  5. W.F.. Noh . P.. Woodward . SLIC (Simple Line Interface Calculation) . proceedings of 5th International Conference of Fluid Dynamics . A.I. . van de Vooren . P.J. . Zandbergen . Lecture Notes in Physics . 1976 . 59 . 330–340 . 10.1007/3-540-08004-x_336 . 3-540-08004-X.
  6. SOLA-VOF: a solution algorithm for transient fluid flow with multiple free boundaries . Nichols . B. D. . Hirt . C. W. . 1980-08-01 . Los Alamos National Lab. (LANL), Los Alamos, NM (United States) . LA-8355 . 10.2172/5122053 . English . Hotchkiss . R. S..
  7. C.W. . Hirt . B.D. . Nichols . Volume of fluid (VOF) method for the dynamics of free boundaries . Journal of Computational Physics . 1981 . 39 . 1 . 10.1016/0021-9991(81)90145-5 . 201–225. 1981JCoPh..39..201H .
  8. Nichols . B. D. . Hirt . C. W. . February 1980 . Numerical Simulation of Boiling Water Reactor Vent-Clearing Hydrodynamics . Nuclear Science and Engineering . en . 73 . 2 . 196–209 . 10.13182/NSE80-A18699 . 0029-5639.
  9. Hirt . C. W. . Nichols . B. D. . 1981-05-01 . A Computational Method for Free Surface Hydrodynamics . Journal of Pressure Vessel Technology . en . 103 . 2 . 136–141 . 10.1115/1.3263378 . 0094-9930.
  10. Torrey . M. . Cloutman . L. . NASA-VOF2D: a computer program for incompressible with free surfaces . 1985 . LA-10612-MS . Los Alamos National Laboratory . 1985STIN...8630116T .
  11. Torrey . M. D. . Mjolsness . R. C. . Stein . L. R. . July 1987 . NASA-VOF3D: A three-dimensional computer program for incompressible flows with free surfaces . Los Alamos National Laboratory report LA-11009-MS . 1987STIN...8810288T.
  12. Youngs . D. . January 1982 . Morton . K. W. . Baines . M. J. . Time-Dependent Multi-material Flow with Large Fluid Distortion . In book: Numerical Methods in Fluid Dynamics . Academic Press.
  13. Rider . William J. . Kothe . Douglas B. . 1998-04-10 . Reconstructing Volume Tracking . Journal of Computational Physics . 141 . 2 . 112–152 . 10.1006/jcph.1998.5906 . 0021-9991.
  14. S. . Chen . D.B. . Raad . The surface marker and micro-cell method . International Journal for Numerical Methods in Fluids . 1997 . 25 . 7 . 749–778. 1997IJNMF..25..749C . 10.1002/(SICI)1097-0363(19971015)25:7<749::AID-FLD584>3.3.CO;2-F .
  15. M. . Darwish . F. . Moukalled . Convective Schemes for Capturing Interfaces of Free-Surface Flows on Unstructured Grids . Numerical Heat Transfer Part B . 2006 . 49 . 1 . 19–42. 2006NHTB...49...19D . 10.1080/10407790500272137 . 121067159 .
  16. O. . Ubbink . R.I. . Issa . Method for Capturing Sharp Fluid Interfaces on ArbitraryMeshes . J. Comput. Phys. . 1999 . 153 . 1 . 26–50. 1999JCoPh.153...26U. 10.1006/jcph.1999.6276.
  17. Book: Muzaferija . S. . Peric . M. . Sames . P . Schelin . T. . A two-fluid Navier-Stokes solver to simulate water entry . Twenty-Second Symposium on Naval Hydrodynamics . 1998 . 978-0-309-18453-3 .
  18. B.P. . Leonard . The ULTIMATE conservative difference scheme applied to unsteady one-dimensional advection . Computer Methods in Applied Mechanics and Engineering. 1991 . 88 . 1 . 17–74. 1991CMAME..88...17L . 10.1016/0045-7825(91)90232-U . free .
  19. Book: Youngs, D.L. . Time-dependent multi-material flow with large fluid distortion . Numerical Methods for Fluid Dynamics . Academic Press . 1982 . 978-0-12-508360-7 . 273–285 . 9918216.
  20. Rajendran . Sucharitha . Manglik . Raj M. . Jog . Milind A. . 2022-06-01 . New Property Averaging Scheme for Volume of Fluid Method for Two-Phase Flows With Large Viscosity Ratios . Journal of Fluids Engineering . en . 144 . 6 . 061101 . 10.1115/1.4053548 . 0098-2202. 2301.01638 . 246024850 .