论文标题
用小工具-4代码模拟宇宙结构形成
Simulating cosmic structure formation with the GADGET-4 code
论文作者
论文摘要
数值方法已成为天体物理学研究的强大工具,但是它们的效用取决于合适的仿真代码的可用性。这需要在代码开发方面进行持续的努力,这也是由于当今计算硬件的迅速发展的技术所必需的。在这里,我们讨论了小工具代码中的最新方法论进步,在过去的二十年中,该代码已广泛应用于宇宙结构形成。新版本可通过特殊的MPI/共享 - 内存并行化和通信策略以及更加熟悉的域分解算法来适应时间量表,计算效率的大型动态范围,计算效率和并行可扩展性的较大动态范围。可以用来保存快速多极方法(FMM)的动量作为替代早期版本中引入的单方面TREEPM重力求解器。平滑颗粒流体动力学的两种不同口味,一种经典的熵持续配方和基于压力的方法,用于处理气态流。该代码能够应对非常大的问题大小,从而可以准确地预测宇宙结构的形成,以支持宇宙学的未来精确测试,同时,可以很好地适应模拟体积中粒子数密度的高动态范围变焦计算。 Gadget-4代码公开发布给社区,并包含用于固定组和子结构查找和跟踪的基础架构,以及合并树建筑,一个简单的模型,用于辐射冷却和星星形成,高动态范围范围功率谱估计器,以及基于二阶Lagrangian扰动理论的初始条件生成器。
Numerical methods have become a powerful tool for research in astrophysics, but their utility depends critically on the availability of suitable simulation codes. This calls for continuous efforts in code development, which is necessitated also by the rapidly evolving technology underlying today's computing hardware. Here we discuss recent methodological progress in the GADGET code, which has been widely applied in cosmic structure formation over the past two decades. The new version offers improvements in force accuracy, in time-stepping, in adaptivity to a large dynamic range in timescales, in computational efficiency, and in parallel scalability through a special MPI/shared-memory parallelization and communication strategy, and a more-sophisticated domain decomposition algorithm. A manifestly momentum conserving fast multipole method (FMM) can be employed as an alternative to the one-sided TreePM gravity solver introduced in earlier versions. Two different flavours of smoothed particle hydrodynamics, a classic entropy-conserving formulation and a pressure-based approach, are supported for dealing with gaseous flows. The code is able to cope with very large problem sizes, thus allowing accurate predictions for cosmic structure formation in support of future precision tests of cosmology, and at the same time is well adapted to high dynamic range zoom-calculations with extreme variability of the particle number density in the simulated volume. The GADGET-4 code is publicly released to the community and contains infrastructure for on-the-fly group and substructure finding and tracking, as well as merger tree building, a simple model for radiative cooling and star formation, a high dynamic range power spectrum estimator, and an initial conditions generator based on second-order Lagrangian perturbation theory.