A Fast Particle-Locating Method for the Arbitrary Polyhedral Mesh

Haiyang Yu, Yefei Wang, Le WangAlgorithms 2019

TL;DR

This paper introduces PLUG, a novel and efficient method for quickly locating particles within complex, arbitrary polyhedral meshes, crucial for improving computational efficiency in fluid dynamics simulations. By employing a fine-grained background Cartesian grid, PLUG significantly reduces the need for computationally expensive point-in-cell tests, outperforming existing methods in speed and robustness.

What Problem Does This Paper Address?

Simulating dispersed systems, like those involving particles, bubbles, or droplets in a fluid, often uses hybrid Euler-Lagrangian models. In these models, the fluid is treated continuously (Eulerian), while the dispersed phase is tracked individually (Lagrangian). A critical bottleneck in these simulations is the need to determine which computational cell each particle resides in at every time step. This "particle locating" is straightforward on simple, uniform grids but becomes a significant computational burden on complex, unstructured meshes, especially those with arbitrary polyhedral cells. Existing methods struggle with efficiency and robustness in these scenarios, necessitating a faster and more reliable approach.

Methods

The core of the proposed PLUG (Point Locating with Uniform Grid) method lies in its use of an auxiliary "background grid." This background grid is a uniform Cartesian grid with a much finer resolution (smaller grid spacing) than the actual computational mesh. The process involves three main steps:

  1. Background Grid Construction: A uniform Cartesian grid is created to cover the entire computational domain.
  2. Mapping Relation Specification: A crucial step is establishing the relationship between the background grid cells (called "cubes") and the computational cells. This is done by creating two lists:
  3. cell2cube: For each computational cell, it lists the indices of background cubes that fully or partially overlap with it. This is achieved by decomposing computational cells into tetrahedrons and using a "characteristic point method" to identify intersecting background cubes.
  4. cube2cell: This is the inverse of cell2cube, listing for each background cube, the indices of computational cells that fully or partially cover it. This list is generated by inverting the cell2cube list.
  5. Particle Locating: A particle's host cell is found by first locating its corresponding background cube. Based on whether this background cube is classified as "exterior," "boundary," or "interior" (relative to the computational mesh), different strategies are employed. For "interior" cubes, which are fully contained within a single computational cell, the host cell is directly identified, bypassing the point-in-cell test. For "boundary" cubes, a point-in-cell test is performed only on the few computational cells associated with that background cube.

The key innovation is the use of a much finer background grid. This fine resolution means many background cubes are fully contained within a single computational cell, allowing the PLUG method to skip the point-in-cell test for a significant portion of particles, thereby boosting efficiency.

Datasets

Not discussed in the paper. The paper focuses on numerical simulations using generated meshes and particle distributions.

Key Insights and Ideas

  • The Power of a Fine Background Grid: The most significant insight is that a very fine background Cartesian grid, even if it leads to more background cells, dramatically improves particle locating efficiency. This is because it increases the likelihood that a background cube is fully contained within a single computational cell, eliminating the need for costly point-in-cell tests.
  • Characteristic Point Method for Robust Mapping: The paper introduces a "characteristic point method" for tetrahedral decomposition of computational cells to efficiently determine the overlap between background cubes and computational cells. This is a novel approach for building the crucial mapping lists.
  • Categorizing Background Cubes: Classifying background cubes into "exterior," "boundary," and "interior" types allows for a tailored and efficient particle locating strategy, further optimizing the process.
  • Mesh Independence (with sufficient resolution): While the efficiency on tetrahedral and polyhedral meshes is sensitive to background grid resolution, with a sufficiently fine grid, PLUG achieves high efficiency and becomes largely independent of the underlying computational mesh topology.

Key Results

The PLUG method was tested on hexahedral, tetrahedral, and polyhedral meshes.

  • Speedup: PLUG demonstrated significant speedups compared to existing methods like octree and face-to-face searching (GNH, GNHNC, GNHHC). On a hexahedral mesh with a fine background grid (400³ cubes), PLUG was up to 984.9 times faster than the GNH method and 36.5 times faster than the octree method.
  • Efficiency on Different Meshes: While PLUG is generally faster, its efficiency is more sensitive to background grid resolution on tetrahedral and polyhedral meshes compared to hexahedral meshes. However, with a fine enough background grid, it consistently outperforms other methods.
  • Reduced Point-in-Cell Tests: The paper quantifies that with a fine background grid (e.g., 400³), a substantial percentage of background cubes are fully contained within a single computational cell (e.g., 20.47% on tetrahedral and 0.00058% on polyhedral meshes), directly contributing to PLUG's efficiency.
  • Scalability: Scalability tests showed that PLUG scales well with an increasing number of particles, remaining the fastest method across all mesh types.

Limitations and Future Work

  • Sensitivity to Resolution: The authors acknowledge that the efficiency of PLUG on tetrahedral and polyhedral meshes is sensitive to the resolution of the background grid. While a fine grid is beneficial, it also increases memory requirements for storing the mapping lists.
  • Memory Overhead: A finer background grid, while improving speed, leads to increased memory usage to store the cube2cell list.
  • Future Work: The paper doesn't explicitly detail future work, but the findings suggest that optimizing the trade-off between background grid resolution, memory usage, and computational speed would be a natural area for further research. Exploring adaptive background grid refinement could also be a promising direction.

Summary updated

BibTeX
@inproceedings{yu2019fast,
  author = {Haiyang Yu and Yefei Wang and Le Wang},
  title = {{A Fast Particle-Locating Method for the Arbitrary Polyhedral Mesh}},
  booktitle = {Algorithms},
  year = {2019},
  doi = {10.3390/a12090179},
}
Figure