Energy-conserving finite difference scheme for compressible magnetohydrodynamic flow at low Mach numbers using nonconservative Lorentz force
Hideki Yanaoka
TL;DR
This work develops an energy-conserving finite-difference framework for compressible MHD at low Mach numbers that employs a nonconservative Lorentz force while preserving the ability to transform between conservative and nonconservative forms. The method uses a spatiotemporal staggered grid and implicit midpoint time integration with simultaneous relaxation to achieve discrete conservation of momentum, magnetic flux, and total energy, as well as discrete satisfaction of Gauss's law for magnetism. By deriving discrete forms for the magnetic energy and magnetic helicity, the approach robustly captures energy exchange between the velocity and magnetic fields across a range of Mach numbers, including the incompressible limit. Verification across inviscid, magnetized vortex, Taylor decaying vortex, and Orszag–Tang vortex problems demonstrates accurate energy budgeting, second-order spatial accuracy, and stability on both uniform and nonuniform grids, with potential for applications in low-Mach MHD control and design.
Abstract
In magnetohydrodynamic (MHD) flows, incompressibility is assumed for low Mach numbers. However, even at low Mach numbers, the Mach number influences flow and magnetic fields. Therefore, it is necessary to develop a method that can stably analyze low Mach number compressible MHD flows without using the incompressible assumption. This study constructs an energy-conserving finite difference method to analyze compressible MHD flows at low Mach numbers with the nonconservative Lorentz force. This analysis method discretizes the Lorentz force so that the transformation between conservative and nonconservative forms holds. This scheme simultaneously relaxes velocity, pressure, density, and internal energy, and stable convergence solutions can be obtained. In this study, we analyze four types of models and verify the accuracy and convergence of this numerical method. In the analyses of two- and three-dimensional ideal periodic inviscid MHD flows, it is clarified that momentum, magnetic flux density, and total energy are conserved discretely. The total energy is conserved even in a nonuniform grid. Even without correction for the magnetic flux density, the divergence-free condition of the magnetic flux density is satisfied discretely. Analysis of a Taylor decaying vortex under a magnetic field clarifies that the present numerical method can be applied to incompressible flows and can accurately predict the trend of energy attenuation. In the Orszag-Tang vortex analysis, an increase in Mach number reduces the magnitude of vorticity and current density. In addition, compression work increases more than expansion work, and the influence of compressibility appears. An increase in Mach number slightly delays the transition to turbulent flow. This numerical method has excellent energy conservation properties and can accurately predict energy conversion.
