Skip to main content

Research Repository

Advanced Search

GRAMSES: a new route to general relativistic $N$-body simulations in cosmology. Part II. Initial conditions

Barrera-Hinojosa, Cristian; Li, Baojiu

GRAMSES: a new route to general relativistic $N$-body simulations in cosmology. Part II. Initial conditions Thumbnail


Cristian Barrera-Hinojosa


We address the generation of initial conditions (ICs) for {\sc gramses}, a code for nonlinear general relativistic (GR) N-body cosmological simulations recently introduced in ref. [1]. {\sc gramses} adopts a constant mean curvature slicing with a minimal distortion gauge, where the linear growth rate is scale-dependent, and the standard method for realising initial particle data is not straightforwardly applicable. A new method is introduced, in which the initial positions of particles are generated from the displacement field realised for a matter power spectrum as usual, but the velocity is calculated by finite-differencing the displacement fields around the initial redshift. In this way, all the information required for setting up the initial conditions is drawn from three consecutive input matter power spectra, and additional assumptions such as scale-independence of the linear growth factor and growth rate are not needed. We implement this method in a modified {\sc 2LPTic} code, and demonstrate that in a Newtonian setting it can reproduce the velocity field given by the default {\sc 2LPTic} code with subpercent accuracy. We also show that the matter and velocity power spectra of the initial particle data generated for {\sc gramses} simulations using this method agree very well with the linear-theory predictions in the particular gauge used by {\sc gramses}. Finally, we discuss corrections to the finite difference calculation of the velocity when radiation is present, as well as additional corrections implemented in {\sc gramses} to ensure consistency. This method can be applied in ICs generation for GR simulations in generic gauges, and simulations of cosmological models with scale-dependent linear growth rate.

Journal Article Type Article
Acceptance Date Apr 6, 2020
Online Publication Date Apr 30, 2020
Publication Date Apr 30, 2020
Deposit Date Jan 23, 2020
Publicly Available Date Apr 30, 2021
Journal Journal of Cosmology and Astroparticle Physics
Publisher IOP Publishing
Peer Reviewed Peer Reviewed
Volume 2020
Issue 4
Article Number 056
Public URL
Related Public URLs


Accepted Journal Article (1.2 Mb)

Copyright Statement
The deposited manuscript is available under a CC BY-NC-ND 4.0 licence.

You might also like

Downloadable Citations