magma: a three-dimensional, Lagrangian magnetohydrodynamics code for merger applications. We present a new, completely Lagrangian magnetohydrodynamics (MHD) code that is based on the smoothed particle hydrodynamics (SPH) method. The equations of self-gravitating hydrodynamics are derived self-consistently from a Lagrangian and account for variable smoothing length (‘grad-h’) terms in both the hydrodynamic and the gravitational acceleration equations. The evolution of the magnetic field is formulated in terms of so-called Euler potentials which are advected with the fluid and thus guarantee the MHD flux-freezing condition. This formulation is equivalent to a vector potential approach and therefore fulfils the ∇·B= 0 constraint by construction. Extensive tests in one, two and three dimensions are presented. The tests demonstrate the excellent conservation properties of the code and show the clear superiority of the Euler potentials over earlier magnetic SPH formulations.
Keywords for this software
References in zbMATH (referenced in 4 articles )
Showing results 1 to 4 of 4.
- Sagert, Irina; Bauer, Wolfgang; Colbry, Dirk; Howell, Jim; Pickett, Rodney; Staber, Alec; Strother, Terrance: Hydrodynamic shock wave studies within a kinetic Monte Carlo approach (2014)
- Price, Daniel J.: Smoothed particle hydrodynamics and magnetohydrodynamics (2012)
- Price, Daniel J.: Modelling discontinuities and Kelvin-Helmholtz instabilities in SPH (2008)
- Rosswog, Stephan; Price, Daniel: 3D meshfree magnetohydrodynamics (2008)