arXiv · 2302.01895
Simulating gravitational motion, gas dynamics, and structure in the cosmos
Abstract
We provide introductory explanations and illustrations of the $N$-body hydrodynamics code Charm N-body GrAvity solver (ChaNGa). ChaNGa simulates the gravitational motion and gas dynamics of matter in space, with the goal of modeling galactic and/or cosmological structure and evolution. We discuss the algorithm for leapfrog integration and smoothed particle hydrodynamics and computer science concepts used by the program, including the binary data structure for the particle positions. Our presentation borrows from the doctoral dissertation of J.\ G.\ Stadel. Problems are provided in order to use ChaNGa to learn or solidify some cosmological concepts.
Explore related subjects
Keep this discovery
J. W. Powell, L. Caudill, O. Young. 2023-02-03. Simulating gravitational motion, gas dynamics, and structure in the cosmos. https://doi.org/10.1119/5.0144906
Cite the original work for its findings. Save a collection to share your selection of sources.