Eikonal Boundary Condition for Level Set Method

Jooyoung Hahn, Karol Mikula, Peter FrolkovivcSSRN 2024

TL;DR

This paper introduces a novel "eikonal boundary condition" for the level set method, a popular technique for tracking evolving interfaces in simulations. By enforcing the eikonal equation on boundary cells, the method effectively maintains the crucial signed distance property of the level set function without requiring computationally expensive reinitialization, leading to more robust and accurate simulations, especially for complex geometries.

What Problem Does This Paper Address?

Simulating the evolution of curves and surfaces is vital in many scientific and engineering fields, from fluid dynamics to image segmentation. The level set method is a powerful Eulerian approach for this, implicitly representing interfaces as the zero level set of a function. A key challenge with the level set method, particularly on complex polyhedral meshes, is maintaining the "signed distance property" of the level set function (i.e., ensuring its gradient magnitude is always 1). This property is essential for accurate interface evolution and is often preserved through a process called reinitialization. However, reinitialization can be computationally expensive and can introduce its own inaccuracies by perturbing the interface. Furthermore, accurately defining boundary conditions for the level set equation, especially when the interface interacts with the domain boundary, is a significant hurdle. Traditional boundary conditions like Neumann or Dirichlet can lead to inaccuracies or are not generally known for complex evolving shapes.

Methods

The core contribution of this paper is the introduction of an "eikonal boundary condition." Instead of relying on reinitialization or known Dirichlet values, the authors propose to solve the eikonal equation, which inherently enforces the signed distance property, on the cells adjacent to the computational domain boundary. This effectively imposes the boundary condition on the level set equation. The method is implemented using a cell-centered finite volume framework on polyhedral meshes.

Key aspects of their method include:

  • Eikonal Equation on Boundary Cells: The eikonal equation, $|\nabla u| = 1$, is solved in the "boundary cells" (cells adjacent to the domain boundary). This ensures that the signed distance property is maintained even at the boundary.
  • Coupled Solution: The level set equation is solved for internal cells, while the eikonal equation is solved for boundary cells, creating a coupled system.
  • Finite Volume Discretization: A cell-centered finite volume method is used for discretizing both the level set and eikonal equations on polyhedral meshes.
  • Semi-Implicit Approach: For the eikonal equation, a semi-implicit approach is employed to handle its nonlinearity.
  • Deferred Correction: A deferred correction method is used to iteratively solve the coupled system.

Datasets

The paper does not use "datasets" in the typical machine learning sense. Instead, it relies on well-defined analytical solutions for various test cases to evaluate the numerical method. These test cases involve evolving geometric shapes (spheres and cubes) under different velocity fields (translation, rotation, expansion, shrinking). For a more complex scenario, they use the Stanford Bunny model from the Stanford 3D scanning repository.

Key Insights and Ideas

  • Eikonal as a Natural Boundary Condition: The eikonal equation, which defines a signed distance function, is a natural fit for imposing boundary conditions on a level set method that aims to maintain this property.
  • Reinitialization-Free Approach: The proposed method effectively bypasses the need for explicit reinitialization steps, which are a common but problematic aspect of traditional level set methods. This leads to improved accuracy and robustness.
  • Robustness on Polyhedral Meshes: The method is designed for polyhedral meshes, which are more flexible for complex geometries than structured grids, and demonstrates good performance.
  • Comparable Accuracy to Exact Dirichlet: The eikonal boundary condition achieves accuracy comparable to the exact Dirichlet boundary condition, which is often unavailable in practical scenarios.
  • Improved Stability: By avoiding reinitialization and handling boundary conditions more naturally, the method shows improved stability, especially in cases where interfaces interact with the boundary.

Key Results

The paper presents extensive numerical results comparing the eikonal boundary condition (EKBC) with the exact Dirichlet boundary condition (DBC) for various test cases involving spheres and cubes.

  • Accuracy: For most test cases, the errors (E1,2, E∞,Z, Ev, E¹) obtained with EKBC are comparable to those achieved with DBC, often showing similar experimental orders of convergence (EOC).
  • Robustness: The method demonstrates robustness, particularly in maintaining the signed distance property, as evidenced by the error in the gradient (E1,9).
  • General Closed Surface: For the Stanford Bunny test case, EKBC shows significantly better preservation of the surface shape and isocurves compared to linearly extended boundary condition (LEBC) and zero Neumann boundary condition (ZNBC), which exhibit distortions.
  • CFL Number: The paper suggests that the method allows for larger CFL numbers, making simulations more efficient.

Limitations and Future Work

  • Complexity of Velocity Fields: While the method is demonstrated with simple velocity fields, the authors note that extending it to more complex velocity fields, especially those defined only on the zero level set, on polyhedral meshes is a future research direction.
  • "Ghost Cells" Alternative: The paper mentions that their approach of adding a boundary layer inside the domain is an alternative to the common practice of adding "ghost cells" outside the domain for handling boundary conditions. This internal layer is refined with the mesh, ensuring convergence.
  • Comparison with LEBC/ZNBC: The paper extensively compares EKBC with DBC, and also briefly compares it with LEBC and ZNBC, showing EKBC's superiority in preserving surface integrity and the signed distance property.
  • Future Work: A key future direction is to combine the eikonal boundary condition with extended velocity field techniques on polyhedral meshes to further enhance the preservation of the signed distance property when solving level set equations with general velocity fields.

Summary updated

BibTeX
@misc{hahn2024eikonal,
  author = {Jooyoung Hahn and Karol Mikula and Peter Frolkovivc},
  title = {{Eikonal Boundary Condition for Level Set Method}},
  year = {2024},
  eprint = {2504.05845},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.05845},
}
Figure