sandbox/jieyun/README
Sandbox of Jieyun Pan
Correct way to use the code from my sandbox
Suppose that Basilisk is installed in the directory $(BASILISK).
During your code development, you should work in a separate directory, for example ~/basilisk_dev_jieyun (as in my case). This directory should not contain any source code from the original Basilisk distribution, but only your own code. You are free to use any version control system for your work, such as Git or Darcs.
After downloading the code from my sandbox, place all the directories and files under ~/basilisk_dev_jieyun. Next, add a Makefile in ~/basilisk_dev_jieyun/test. A basic Makefile should include at least the following two lines:
include $(BASILISK)/Makefile.defs
CFLAGS += -I../srcThe first line gives you access to the header files provided by Basilisk. The second line instructs the qcc compiler to search for header files in your local source directory, i.e. ~/basilisk_dev_jieyun/src.
DO NOT add or overwrite any files in $(BASILISK).
By following this approach, you will avoid contaminating the Basilisk source code and maintain a clean separation between Basilisk and your own development code.
Edge-Based Interface-Tracking (EBIT) / Semushin method
The Edge-Based Interface Tracking (EBIT) method is a novel Front-Tracking method developed by Chirco and Zaleski, 2022, Pan et al., 2024. In the EBIT method, the markers are located on the grid edges and the interface can be reconstructed without storing the connectivity of the markers. This feature allows almost automatic parallelization on a quad/octree grid.
References
| [chirco2022] |
Leonardo Chirco and Zaleski Stéphane. An edge-based interface-tracking method for multiphase flows. Int J Numer Meth Fluids., 95(3):491–497, 2022. [ DOI ] |
Header files
The main header files can be found on the following pages:
- 2D Interface advection
- 2D Interface advection with an unsplit scheme
- Two-phase flow with the EBIT method
- Fitting functions
- Helper functions for EBIT method
- EBIT method + AMR
- 3D Interface advection
Verification test cases
Verification test cases can be found on the following pages:
Benchmark test cases with the 2D EBIT method
- Stagnation flow
- Translation
- Single vortex
- Zalesak’s disk
- Capillary wave
- Rayleigh-Taylor instability
- Rising bubble
Benchmark test cases with the 3D EBIT method
Benchmark test cases with the 2D EBIT method (Unsplit)
Relevant test cases with the VOF method
Phase change problems with the EBIT method
Please refer to Tian’s sandbox
Useful postprocessing tools
- Facets output in an MPI run
- Triangulate facets for visualization using Paraview
- Theoretical solutions of 3D oscillating drop/bubble
Documentation
I spent some time reading the source code to figure out how the tagging function in Basilisk works. I added some comments and figures to the tag.h to make it clearer.
Publications
| [pan2026114838] |
Jieyun Pan, Tian Long, Ruben Scardovelli, and Stéphane Zaleski. An unsplit scheme for interface advection in the edge-based interface tracking (EBIT) method. Journal of Computational Physics, 557:114838, 2026. [ DOI ] |
| [pan2026_IJNMF] |
Jieyun Pan, Désir-André Koffi Bi, Ahmed Basil Kottilingal, Serena Costanzo, Jiacai Lu, Yue Ling, Ruben Scardovelli, Grétar Tryggvason, and Stéphane Zaleski. Exact computation of the color function for triangular element interfaces. International Journal for Numerical Methods in Fluids, n/a, 2026. [ DOI ] |
| [chen2025] |
Xiangbin Chen, Tianyang Han, Jieyun Pan, Daniel Fuster, and Stéphane Zaleski. Volume-conserving method for dynamic contact line on complex surfaces. Physics of Fluids, 37(2):023392, 2025. [ DOI ] |
| [Long2025] |
Tian Long, Jieyun Pan, Edoardo Cipriano, Matteo Bucci, and Stéphane Zaleski. Direct numerical simulation of nucleate boiling with a resolved microlayer and conjugate heat transfer. Journal of Fluid Mechanics, 1020:A30, 2025. [ DOI ] |
| [long2024] |
Tian Long, Jieyun Pan, and Zaleski Stéphane. An edge-based interface tracking (EBIT) method for multiphase flows with phase change. Journal of Computational Physics, 513:113159, 2024. [ DOI | http ] |
| [pan2024] |
Jieyun Pan, Tian Long, Leonardo Chirco, Ruben Scardovelli, Popinet Stéphane, and Zaleski Stéphane. An edge-based interface tracking (EBIT) method for multiphase-flow simulation with surface tension. Journal of Computational Physics, 508:113016, 2024. [ DOI | http ] |
| [pan2025_3debit] |
Jieyun Pan, Tian Long, Ruben Scardovelli, Stéphane Popinet, and Stéphane Zaleski. A three-dimensional edge-based interface tracking (EBIT) method for multiphase-flow simulations. 2025, arXiv preprint. [ http ] |
