GrGadget:一种用于宇宙学模拟的N体TreePM相对论代码
GrGadget: an N-body TreePM relativistic code for cosmological simulations
AI总结:
本研究合并相对论Gevolution代码与TreePM Gadget-4代码,开发出GrGadget宇宙学模拟代码,可兼顾大尺度广义相对论效应与小尺度非线性结构解析,验证结果符合预期且分辨率优于纯PM模拟。
摘要:
我们介绍了粒子网格(Particle-Mesh,PM)相对论性Gevolution代码与TreePM Gadget-4代码的合并工作,旨在研究宇宙学中的广义相对论效应。我们的代码名为GrGadget,能够通过利用Gevolution在泊松规范下实现的相对论性PM,追踪弱场极限下度规扰动的演化。为实现这一目标,我们基于Gevolution编写了一个名为libgevolution的C++库,该库允许其他代码访问并使用Gevolution在其纯PM N体模拟中所采用的相同抽象与资源。该代码的工作假设是短距离下的粒子相互作用可近似为牛顿力学作用,因此我们可以将牛顿树方法计算得到的力与相对论性PM计算得到的力相结合。最终得到的TreePM模拟代码既能在度规扰动相关的尺度上对其进行表征,又能解析非线性结构。我们通过将关闭树模块的Gadget-4计算得到的力,与libgevolution在牛顿极限下计算得到的力进行精确匹配,验证了代码的有效性。使用GrGadget得到的物质功率谱在小尺度上与牛顿力学版本的Gadget结果一致,在大尺度上包含的广义相对论特征也与Gevolution得到的结果相符。我们证明,由于对高度非线性区域的分辨率更高,相较于纯PM模拟,在网格上采样的相对论性场的表征效果得到了提升。
英文摘要:
We present the merging of the Particle-Mesh (PM) relativistic Gevolution code with the TreePM Gadget-4 code, with the aim of studying general relativity effects in cosmology. Our code, called GrGadget, is able to track the evolution of metric perturbations in the weak field limit by using Gevolution's implementation of a relativistic PM in the Poisson gauge. To achieve this, starting from Gevolution we have written a C++ library called libgevolution, that allows a code to access and use the same abstractions and resources that Gevolution uses for its PM-only N-body simulations. The code works under the assumption that particle interactions at short distances can be approximated as Newtonian, so that we can combine the forces computed with a Newtonian Tree with those computed with a relativistic PM. The result is a TreePM simulation code that represents metric perturbations at the scales where they are relevant, while resolving non-linear structures. We validate our code by closely matching Gadget-4 forces, computed with the Tree switched off, with those computed with libgevolution in the Newtonian limit. With GrGadget we obtain a matter power spectrum that is compatible with Newtonian Gadget at small scales and contains GR features at large scales that are consistent with results obtained with Gevolution. We demonstrate that, due to the better resolution of the highly non-linear regime, the representation of the relativistic fields sampled on the mesh improves with respect to the PM-only simulations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。