Version françaiseFR



Authors: S. Fromang, P. Hennebelle, R. Teyssier; E. Dormy

The MHD solver is presented in the following papers:

  • R. Teyssier, S. Fromang and E. Dormy, "Kinematic Dynamos using Constrained Transport with High Order Godunov Schemes and Adaptive Mesh Refinement", Journal of Computational Physics, 2006, 218, 44 PDF

  • S. Fromang, P. Hennebelle and R. Teyssier, "A high order Godunov scheme with constrained transport and adaptive mesh refinement for astrophysical magnetohydrodynamics", Astronomy and Astrophysics, 2006, 457, 371 PDF

CeCILL software license

This software is governed by the CeCILL license under French law and abiding by the rules of distribution of free software. You can use, modify and/or redistribute the software under the terms of the CeCILL license as circulated by CEA, CNRS and INRIA (see ). As a counterpart to the access to the source code and rights to copy, modify and redistribute granted by the license, users are provided only with a limited warranty and the software's author, the holder of the economic rights, and the successive licensors have only limited liability. In this respect, the user's attention is drawn to the risks associated with loading, using, modifying and/or developing or reproducing the software by the user in light of its specific status of free software, that may mean that it is complicated to manipulate, and that also therefore means that it is reserved for developers and experienced professionals having in-depth IT knowledge. Users are therefore encouraged to load and test the software's suitability as regards their requirements in conditions enabling the security of their systems and/or data to be ensured and, more generally, to use and operate it in the same conditions as regards security. The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms

Hydro version

You need to download first the original RAMSES package, containing all MPI and AMR routines at COAST web pages.

MHD version

Once you have installed the RAMSES code, you can download the MHD routines in this tar file. You need to untar that file in your top directory. A new directory /mhd will be created in the /ramses tree, at the same level than the other (/hydro, /amr...). In order to compile the MHD version of RAMSES, you need to edit the Makefile in the /bin directory and set SOLVER=mhd.

Test suite

A test suite is available in this tar file. You can compile the corresponding patches in order to run the test cases and compare with the following results:

  • MHD Shock Tube


  • Magnetic Loop


    Magnetic energy density at time t=2 with lmin=5 and lmax=10


    Corresponding AMR grid at time t=2

  • Orszag Tang Vortex


    Density map at time t=0.5 with lmin=5 and lmax=9


    Corresponding AMR grid at time t=0.5

  • MHD Rotor


    Density map at time t=0.15 with lmin=5 and lmax=9


    Corresponding AMR grid at time t=0.15

  • Current Sheet


    Pressure at time t=2 with lmin=5 and lmax=9


    Corresponding AMR grid at time t=2

See also in the same topic