Associated with the publication of "Smoothed Particle Hydrodynamics and Magnetohydrodynamics" in J. Comp. Phys., I made my "development" SPH code, NDSPMHD, public.
|ndspmhd-v2.1.tar.gz (143Kb)||The code||08/05/2015|
|ndspmhd-examples-v2.1.tar.gz (184Kb)||Exercises and examples associated with the code.||05/05/2015|
You will also want to download and install SPLASH to be able to look at the binary output files ("nsplash" reads this format). To correctly read and visualise the dust examples in ndspmhd v2.1 you will need v2.5.2 of SPLASH or later.
|NDSPMHD Documentation: home | installing | running the examples | basic tutorial | references|
Note, however, that ndspmhd is not meant as a "production" SPH code in 3D, since much better codes exist for this purpose (e.g. the GADGET code by Volker Springel, and my own PHANTOM code that can be made available on request). ndspmhd is not parallel nor particularly optimised and is meant as a code for algorithmic experimentation, not production runs.
The code is distributed under the GNU general public licence (v2.0). The only conditions of use aside from this are that you:
Bug reports and feedback are always appreciated.
ndspmhd was developed as part of my PhD research at the University of Cambridge from 2001-2004. It has been used in nearly every paper I have published since and contains complete working versions of most of the algorithms I have described in print.
The history of the public code is as follows: