A dynamical particle merging and splitting algorithm for Particle-In-Cell simulations
Qian Dong,Binglin Wang,Xiaojun Duan,Liang Yan,Ke Liu,Wen Luo,Fuqiu Shao,Tongpu Yu
DOI: https://doi.org/10.1016/j.cpc.2023.108913
IF: 4.717
2023-09-06
Computer Physics Communications
Abstract:In Particle-In-Cell simulation, macro-particles represent clusters of numerous physical particles. Rational merging or splitting of these macro-particle clusters can significantly improve the efficiency of simulation and reduce unnecessary computational requirements and memory consumption. Here, we propose a dynamical particle merging and splitting algorithm. For macro-particle in different density regions, regional macro-particle clusters are obtained by dividing them with the Minkowski metric function. Dynamic merging and splitting of macro-particles is achieved by dynamically changing the number of macro-particle clusters to reduce the number of macro-particles without substantially distorting the physical description of the system. To test the capability of the algorithm, we also compare the performance of the algorithm under three types of classical plasma cases: two-stream instability (1D), QED cascades (2D), and magnetic shower (3D). The results show a good agreement with expectations.
physics, mathematical,computer science, interdisciplinary applications