The Snoopy code

The snoopy code is a spectral 3D code, solving the MHD/Boussinesq equations and including various physical effects (incompressibility, particles, Braginskii viscosity, etc). This code is very useful for turbulence study involving shear and rotation, as in many astrophysical objects. All the simulations presented in these pages have been done using this code and doing the visualization with Paraview. You can download the code and its documentation (still not complete) on this page. Have fun!

Before you start

The Snoopy code requires the FFTW library version 3, available for free on This library is easy to install, and is often already installed in many clusters and linux distributions. Check your configuration!


The snoopy code (sources). V6.0 (release 30/03/2011)
Documentation (compressed tar file)
Online documentation (html)


Snoopy code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The Snoopy code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.