Tags
SPH
https://github.com/PhilJCarter/gadget2-planetary/tree/main
This GitHub repo (with Zenodo DOI link above) includes all the steps for initializing planets and a collision simulation and a script to pull out the extra material variables at the end that are not needed during runtime.