Exact computation of the color function for triangular element interfaces
Jieyun Pan, Désir-André Koffi Bi, Ahmed Basil Kottilingal, Serena Costanzo, Jiacai Lu, Yue Ling, Ruben Scardovelli, Grétar Tryggvason, Stéphane Zaleski
TL;DR
This work addresses exact computation of the color function inside a cube cut by curved interfaces represented as triangles. It introduces Front2VOF (F2V), a two-step geometric method: first clip the triangulated interface against the cube faces to obtain polygons inside the cube, then evaluate the volume via a Gauss/Green-based surface integral that combines polygon contributions and cube-face terms. The approach robustly handles configurations with multiple interfaces and corner cases, validated against analytical solutions for single and multiple elements and showing second-order convergence for spherical interfaces. The method provides an efficient, geometry-based initialization of volume fractions for VOF/front-tracking simulations and extends naturally to unstructured tetrahedral meshes, with broad applications in CFD and computer graphics.
Abstract
The calculation of the volume enclosed by curved surfaces discretized into triangular elements, and a cube is of great importance in different domains, such as computer graphics and multiphase flow simulations. We propose a robust algorithm, the Front2VOF (F2V) algorithm, to address this problem. The F2V algorithm consists of two main steps. First, it identifies the polygons within the cube by segmenting the triangular elements on the surface, retaining only the portions inside the cube boundaries. Second, it computes the volume enclosed by these polygons in combination with the cube faces. To validate the algorithm's accuracy and robustness, we tested it using a range of synthetic configurations with known analytical solutions.
