SCF-FDPS:一种用于模拟盘-晕系统的快速N体代码
SCF-FDPS: A Fast $N$-body Code for Simulating Disk-halo Systems
AI总结:
该研究提出SCF-FDPS快速N体代码,将SCF方法用于晕自引力和盘晕相互作用,仅对盘自引力用树算法,在多核上比调优树码快3倍至近一个数量级,且扩展性好,模拟结果与树码一致。
摘要:
我们开发了一种快速N体代码,用于模拟嵌入在活动暗物质晕中的恒星盘。在生成其泊松求解器时,我们将一种固有具有完美可扩展性的自洽场(SCF)代码整合到使用名为“开发粒子模拟器框架”(FDPS)的库进行并行化的树码中。因此,这里开发的代码被称为SCF-FDPS。该代码通过将SCF方法不仅应用于晕的自引力计算,还应用于盘与晕粒子之间的引力相互作用计算,实现了对传统树码的加速。因此,在SCF-FDPS代码中,树算法仅用于计算盘的自引力。在多核并行计算机上,如果盘和晕粒子的数量对于两种代码分别固定,SCF-FDPS代码的性能至少比经过高度调优的树码快三倍,在某些情况下几乎快一个数量级。此外,SCF-FDPS代码显示,CPU成本几乎随粒子总数线性增加,并几乎随核心数成反比减少。我们发现,使用SCF-FDPS代码模拟的盘-晕系统的时间演化在很大程度上与使用树码获得的结果相似。我们提出了如何扩展当前代码以应对各种盘星系模拟的建议。
英文摘要:
A fast $N$-body code has been developed for simulating a stellar disk embedded in a live dark matter halo. In generating its Poisson solver, a self-consistent field (SCF) code which inherently possesses perfect scalability is incorporated into a tree code which is parallelized using a library termed Framework for Developing Particle Simulators (FDPS). Thus, the code developed here is called SCF-FDPS. This code has realized the speedup of a conventional tree code by applying an SCF method not only to the calculation of the self-gravity of the halo but also to that of the gravitational interactions between the disk and halo particles. Consequently, in the SCF-FDPS code, a tree algorithm is applied only to calculate the self-gravity of the disk. On a many-core parallel computer, the SCF-FDPS code has performed at least three times, in some case nearly an order of magnitude, faster than an extremely-tuned tree code on it, if the numbers of disk and halo particles are, respectively, fixed for both codes. In addition, the SCF-FDPS code shows that the cpu cost scales almost linearly with the total number of particles and almost inversely with the number of cores. We find that the time evolution of a disk-halo system simulated with the SCF-FDPS code is, in large measure, similar to that obtained using the tree code. We suggest how the present code can be extended to cope with a wide variety of disk-galaxy simulations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。