Cosmological N-Body Initial Condition Maker

Version 1.0.01 (2.68 KB) by Gatech AE
Given a power spectrum, generate the 3D coordinates for a lattice of perturbed particles and their velocities.
29 Downloads
Updated 17 Dec 2019

View License

For computational cosmology and N-Body simulations that want a MATLAB initial condition generator. Given the number of softwares, no particular parameter file is generated other than two saved MAT files for position and velocity in cgs unit system.

Cosmological parameters used from
"Planck 2018 results. VI. Cosmological parameters"
https://arxiv.org/abs/1807.06209

Practical Zel'Dovich Approximation from
Brian W. O'Shea (April 15, 2003)
University of California San Diego
https://enzo.readthedocs.io/en/enzo-2.1.0/_downloads/makeics.ps

Default Analytic Power Spectrum from
"The Statistics of Peaks of Gaussian Random Fields" (Bardeen et al 1986)
https://ui.adsabs.harvard.edu/abs/1986ApJ...304...15B/abstract

Cite As

Gatech AE (2024). Cosmological N-Body Initial Condition Maker (https://www.mathworks.com/matlabcentral/fileexchange/73712-cosmological-n-body-initial-condition-maker), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Thermal Analysis in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.01

Added Image

1.0.0