[Paper Review] COSMICS: Cosmological Initial Conditions and Microwave Anisotropy Codes
COSMICS is a FORTRAN-based cosmological simulation package that computes linear evolution of cosmic microwave background (CMB) anisotropies and matter transfer functions, and generates Gaussian random initial conditions for nonlinear structure formation simulations. It uses accurate solutions of the linearized Einstein-Boltzmann equations in conformal Newtonian and synchronous gauges, enabling high-precision CMB power spectra and matter power spectra with normalization via $Q_{\rm rms-PS}$ or $\sigma_8$. The key contribution is a portable, well-documented toolset for cosmological simulations with support for both standard and constrained initial conditions.
COSMICS is a package of fortran programs useful for computing transfer functions and microwave background anisotropy for cosmological models, and for generating gaussian random initial conditions for nonlinear structure formation simulations of such models. Four programs are provided: {\bf linger\_con} and {\bf linger\_syn} integrate the linearized equations of general relativity, matter, and radiation in conformal Newtonian and synchronous gauge, respectively; {\bf deltat} integrates the photon transfer functions computed by the linger codes to produce photon anisotropy power spectra; and {\bf grafic} tabulates normalized matter power spectra and produces constrained or unconstrained samples of the matter density field. Version 1.0 of COSMICS is available at http://arcturus.mit.edu/cosmics/ . The current release gives fortran-77 programs that run on workstations and vectorized supercomputers. Unix makefiles are included that make it simple to build and test the package. A future release will include portable parallel versions of the linger codes using standard message-passing libraries.
Motivation & Objective
- To provide a reliable, portable software package for computing linear cosmological perturbations in the context of structure formation.
- To enable accurate computation of microwave background anisotropy power spectra and matter transfer functions for comparison with observational data.
- To generate Gaussian random initial conditions with both unconstrained and constrained (Hoffman-Ribak) realizations for use in nonlinear structure formation simulations.
- To support normalization of the matter power spectrum via either the CMB quadrupole $Q_{\rm rms-PS}$ or the $\sigma_8$ mass fluctuation parameter.
- To facilitate future parallelization of the core codes using message-passing libraries for high-performance computing environments.
Proposed method
- The package uses two main solvers, `linger_con` and `linger_syn`, which integrate the linearized Einstein, Boltzmann, and fluid equations in conformal Newtonian and synchronous gauge, respectively.
- The `deltat` program computes the photon anisotropy power spectrum from the transfer functions produced by the `linger` codes.
- The `grafic` program tabulates the normalized matter power spectrum and generates 3D Gaussian random density, velocity, and displacement fields on a lattice using either transfer functions from `linger` or analytical fits.
- Initial conditions are generated with normalization specified by either $Q_{\rm rms-PS}$ or $\sigma_8$, with automatic conversion between the two.
- The code supports both unconstrained and constrained realizations of the density field using the Hoffman-Ribak algorithm to match observed large-scale structure.
- Binary output files (`delta.dat` and `p3m.dat`) are written in unformatted (binary) format for direct use in nonlinear simulation codes like P3M, with proper comoving and proper units.
Experimental results
Research questions
- RQ1How can accurate linear evolution of cosmological perturbations be computed for use in CMB and large-scale structure simulations?
- RQ2What is the most effective way to generate physically consistent Gaussian random initial conditions for nonlinear structure formation codes?
- RQ3How can the matter power spectrum be normalized consistently using either $Q_{\rm rms-PS}$ or $\sigma_8$?
- RQ4What are the computational trade-offs between high-accuracy full-solution codes and approximate methods in CMB anisotropy calculations?
- RQ5How can the code be made portable and scalable across workstations and vectorized supercomputers, with future support for distributed-memory parallelization?
Key findings
- The `linger` codes produce high-accuracy solutions of the linearized Einstein-Boltzmann system without significant approximations, requiring up to tens of Cray C90 hours for $l \leq 2000$.
- The `deltat` program computes CMB angular power spectra from the transfer functions with high precision, suitable for direct comparison with observations.
- The `grafic` program generates 3D Gaussian random fields with correct normalization, using either `linger`-computed transfer functions or analytical fits.
- Normalization of the matter power spectrum can be specified via $Q_{\rm rms-PS}$ or $\sigma_8$, with automatic conversion between the two parameters.
- The package produces binary output files (`delta.dat` and `p3m.dat`) containing density fluctuations and particle positions/velocities at expansion factor $a_{\rm start}$, with proper comoving and proper units.
- The code is portable across platforms, with Unix makefiles and support for both shared-memory (Cray C90) and future message-passing (MPI) parallelization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.