DOI: 10.5061/dryad.9zw3r22nq
title: Data from: A geometric VOF method for interface flow simulations

description: This set is the original data used in the article titled "A Geometric
 VOF Method for Interface Flow Simulations". In this paper, a novel
 numerical technique designed for interface flow simulations using the
 Volume of Fluid (VOF) method on arbitrary unstructured meshes has been
 introduced. The method is called SimPLIC, which seamlessly integrates
 Piecewise Linear Interface Calculation (PLIC) and Simpson's rule. The
 main focus of the proposed method is to compute the volume of the primary
 phase that moves across a mesh face within a single time step. This is
 achieved by reconstructing the interface and assessing how the submerged
 face area evolves over time. Simpson's rule is employed to integrate
 the time evolution of this submerged face area, ensuring an accurate
 estimation of the volume of the transported primary phase. The
 method's robustness was validated by solving a spherical interface
 advection problem in a non-uniform three-dimensional flow across
 unstructured meshes with diverse cell types and dimensions. Key metrics
 such as volume conservation, shape retention, friction boundedness and
 solving efficiency were meticulously monitored and juxtaposed. Numerical
 outcomes underscored the precision and adequacy of the PLIC-VOF technique
 when complemented with Simpson's rule in advecting the interface.
 Furthermore, the SimPLIC method has been integrated into OpenFOAM v2312 as
 an unofficial extension and is now accessible to the community.
description: # Data from: A Geometric VOF Method for Interface Flow Simulations ##
 Summary This set is the original data used in *Dai, Dezhi, Haomin Yuan,
 Albert Y. Tong, and Adrian Tentner. "A Geometric VOF Method for
 Interface Flow Simulations*." [arXiv preprint arXiv:2402.05247
 (2024)](https://arxiv.org/abs/2402.05247). ## Structure The repository
 structure is shown below.
 ![structure](https://github.com/daidezhi/geometricVofExt/assets/12741725/2d5d5121-d093-48e0-aaad-13157a345b2f) *Notes*: * In `interfaceAdvection/polyMesh_splitWarpedFace`, `isoAdvectos_plic_LS` and `isoAdvectos_plic_RDF` are not included. * In `exactSolutions`, the utility `initializeAlphaField` has been renamed as `setVofField` at [`geometricVofExt`](https://github.com/daidezhi/geometricVofExt). When replicating the exact solutions using the provided tool surface meshes: * Rename `./system/initializeAlphaFieldDict` as `./system/setVofFieldDict`. * In Line 15 of `Allrun.genExactSolution`, replace `foamDictionary ./system/initializeAlphaFieldDict` with `foamDictionary ./system/setVofFieldDict`. * In Line 17 of `Allrun.genExactSolution`, replace `initializeAlphaField -np 4 &gt;&gt; log.initializeAlphaField` with `setVofField -np 4 &gt;&gt; log.setVofField`. The mesh names and sizes are listed in the table below. | Mesh name | Mesh size $\Delta s,\[m]$ | | :-------: | :-----------------------: | | `mesh_1` | $2^{-4}$ | | `mesh_2` | $2^{-5}$ | | `mesh_3` | $2^{-6}$ | | `mesh_4` | $2^{-7}$ | | `mesh_5` | $2^{-8}$ | ## Data Unpacking The following are instructions for unpacking the dataset file `SimPLICData.tar.gz` across different operating systems: ### Linux 1. **Open a terminal**. 2. **Use the `tar` command**: * Navigate to the directory containing the `SimPLICData.tar.gz` file using `cd /path/to/file`. * Run the command `tar -xzf SimPLICData.tar.gz`. * This will extract the contents into the current directory. ### Windows 1. **Install the file archiver utility**: Download and install 7-Zip ([https://www.7-zip.org](https://www.7-zip.org)). 2. **Extract the file**: * Right-click on the `SimPLICData.tar.gz` file. * Select '7-Zip' &gt; 'Extract here'. A file named `SimPLICData.tar` will be created under the same folder. * Right-click on the `SimPLICData.tar` file. * Select '7-Zip' &gt; 'Extract here'. * This will extract the contents into the current directory. ### macOS 1. **Open Terminal**: do one of the following: * Click the Launchpad icon in the Dock, type `Terminal` in the search field, then click `Terminal`. * In the `Finder`, open the `/Applications/Utilities` folder, then double-click `Terminal`. 2. **Use the `tar` command**: * Navigate to the directory containing the `SimPLICData.tar.gz` file using `cd /path/to/file`. * Run the command `tar -xzf filename.tar.gz`. * This will extract the contents into the current directory. **For all systems, replace `/path/to/file` with the actual path of the `SimPLICData.tar.gz` file.** ## Data Reading The tool surface meshes located in the `toolSurfaceMesh` directory are in binary STL format. They can be read and visualized using [ParaView](https://www.paraview.org/), an open-source post-processing visualization software. In the directories `exactSolutions`, `interfaceOrientationSchemes`, and `interfaceAdvection`, only the files within the `system` folder, the `postProcessing` folder (except sampled surface meshes), and files named `log.*` are in ASCII format and can be accessed using any standard text editor. All other data, including the meshes, simulation results, and sampled surface meshes in `postProcessing`, are in binary format. These can be read and visualized using [ParaView](https://www.paraview.org/). To view a case, such as in `exactSolutions/hexMesh/mesh_1`, create an empty `*.foam` file in the directory and open it with [ParaView](https://www.paraview.org/). ---