Abstract
Coupled fluid-particle simulations are routinely used in a variety of applications, ranging from respiratory droplet spreading to internal combustion engines, from ink-jet printing to in-flight ice accretion. The efficiency of parallel algorithms to simulate fluid-particle systems is strongly influenced by the different evolution of the flow and the particles dynamics. Indeed, a domain partitioning based on particle workload is possibly sub-optimal in terms of the number of fluid volume elements associated to each process. In this work, an efficient mesh partitioning based on graph representation is implemented. It can handle unstructured hybrid meshes composed by triangles and quadrilaterals in two spatial dimensions, and by tetrahedra, hexahedra, prisms, and pyramids in three dimensions. In order to obtain a domain decomposition to efficiently follow the particle trajectories, a preliminary solution is computed to suitably tag the fluid domain cells. The obtained weights represent the element probabilities to be crossed by particles. The algorithm is implemented using MPI distribute memory environment. The proposed approach is tested against reference cases for the coupled flow-particle simulation of ice accretion over 2D and 3D geometries. Two different cloud droplet impact test cases have been simulated: a NACA 0012 wing section and a NACA 64A008 swept horizontal tail. The computed collection efficiency compares fairly well with reference numerical and experimental data. The parallel efficiency of the algorithm is verified on a distributed memory cluster.
Introduction
Simulating how particles move through fluids—such as droplets hitting an airplane wing or fuel spraying in an engine—is a cornerstone of modern aerospace engineering. However, these simulations are notoriously computationally expensive. While parallel computing offers a path to speed, traditional domain partitioning often fails because particles do not distribute evenly throughout a fluid mesh.
This leads to a significant workload imbalance. Standard partitioning methods divide the mesh based on the number of fluid cells. However, particles follow specific trajectories; if all particles fly into a region owned by a single processor, that processor becomes a bottleneck while others sit idle. This "naive" approach leads to poor scalability, where adding more processors does not necessarily make the simulation faster.
The Cell Tagging Strategy
To address this, researchers have developed a "cell tagging" strategy that optimizes mesh partitioning based on predicted particle trajectories. The process involves a two-stage approach to domain partitioning:
- Initial Partitioning: A standard nodal graph partitioning using the ParMetis library distributes the fluid mesh.
- Cell Tagging (The Innovation): A "scout" simulation is run with a small number of particles. As these particles move, the algorithm "tags" the cells they cross.
- Weighted Repartitioning: The mesh is then re-partitioned. This time, cells are given weights based on the probability of being crossed by particles. This ensures that the "heavy lifting" of particle tracking is distributed evenly across all CPU cores.
This approach is complemented by an asynchronous communication model using non-blocking MPI calls. Instead of global synchronization, processors communicate only when a particle actually needs to move from one domain to another, significantly reducing idle time and "empty requests."
Key Results and Validation
The researchers evaluated their algorithm using two classic aerospace benchmarks: the NACA 0012 wing section (2D) and the NACA 64A008 swept horizontal tail (3D). The improvements were most dramatic in the 3D test case involving one million particles:
- Massive Speedup: Using the cell tagging technique reduced execution time by approximately 85% compared to the naive implementation.
- Scalability: With the new algorithm, the speedup factor improved from 1.1 to 1.7 when doubling cores from 48 to 96, showing much better "strong scaling."
- Accuracy: Despite the optimizations, the results remained highly accurate. The computed collection efficiency compares "fairly well" with experimental data and matches the trends of established industry-standard codes like LEWICE.
Conclusion
The "aha moment" of this research is the realization that a cheap, low-fidelity preliminary run can provide enough information to optimize a very expensive high-fidelity simulation. By aligning computational resources with the physical "particle highways" in the flow field, the algorithm overcomes the limitations of geometry-based partitioning. Future work will explore how this tagging strategy holds up on massive supercomputers with thousands of cores, where communication overhead becomes even more dominant.
Summary updated