A Divergence‐free Upwind Code for Multidimensional Magnetohydrodynamic Flows
- 10 December 1998
- journal article
- research article
- Published by American Astronomical Society in The Astrophysical Journal
- Vol. 509 (1) , 244-255
- https://doi.org/10.1086/306481
Abstract
A description is given for preserving ∇ = 0 in a magnetohydrodynamic (MHD) code that employs the upwind, total variation diminishing (TVD) scheme and Strang type operator splitting for multidimensionality. The method is based on the staggered mesh technique to constrain the transport of magnetic field: the magnetic field components are defined at grid interfaces with their advective fluxes on grid edges, while other quantities are defined at grid centers. The magnetic field at grid centers for the upwind step is calculated by interpolating the values from grid interfaces. The advective fluxes on grid edges for the magnetic field evolution are calculated from the upwind fluxes at grid interfaces. Then the magnetic field can be maintained with ∇ = 0 exactly, if this is so initially, while the upwind scheme is used for the update of fluid quantities. The correctness of the code is demonstrated through tests comparing numerical solutions either with analytic solutions or with numerical solutions from a code using an explicit divergence-cleaning method. Also, the robustness is shown through tests involving realistic astrophysical problems.Keywords
All Related Versions
This publication has 25 references indexed in Scilit:
- Effects of Cooling on the Propagation of Magnetized JetsThe Astrophysical Journal, 1998
- On the Divergence‐free Condition and Conservation Laws in Numerical Simulations for Supersonic Magnetohydrodynamical FlowsThe Astrophysical Journal, 1998
- The MHD Kelvin‐Helmholtz Instability. II. The Roles of Weak and Oblique Fields in Planar FlowsThe Astrophysical Journal, 1997
- The Magnetohydrodynamics of Supersonic Gas Clouds: MHD Cosmic Bullets and Wind‐swept ClumpsThe Astrophysical Journal, 1996
- The Magnetohydrodynamic Kelvin-Helmholtz Instability: A Two-dimensional Numerical StudyThe Astrophysical Journal, 1996
- Numerical Magnetohydrodynamics in Astrophysics: Algorithm and Tests for Multidimensional FlowThe Astrophysical Journal, 1995
- Numerical magetohydrodynamics in astrophysics: Algorithm and tests for one-dimensional flow`The Astrophysical Journal, 1995
- Numerical simulations of magnetized jetsThe Astrophysical Journal, 1989
- Numerical simulations of a magnetically confined jetThe Astrophysical Journal, 1986
- Small-scale structure of two-dimensional magnetohydrodynamic turbulenceJournal of Fluid Mechanics, 1979