[Paper Review] voFoam - A geometrical Volume of Fluid algorithm on arbitrary unstructured meshes with local dynamic adaptive mesh refinement using OpenFOAM
This paper presents voFoam, a novel unsplit geometrical Volume of Fluid (VoF) algorithm for two-phase flow simulations on arbitrary unstructured meshes with local dynamic Adaptive Mesh Refinement (AMR) in OpenFOAM. It employs a directionally unsplit, Lagrangian discrete trajectory-based advection scheme with a quadratic-convergent flux correction algorithm, achieving high mass conservation and boundedness preservation, with the lowest symmetric difference interface reconstruction errors reported to date on unstructured meshes for 2D and 3D complex flows.
A new parallelized unsplit geometrical Volume of Fluid (VoF) algorithm with support for arbitrary unstructured meshes and dynamic local Adaptive Mesh Refinement (AMR), as well as for two and three dimensional computation is developed. The geometrical VoF algorithm supports arbitrary unstructured meshes in order to enable computations involving flow domains of arbitrary geometrical complexity. The implementation of the method is done within the framework of the OpenFOAM library for Computational Continuum Mechanics (CCM) using the C++ programming language with modern policy based design for high program code modularity. The development of the geometrical VoF algorithm significantly extends the method base of the OpenFOAM library by geometrical volumetric flux computation for two-phase flow simulations. For the volume fraction advection, a novel unsplit geometrical algorithm is developed, which inherently sustains volume conservation utilizing unique Lagrangian discrete trajectories located in the mesh points. This practice completely eliminates the possibility of an overlap between the flux polyhedra and hence significantly increases volume conservation. A new efficient (quadratic convergent) and accurate iterative flux correction algorithm is developed, which avoids topological changes of the flux polyhedra. Our geometrical VoF algorithm is dimension agnostic, providing automatic support for both 2D and 3D computations, following the established practice in OpenFOAM. The geometrical algorithm used for the volume fraction transport has been extended to support dynamic local AMR available in OpenFOAM. Furthermore, the existing dynamic mesh capability of OpenFOAM has been modified to support the geometrical mapping algorithm executed as a part of the dynamic local AMR cycle. The method implementation is fully parallelized using the domain decomposition approach.
Motivation & Objective
- To develop a robust, mass-conservative geometrical VoF method for arbitrary unstructured meshes in OpenFOAM.
- To extend OpenFOAM's capabilities to support dynamic local AMR for complex, time-varying two-phase flows.
- To achieve boundedness preservation and high geometric accuracy in interface reconstruction for complex 2D and 3D flow domains.
- To implement a fully parallelized, scalable algorithm using domain decomposition for high-performance computing.
Proposed method
- The method uses a novel unsplit geometrical advection algorithm based on full discrete Lagrangian flow maps at mesh vertices to ensure volume conservation.
- It introduces a new iterative flux correction algorithm with quadratic convergence that avoids topological changes in flux polyhedra.
- The interface is reconstructed using piecewise-linear (PLIC) geometry from volume fraction data, with geometric operations performed directly on unstructured mesh cells.
- The implementation leverages OpenFOAM’s policy-based C++ design for modularity and reusability across different physical models.
- Dynamic local AMR is integrated by modifying OpenFOAM’s dynamic mesh framework to support geometrical mapping during refinement cycles.
- The algorithm is fully parallelized using domain decomposition, enabling efficient large-scale simulations on distributed memory systems.
Experimental results
Research questions
- RQ1Can a geometrical VoF method achieve high mass conservation and boundedness on arbitrary unstructured meshes with complex geometry?
- RQ2How does the proposed unsplit, Lagrangian-based advection scheme perform in terms of volume conservation and interface reconstruction accuracy compared to existing methods?
- RQ3Can dynamic local AMR be effectively integrated into a geometrical VoF framework without compromising mass conservation or geometric accuracy?
- RQ4What level of interface reconstruction error can be achieved on unstructured meshes using the proposed algorithm, and how does it compare to the state of the art?
Key findings
- The proposed voFoam algorithm achieves the lowest reported symmetric difference interface reconstruction errors to date for unstructured meshes in two- and three-dimensional simulations.
- The method demonstrates robustness and boundedness preservation across a wide range of Courant numbers and complex, time-varying velocity fields.
- Volume conservation is inherently preserved due to the use of unique Lagrangian discrete trajectories that prevent flux polyhedra overlap.
- The integration of dynamic local AMR with geometrical mapping is successfully achieved, enabling high-resolution resolution of interfaces in regions of interest.
- The algorithm is fully parallelized and scales efficiently using domain decomposition, enabling large-scale simulations.
- The implementation supports both 2D and 3D computations natively, with no need for separate code paths, due to its dimension-agnostic design.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.