基于全局K均值聚类的相空间粒子控制
Particle Control in Phase Space by Global K-Means Clustering
摘要:
我们设计并探索了一种迭代优化程序,通过合并和分裂计算宏粒子来控制粒子在细胞(PIC)代码中的粒子种群。我们的方法,是计算的全局粒子相空间结构的最佳表示,同时减少或增加整个粒子种群,基于k-均值聚类的数据。从本质上讲,该过程相当于通过统计手段合并或分裂粒子,在整个模拟体积中,同时最小化6维总距离测量以保持物理特性。粒子合并是迄今为止考虑物理守恒定律时要求最高的过程;它相当于粒子相空间数据的有损压缩。我们证明,我们的k均值方法保存能量和动量的高精度,即使是高压缩比,$\mathcal{R} \approx 3$- \emph{i.e.},$N_{f} \lesssim 0.33N_{i}$。有趣的是,我们发现一个精确的粒子分裂步骤也可以使用k均值进行;这是从对称性的角度出发的。分裂的解决方案,使用k-means,最佳地放置分裂的粒子,以获得最大的相空间流形上的跨度。使用电磁PIC代码\ppcode完成实施和测试。尽管如此,k-means框架是通用的;它不限于Vlasov-Maxwell型PIC码。我们讨论了这种最佳相空间重构的优点和缺点。
英文摘要:
We devise and explore an iterative optimization procedure for controlling particle populations in particle-in-cell (PIC) codes via merging and splitting of computational macro-particles. Our approach, is to compute an optimal representation of the global particle phase space structure while decreasing or increasing the entire particle population, based on k-means clustering of the data. In essence the procedure amounts to merging or splitting particles by statistical means, throughout the entire simulation volume in question, while minimizing a 6-dimensional total distance measure to preserve the physics. Particle merging is by far the most demanding procedure when considering conservation laws of physics; it amounts to lossy compression of particle phase space data. We demonstrate that our k-means approach conserves energy and momentum to high accuracy, even for high compression ratios, $\mathcal{R} \approx 3$ --- \emph{i.e.}, $N_{f} \lesssim 0.33N_{i}$. Interestingly, we find that an accurate particle splitting step can be performed using k-means as well; this from an argument of symmetry. The split solution, using k-means, places splitted particles optimally, to obtain maximal spanning on the phase space manifold. Implementation and testing is done using an electromagnetic PIC code, the \ppcode. Nonetheless, the k-means framework is general; it is not limited to Vlasov-Maxwell type PIC codes. We discuss advantages and drawbacks of this optimal phase space reconstruction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。