Phantom logo

PHANTOM: A smoothed particle hydrodynamics and magnetohydrodynamics code for astrophysics

About

Phantom is 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.

Core values

Open

Phantom is free to use, download and redistribute under the terms of the GPLv3 license. We also welcome contributions to the code via the bitbucket repo. Just get in touch!

Modular

Phantom is built in small, re-usable modules, making it easy to add new physics to the code.

Modern

All modules are written in modern Fortran and we enforce strict adherence to the very latest Fortran standards.

Lean

We strive for a low memory, high performance code with as few options as possible. It should "just work". Phantom is not a code for testing algorithms, it is a "take the best and make it run fast" production code for astrophysical simulations.

Tested

Phantom contains a comprehensive testsuite that runs nightly. We strive to continually increase the scope of the tests to cover every aspect of the code.

Re-useable

We aim to never repeat code.

Download

Phantom is free and open source, and may be obtained either by downloading a stable release tarball, or from the git repo. All we ask is that you cite the Phantom paper and other relevant methods papers in scientific publications and keep the name "Phantom" in derivative works so as not to misrepresent the code as your own. We also welcome and encourage contributions to the master code rather than ending up with many divergent copies.

Stable code releases

DateFileSizechecksumgit sha
14/2/2017phantom-v0.9.tar.gz16Mbsha256cf3f7fcrelease notes

Documentation

Documentation is maintained on the wiki

Subscribe

The easiest way to keep up with Phantom developments, get in touch with the developers or get help on newbie issues is to join the phantom slack channel. Otherwise, you can subscribe to the mailing lists as follows:

Phantom-announce is a low traffic read-only list for release announcements:

Subscribe to Phantom announcements
Visit this group

Phantom-users is the user forum (you can also email directly, but I will in general cc. my responses to the users list for posterity):

Subscribe to Phantom users list
Visit this group

Contribute

We welcome and encourage contributions to Phantom development. Just get in touch.

Meet the team

Lead Developer

Daniel Price

Phantom area leads

MHD — Terrence Tricco

Non-ideal MHD — James Wurster

ISM chemistry, cooling — Alex Pettitt

Phantom council

Daniel Price

Giuseppe Lodato

Guillaume Laibe

Chris Nixon

Clare Dobbs