arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.12727astro-ph.IM
收藏

GEAR-RT:利用SWIFT基于任务的分解和动态子循环实现宇宙学模拟的Exa尺度矩辐射转移

GEAR-RT: Towards Exa-Scale Moment Based Radiative Transfer For Cosmological Simulations Using Task-Based Parallelism And Dynamic Sub-Cycling with SWIFT

Mladen Ivkovic

摘要:

GEAR-RT的开发和实施,一个辐射转移求解器使用的M1封闭的开放源代码SWIFT,并验证使用标准测试辐射转移。GEAR-RT是在RAMSES-RT(Rosdahl等人,2013)之后建模的,具有一些关键差异。首先,RAMSES-RT使用有限体积方法和自适应网格细化(AMR)策略,GEAR-RT采用粒子作为离散元素,并使用有限体积粒子方法(FVPM)求解方程。第二,GEAR-RT利用SWIFT基于任务的并行化策略,优化负载平衡,提高缓存效率,异步通信,以及基于工作而不是数据的域分解。GEAR-RT能够执行辐射转移步骤的子循环。一个单一的流体力学步骤。辐射需要比流体力学小得多的时间步长,并且子循环允许不严格必要的计算被跳过。实际上,在重力、流体动力学和辐射转移的测试情况下,子循环能够将模拟的运行时间减少90%以上。当涉及基于任务的并行性时,只允许所涉及的物理的一部分进行子循环是一个人为的问题,并且是SWIFT中的一个全新功能。由于GEAR-RT采用了有限体积粒子方法,本文详细介绍了有限体积法和有限体积粒子方法。在天体物理学文献中,有两种FVPM方法:Hopkins(2015)在他们的GIZMO代码中实现了一种,而Ivanova等人(2013)提到的方法至今尚未使用。在这项工作中,我测试了Ivanova等人(2013)版本的实现,并得出结论,在其当前形式下,它不适合与流体共同运动的粒子一起使用,而这反过来又是宇宙学模拟的一个基本特征。

英文摘要:

The development and implementation of GEAR-RT, a radiative transfer solver using the M1 closure in the open source code SWIFT, is presented, and validated using standard tests for radiative transfer. GEAR-RT is modeled after RAMSES-RT (Rosdahl et al. 2013) with some key differences. Firstly, while RAMSES-RT uses Finite Volume methods and an Adaptive Mesh Refinement (AMR) strategy, GEAR-RT employs particles as discretization elements and solves the equations using a Finite Volume Particle Method (FVPM). Secondly, GEAR-RT makes use of the task-based parallelization strategy of SWIFT, which allows for optimized load balancing, increased cache efficiency, asynchronous communications, and a domain decomposition based on work rather than on data. GEAR-RT is able to perform sub-cycles of radiative transfer steps w.r.t. a single hydrodynamics step. Radiation requires much smaller time step sizes than hydrodynamics, and sub-cycling permits calculations which are not strictly necessary to be skipped. Indeed, in a test case with gravity, hydrodynamics, and radiative transfer, the sub-cycling is able to reduce the runtime of a simulation by over 90%. Allowing only a part of the involved physics to be sub-cycled is a contrived matter when task-based parallelism is involved, and is an entirely novel feature in SWIFT. Since GEAR-RT uses a FVPM, a detailed introduction into Finite Volume methods and Finite Volume Particle Methods is presented. In astrophysical literature, two FVPM methods are written about: Hopkins (2015) have implemented one in their GIZMO code, while the one mentioned in Ivanova et al. (2013) isn't used to date. In this work, I test an implementation of the Ivanova et al. (2013) version, and conclude that in its current form, it is not suitable for use with particles which are co-moving with the fluid, which in turn is an essential feature for cosmological simulations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑