
A computational model that simulates the evolution of the universe on large scales.Cosmological simulations are computational models that recreate the evolution of the universe on large scales, from the Big Bang to the present day. They solve the equations of gravity and hydrodynamics for billions of particles, each representing a chunk of dark matter or gas, to see how cosmic structures like galaxies, clusters, and filaments emerge. These simulations are essential because the universe's evolution is too complex for analytical solutions — the interplay of gravity, expansion, and gas physics can only be explored numerically.
The first cosmological N-body simulations were performed in the 1970s by groups including Peebles and his collaborators, who simulated a few thousand particles to study galaxy clustering. The field grew rapidly with computing power, leading to the large 'Millennium' and 'Illustris' simulations in the 2000s and 2010s.
The simulation starts with a nearly uniform distribution of particles, seeded with tiny density fluctuations derived from observations of the cosmic microwave background. The code then steps forward in time, calculating gravitational forces between particles (often using tree or mesh methods for efficiency) and modeling gas dynamics, star formation, and feedback from supernovae and black holes. Modern simulations also include dark energy and neutrino physics, and some use machine learning to speed up the calculations or to emulate full simulations from smaller runs.
Cosmological simulations are used to interpret galaxy surveys, test models of dark matter and dark energy, and predict the distribution of matter for upcoming telescopes like Euclid or the Vera Rubin Observatory.
Some simulations now track the evolution of trillions of particles, and the data they produce can fill thousands of hard drives.























