Simulating gravitational motion, gas dynamics, and structure in the cosmos
J. W. PowellL. CaudillO. Young
J. W. Powell
L. Caudill
O. Young
+3
We present an introductory overview of the N-body hydrodynamics code ChaNGa, which simulates gravitational motion and gas dynamics to model galactic and cosmological structure and evolution. The core algorithmic contributions are leapfrog integration and smoothed particle hydrodynamics (SPH), implemented with a binary tree data structure for particle positions. The exposition, drawn from the doctoral dissertation of J. G. Stadel, aims to help readers learn or solidify cosmological concepts through accompanying problems.

arXiv ·
· February 3, 2023