Phantom: a smoothed particle hydrodynamics and magnetohydrodynamics code for astrophysics

Daniel J. Price, J. Wurster, Terence S. Tricco, C. Nixon, S. Toupin, A. Pettitt, C. Chan, D. Mentiplay, G. Laibe, S. Glover, C. Dobbs, R. Nealon, D. Liptai, H. Worpel, C. Bonnerot, G. Dipierro, G. Ballabio, E. Ragusa, C. Federrath, R. IaconiT. Reichardt, D. Forgan, M. Hutchison, T. Constantino, B. Ayliffe, K. Hirsh, G. Lodato

Research output: Contribution to journalArticlepeer-review

26 Citations (Scopus)
1 Downloads (Pure)


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.
Original languageEnglish
Article numbere031
Pages (from-to)1-82
Number of pages82
JournalPublications of the Astronomical Society of Australia
Early online date25 Sept 2018
Publication statusPublished - 2018


  • Accretion
  • Accretion disks
  • Hydrodynamics
  • ISM: general
  • Magnetohydrodynamics (MHD)
  • Methods: numerical


Dive into the research topics of 'Phantom: a smoothed particle hydrodynamics and magnetohydrodynamics code for astrophysics'. Together they form a unique fingerprint.

Cite this