Phantom: A Smoothed Particle Hydrodynamics and Magnetohydrodynamics Code for Astrophysics
Abstract
We present Phantom, a fast, parallel, modular, and low-memory smoothed particle hydrodynamics and magnetohydrodynamics code developed over the last decade for astrophysical applications in three dimensions. The code has been developed with a focus on stellar, galactic, planetary, and high energy astrophysics, and has already been used widely for studies of accretion discs and turbulence, from the birth of planets to how black holes accrete. Here we describe and test the core algorithms as well as modules for magnetohydrodynamics, self-gravity, sink particles, dust-gas mixtures, H2 chemistry, physical viscosity, external forces including numerous galactic potentials, Lense-Thirring precession, Poynting-Robertson drag, and stochastic turbulent driving. Phantom is hereby made publicly available.
- Publication:
-
Publications of the Astronomical Society of Australia
- Pub Date:
- September 2018
- DOI:
- arXiv:
- arXiv:1702.03930
- Bibcode:
- 2018PASA...35...31P
- Keywords:
-
- accretion;
- accretion disks;
- hydrodynamics;
- ISM: general;
- magnetohydrodynamics (MHD);
- methods: numerical;
- Astrophysics - Instrumentation and Methods for Astrophysics;
- Astrophysics - Earth and Planetary Astrophysics;
- Astrophysics - Astrophysics of Galaxies;
- Astrophysics - High Energy Astrophysical Phenomena;
- Astrophysics - Solar and Stellar Astrophysics
- E-Print:
- 88 pages, 60 figures, accepted to PASA. Code available from https://phantomsph.bitbucket.io/