CAFE: A New Relativistic MHD Code
Abstract
We introduce CAFE, a new independent code designed to solve the equations of relativistic ideal magnetohydrodynamics (RMHD) in three dimensions. We present the standard tests for an RMHD code and for the relativistic hydrodynamics regime because we have not reported them before. The tests include the one-dimensional Riemann problems related to blast waves, head-on collisions of streams, and states with transverse velocities, with and without magnetic field, which is aligned or transverse, constant or discontinuous across the initial discontinuity. Among the two-dimensional (2D) and 3D tests without magnetic field, we include the 2D Riemann problem, a one-dimensional shock tube along a diagonal, the high-speed Emery wind tunnel, the Kelvin-Helmholtz (KH) instability, a set of jets, and a 3D spherical blast wave, whereas in the presence of a magnetic field we show the magnetic rotor, the cylindrical explosion, a case of Kelvin-Helmholtz instability, and a 3D magnetic field advection loop. The code uses high-resolution shock-capturing methods, and we present the error analysis for a combination that uses the Harten, Lax, van Leer, and Einfeldt (HLLE) flux formula combined with a linear, piecewise parabolic method and fifth-order weighted essentially nonoscillatory reconstructors. We use the flux-constrained transport and the divergence cleaning methods to control the divergence-free magnetic field constraint.
- Publication:
-
The Astrophysical Journal Supplement Series
- Pub Date:
- June 2015
- DOI:
- 10.1088/0067-0049/218/2/24
- arXiv:
- arXiv:1408.5846
- Bibcode:
- 2015ApJS..218...24L
- Keywords:
-
- magnetohydrodynamics: MHD;
- methods: numerical;
- relativistic processes;
- General Relativity and Quantum Cosmology;
- Astrophysics - High Energy Astrophysical Phenomena
- E-Print:
- 30 pages, 110 png figures, 4 tables. Accepted for publication in the Astrophysical Journal Supplement. More numerical details, tests and additional references