{"title":"Exact Computation of the Color Function for Triangular Element Interfaces","authors":"Jieyun Pan, Désir-André Koffi Bi, Ahmed Basil Kottilingal, Serena Costanzo, Jiacai Lu, Yue Ling, Ruben Scardovelli, Grétar Tryggvason, Stéphane Zaleski","doi":"10.1002/fld.70086","DOIUrl":null,"url":null,"abstract":"<p>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 verify the proposed algorithm, we first compute the volume enclosed within a cubic cell for a range of synthetic configurations with known analytical solutions. We then apply the algorithm to initialize volume fraction fields on Cartesian meshes for complex interfaces and compare the results with those obtained using the existing <span>VOFI</span> library. The F2V results show excellent agreement with both the analytical solutions and the VOFI results, demonstrating the accuracy and robustness of the proposed approach. Finally, we evaluate the method for color function computation in multiphase flow simulations. The F2V method is compared with the conventional approach based on solving a Poisson equation, showcasing significantly improved computational efficiency, particularly on fine mesh resolutions.</p>","PeriodicalId":50348,"journal":{"name":"International Journal for Numerical Methods in Fluids","volume":"98 11","pages":"1181-1194"},"PeriodicalIF":2.1000,"publicationDate":"2026-10-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1002/fld.70086","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal for Numerical Methods in Fluids","FirstCategoryId":"5","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/fld.70086","RegionNum":4,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/6/24 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
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 verify the proposed algorithm, we first compute the volume enclosed within a cubic cell for a range of synthetic configurations with known analytical solutions. We then apply the algorithm to initialize volume fraction fields on Cartesian meshes for complex interfaces and compare the results with those obtained using the existing VOFI library. The F2V results show excellent agreement with both the analytical solutions and the VOFI results, demonstrating the accuracy and robustness of the proposed approach. Finally, we evaluate the method for color function computation in multiphase flow simulations. The F2V method is compared with the conventional approach based on solving a Poisson equation, showcasing significantly improved computational efficiency, particularly on fine mesh resolutions.
期刊介绍:
The International Journal for Numerical Methods in Fluids publishes refereed papers describing significant developments in computational methods that are applicable to scientific and engineering problems in fluid mechanics, fluid dynamics, micro and bio fluidics, and fluid-structure interaction. Numerical methods for solving ancillary equations, such as transport and advection and diffusion, are also relevant. The Editors encourage contributions in the areas of multi-physics, multi-disciplinary and multi-scale problems involving fluid subsystems, verification and validation, uncertainty quantification, and model reduction.
Numerical examples that illustrate the described methods or their accuracy are in general expected. Discussions of papers already in print are also considered. However, papers dealing strictly with applications of existing methods or dealing with areas of research that are not deemed to be cutting edge by the Editors will not be considered for review.
The journal publishes full-length papers, which should normally be less than 25 journal pages in length. Two-part papers are discouraged unless considered necessary by the Editors.