# Phantom: A Smoothed Particle Hydrodynamics and Magnetohydrodynamics Code for Astrophysics

@article{Price2018PhantomAS, title={Phantom: A Smoothed Particle Hydrodynamics and Magnetohydrodynamics Code for Astrophysics}, author={Daniel J. Price and James Wurster and Terrence S. Tricco and Chris Nixon and St{\'e}ven Toupin and Alex R. Pettitt and Conrad Chan and Daniel Mentiplay and Guillaume Laibe and Simon C. O. Glover and Clare L. Dobbs and Rebecca Nealon and David Liptai and Hauke Worpel and Cl{\'e}ment Bonnerot and Giovanni Dipierro and Giulia Ballabio and Enrico Ragusa and Christoph Federrath and Roberto Iaconi and Thomas A Reichardt and Duncan H. Forgan and Mark Hutchison and Thomas N. Constantino and Ben A. Ayliffe and Kieran Hirsh and Giuseppe Lodato}, journal={Publications of the Astronomical Society of Australia}, year={2018}, volume={35} }

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…

## 194 Citations

### General relativistic smoothed particle hydrodynamics

- PhysicsMonthly Notices of the Royal Astronomical Society
- 2019

We present a method for general relativistic smoothed particle hydrodynamics (GRSPH), based on an entropy-conservative form of the general relativistic hydrodynamic equations for a perfect fluid. We…

### Axisymmetric smoothed particle magneto-hydrodynamics

- Physics
- 2022

Many astrophysical and terrestrial scenarios involving magnetic fields can be approached in axial geometry. Although the smoothed particle hydrodynamics (SPH) technique has been successfully…

### Numerical Methods for Simulating Star Formation

- PhysicsFront. Astron. Space Sci.
- 2019

We review the numerical techniques for ideal and non-ideal magneto-hydrodynamics (MHD) used in the context of star formation simulations. We outline the specific challenges offered by modelling star…

### Simulating galactic dust grain evolution on a moving mesh

- Physics
- 2018

Interstellar dust is an important component of the galactic ecosystem, playing a key role in multiple galaxy formation processes. We present a novel numerical framework for the dynamics and size…

### Axisymmetric magneto-hydrodynamics with SPH

- Physics
- 2022

—Many interesting terrestrial and astrophysical sce- narios involving magnetic ﬁelds can be approached in axial geometry. Even though the Lagrangian smoothed particle hy- drodynamics (SPH) technique…

### A smoothed particle hydrodynamics algorithm for multigrain dust with separate sets of particles

- Geology, Physics
- 2020

We present a method for simulating the dynamics of a mixture of gas and multiple species of large Stokes number dust grains, typical of evolved protoplanetary discs and debris discs. The method…

### Planet migration, resonant locking, and accretion streams in PDS 70: comparing models and data

- Physics, Geology
- 2020

The disc surrounding PDS 70, with two directly imaged embedded giant planets, is an ideal laboratory to study planet-disc interaction. We present three-dimensional smoothed particle hydrodynamics…

### Smoothed particle radiation hydrodynamics: two-moment method with local Eddington tensor closure

- Physics
- 2021

We present a new radiative transfer method (SPH-M1RT) that is coupled dynamically with smoothed particle hydrodynamics (SPH). We implement it in the (task-based parallel) SWIFT galaxy simulation code…

### Two-fluid dusty gas in smoothed particle hydrodynamics: Fast and implicit algorithm for stiff linear drag

- PhysicsAstron. Comput.
- 2018

### Conservation of Angular Momentum in the Fast Multipole Method

- Physics
- 2021

Smoothed particle hydrodynamics (SPH) is positioned as having ideal conservation properties. When properly implemented, conservation of total mass, energy, and both linear and angular momentum is…

## References

SHOWING 1-10 OF 297 REFERENCES

### Smoothed Particle Hydrodynamics in Astrophysics

- Physics
- 2010

This review discusses smoothed particle hydrodynamics (SPH) in the astrophysical context, with a focus on inviscid gas dynamics. The particle-based SPH technique allows an intuitive and simple…

### magma: a three-dimensional, Lagrangian magnetohydrodynamics code for merger applications

- Physics
- 2007

We present a new, completely Lagrangian magnetohydrodynamics (MHD) code that is based on the smoothed particle hydrodynamics (SPH) method. The equations of self-gravitating hydrodynamics are derived…

### nIFTy galaxy cluster simulations – I. Dark matter and non-radiative models

- Physics
- 2016

We have simulated the formation of a galaxy cluster in a Ʌ cold dark matter universe using 13 different codes modelling only gravity and non-radiative hydrodynamics (RAMSES, ART, AREPO, HYDRA and…

### Physical viscosity in smoothed particle hydrodynamics simulations of galaxy clusters

- Physics
- 2006

Most hydrodynamical simulations of galaxy cluster formation carried out to date have tried to model the cosmic gas as an ideal, inviscid fluid, where only a small amount of (unwanted) numerical…

### An improved SPH scheme for cosmological simulations

- Physics
- 2015

We present an implementation of smoothed particle hydrodynamics (SPH) with improved accuracy for simulations of galaxies and the large-scale structure. In particular, we implement and test a vast…

### Ambipolar diffusion in smoothed particle magnetohydrodynamics

- Physics
- 2014

In partially ionised plasmas, the magnetic field can become decoupled from the neutral gas and diffuse through it in a process known as ambipolar diffusion. Although ambipolar diffusion has been…

### Smoothed Particle Magnetohydrodynamics – I. Algorithm and tests in one dimension

- Mathematics
- 2004

In this paper we show how the Smoothed Particle Hydrodynamics (SPH) equations for ideal Magnetohydrodynamics (MHD) can be written in conservation form with the positivity of the dissipation…

### Turbulent gas motions in galaxy cluster simulations: the role of smoothed particle hydrodynamics viscosity

- Physics
- 2005

Smoothed particle hydrodynamics (SPH) employs an artificial viscosity to properly capture hydrodynamic shock waves. In its original formulation, the resulting numerical viscosity is large enough to…

### Resolution requirements for smoothed particle hydrodynamics calculations with self-gravity

- Physics
- 1997

We determine a new resolution requirement for the smoothed particle hydrodynamics (SPH) numerical method when self-gravity is included. Comparison calculations between an SPH code and an Eulerian…

### MODELING COLLAPSE AND ACCRETION IN TURBULENT GAS CLOUDS: IMPLEMENTATION AND COMPARISON OF SINK PARTICLES IN AMR AND SPH

- Physics, Geology
- 2010

Star formation is such a complex process that accurate numerical tools are needed to quantitatively examine the mass distribution and accretion of fragments in collapsing, turbulent, magnetized gas…