PHANTOM: A smoothed particle hydrodynamics and magnetohydrodynamics code for astrophysics

Daniel J. Price, James Wurster, Terrence S. Tricco, Chris Nixon, Stéven Toupin, Alex Pettitt, Conrad Chan, Daniel Mentiplay, Guillaume Laibe, Simon Glover, Clare Dobbs, Rebecca Nealon, David Liptai, Hauke Worpel, Clément Bonnerot, Giovanni Dipierro, Giulia Ballabio, Enrico Ragusa, Christoph Federrath, Roberto IaconiThomas Reichardt, Duncan Forgan, Mark Hutchison, Thomas Constantino, Ben Ayliffe, Kieran Hirsh, Giuseppe Lodato

Research output: Contribution to journalArticlepeer-review

27 Citations (Scopus)


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
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