NGenIC is an initial conditions code for cosmological structure formation that can be used to set-up random N-body realizations of Gaussian random fields with a prescribed power spectrum in a homogeneously sampled periodic box. The code creates cosmological initial conditions based on the Zeldovich approximation, in a format directly compatible with GADGET or AREPO. For the unperturbed particle load, either Cartesian grids or a so-called glass distributions can be used. A deconvolution to compensate for interpolation smoothing can be enabled of desired. The initial power spectrum can be specified through different analytic fitting functions or through a table computed with a Boltzmann code like CAMB or CMBFAST. If desired, gas particles can be added in the initial conditions. The original form of this IC generator has been written several years back (2003) by Volker Springel. The code is MPI-parallel and suitable for creating very large initial conditions, if desired.
NGenIC has for example been used to create the initial conditions for the Millennium and Millennium-XXL projects (among many others), described in these publications, which may also serve as a reference to the code:
You may download the N-GenIC code as a compressed tar-file:
n-genic.tar.gz (~0.03 MB)
Please consult to the enclosed README file for instructions on how to use it. Note: An extension of this code that uses second-order Lagrangian Perturbation Theory (2LPT) to improve upon the Zeldovich approximation has been developed by Sebastian Pueblas, Roman Scoccimarro and collaborators and can be obtained from this site.
The Heidelberg Institute for Theoretical Studies (HITS) was established in 2010 by the physicist and SAP co-founder Klaus Tschira (1940-2015) and the Klaus Tschira Foundation as a private, non-profit research institute. HITS conducts basic research in the natural sciences, mathematics and computer science, with a focus on the processing, structuring, and analyzing of large amounts of complex data and the development of computational methods and software. The research fields range from molecular biology to astrophysics. The shareholders of HITS are the HITS-Stiftung, which is a subsidiary of the Klaus Tschira Foundation, Heidelberg University and the Karlsruhe Institute of Technology (KIT). HITS also cooperates with other universities and research institutes and with industrial partners. The base funding of HITS is provided by the HITS Stiftung with funds received from the Klaus Tschira Foundation. The primary external funding agencies are the Federal Ministry of Education and Research (BMBF), the German Research Foundation (DFG), and the European Union.