The Cosmic Code Comparison Project
Katrin Heitmann, Zarija Lukic, Patricia Fasel, Salman Habib, Michael S. Warren, Martin White, James Ahrens, Lee Ankeny, Ryan Armstrong, Brian O'Shea, Paul M. Ricker, Volker Springel, Joachim Stadel, Hy Trac
TL;DR
The paper addresses the challenge of achieving high-precision predictions for nonlinear cosmic structure by conducting a comprehensive cross-code comparison of 10 gravity-only cosmological codes spanning grid, tree, and hybrid methods. It employs identical initial conditions and a ParaView-based analysis framework to quantify differences in halos, mass functions, density environments, and the matter power spectrum across codes. Findings show robust agreement (better than ~5%) for the halo mass function and outer halo profiles, while differences emerge in the inner halo regions and especially in the power spectrum at higher $k$ and in AMR/TPM implementations due to resolution and algorithmic nuances. The work demonstrates ParaView’s utility for benchmarking and highlights areas where larger simulation boxes and refined force resolution are needed to meet the precision demands of upcoming cosmological surveys.
Abstract
Current and upcoming cosmological observations allow us to probe structures on smaller and smaller scales, entering highly nonlinear regimes. In order to obtain theoretical predictions in these regimes, large cosmological simulations have to be carried out. The promised high accuracy from observations make the simulation task very demanding: the simulations have to be at least as accurate as the observations. This requirement can only be fulfilled by carrying out an extensive code validation program. The first step of such a program is the comparison of different cosmology codes including gravitation interactions only. In this paper we extend a recently carried out code comparison project to include five more simulation codes. We restrict our analysis to a small cosmological volume which allows us to investigate properties of halos. For the matter power spectrum and the mass function, the previous results hold, with the codes agreeing at the 10% level over wide dynamic ranges. We extend our analysis to the comparison of halo profiles and investigate the halo count as a function of local density. We introduce and discuss ParaView as a flexible analysis tool for cosmological simulations, the use of which immensely simplifies the code comparison task.
