A 3D staggered Lagrangian scheme for ideal magnetohydrodynamics on unstructured meshes
Xiao Xu
Graduate School of China Academy of Engineering Physics, Beijing, China
Search for more papers by this authorCorresponding Author
Zhiming Gao
Institute of Applied Physics and Computational Mathematics, Beijing, China
Zhiming Gao, Institute of Applied Physics and Computational Mathematics, Beijing 100088, China.
Email: [email protected]
Search for more papers by this authorZihuan Dai
Institute of Applied Physics and Computational Mathematics, Beijing, China
Search for more papers by this authorXiao Xu
Graduate School of China Academy of Engineering Physics, Beijing, China
Search for more papers by this authorCorresponding Author
Zhiming Gao
Institute of Applied Physics and Computational Mathematics, Beijing, China
Zhiming Gao, Institute of Applied Physics and Computational Mathematics, Beijing 100088, China.
Email: [email protected]
Search for more papers by this authorZihuan Dai
Institute of Applied Physics and Computational Mathematics, Beijing, China
Search for more papers by this authorSummary
In this paper, we propose a 3D staggered Lagrangian scheme for the ideal magnetohydrodynamics (MHD) on unstructured meshes. All the thermal variables and the magnetic induction are defined in the cell centers while the fluid velocity is located at the nodes. The meshes are compatibly discretized to ensure the geometric conservation laws in Lagrangian computation by the classical subcell method, then the momentum equation is discretized using the subcell forces and the specific internal energy equation is obtained by the total energy conservation. Invoking the Galilean invariance, magnetic flux conservation, and the thermodynamic consistency, the expressions of subcell force as well as the cell-centered velocity are derived. Besides, the magnetic divergence-free constraint is fulfilled by a projection method after each time step. Various numerical tests are presented to assert the robustness and accuracy of our scheme.
REFERENCES
- 1VonNeumann J, Richtmyer RD. A method for the numerical calculations of hydrodynamical shocks. J Appl Phys. 1950: 232-238.
- 2Wilkins ML. Methods in Computational Physics. Vol. 3. New York, NY:Academic Press; 1964.
- 3Caramana EJ, Burton DE, Shashkov MJ, Whalen PP. The construction of compatible hydrodynamics algorithms utilizing conservation of total energy. J Comput Phys. 1998; 146: 227-262.
- 4Caramana EJ, Shashkov MJ. Elimination of artificial grid distortion and hourglass-type motions by means of Lagrangian subzonal masses and pressures. J Comput Phys. 1998; 142: 521-561.
- 5Caramana EJ, Shashkov MJ, Whalen PP. Formulations of artificial viscosity for multidimensional shock wave computations. J Comput Phys. 1998; 144: 70-97.
- 6Campbell JC, Shashkov MJ. A tensor artificial viscosity using a mimetic finite difference algorithm. J Comput Phys. 2001; 172(4): 739-765.
- 7Kolev TV, Rieben RN. A tensor artificial viscosity using a finite element approach. J Comput Phys. 2009; 228(22): 8336-8366.
- 8Lipnikov K, Shashkov M. A mimetic tensor artificial viscosity method for arbitrary polyhedral meshes. Procedia Comput Sci. 2010; 1(1): 1921-1929.
10.1016/j.procs.2010.04.215 Google Scholar
- 9Maire PH, Loubère R, Váchal P. Staggered Lagrangian discretization based on cell-centered Riemann solver and associated hydrodynamics scheme. Commun Comput Phys. 2011; 10: 940-978.
- 10Loubère R, Maire PH, Vachal P. 3D staggered Lagrangian hydrodynamics scheme with cell-centered Riemann solver-based artificial viscosity. Int J Numer Meth Fluids. 2013; 72: 22-42.
- 11Stone JM, Norman ML. ZUES-2D: a radiation magnetohydrodynamics code for astrophysical flow in two space dimensions: the magnetohydrodynamics algorithms and tests. Astrophys J Suppl. 1992; 80: 791-818.
10.1086/191681 Google Scholar
- 12Stone JM, Gardiner TA, Teuben P, Hawley JF, Simon JB. Athena: a new code for astrophysical MHD. Astrophys J Suppl Ser. 2008; 178: 137-177.
- 13Boscheri W, Dumbser M. A direct Arbitrary-Lagrangian–Eulerian ADER-WENO finite volume scheme on unstructured tetrahedral meshes for conservative and non-conservative hyperbolic systems in 3D. J Comput Phys. 2014; 275: 484-523.
- 14Barlow AJ, Maire PH, Riderc WJ, Riebend RN, Shashkove MJ. Arbitrary Lagrangian-Eulerian methods for modeling high-speed compressible multimaterial flows. J Comput Phys. 2016; 322: 603-665.
- 15Tipton RE. 2D Lagrange MHD Code. Technical Report No. UCRL-94277. Livermore, CA: Lawrence Livermore National Laboratory; 1986.
- 16Dai W, Woodward PR. An approximate Riemann solver for ideal magnetohydrodynamics. J Comput Phys. 1994; 111: 354-372.
- 17Maire PH, Abgrall R, Breil J, Ovadia J. A cell-centered Lagrangian scheme for two-dimensional compressible flows problems. SIAM J Sci Comput. 2007; 29: 1782-1824.
- 18Georges G, Breil J, Maire PH. A 3D GCL compatible cell-centered Lagrangian scheme for solving gas dynamics equations. J Comput Phys. 2016; 305: 921-941.
- 19Boscheri W, Dumbser M, Balsara DS. High-order ADER-WENO ALE schemes on unstructured triangular meshes-application of several node solvers to hydrodynamics and magnetohydrodynamics. Int J Numer Meth Fluids. 2014; 76(10): 737-778.
- 20Xu X, Dai Z, Gao Z. A 3D cell-centered Lagrangian scheme for the ideal magnetohydrodynamics equations on unstructured meshes. Comput Methods Appl Mech Engrg. 2018; 342: 490-508.
- 21Brackbill JU, Barnes DC. The effect of nonzero ∇·B on the numerical solution of the magnetohydrodynamic equations. J Comput Phys. 1980; 35: 426-430.
- 22Powell KG. An Approximate Riemann Solver for Magnetohydrodynamics (That Works in More Than One Dimension). Technical Report (No. ICASE-94-24). Hampton, VA: NASA Langley Research Center; 1994.
- 23Dedner A, Kemm F, Kröner D, Munz CD, Schnitzera T, Wesenberga M. Hyperbolic divergence cleaning for the MHD equations. J Comput Phys. 2002; 175: 645-673.
- 24Evans CR, Hawley JF. Simulation of magnetohydrodynamic flows - a constrained transport method. Astrophys J. 1988; 332: 659-677.
- 25Tóth G. The ∇B = 0 constraint in shock-capturing magnetohydrodynamics codes. J Comput Phys. 2000; 161: 605-652.
- 26Boscheri W, Balsara DS, Dumbser M. Lagrangian ADER-WENO finite volume schemes on unstructured triangular meshes based on genuinely multidimensional HLL Riemann solvers. J Comput Phys. 2014; 267: 112-138.
- 27Brio M, Wu CC. An upwind difference scheme for the equations of ideal magnetohydrodynamics. J Comput Phys. 1988; 75: 400-422.
- 28Balsara DS, Spicer D. A staggered mesh algorithm using high order Godunov fluxes to ensure solenoidal magnetic fields in magnetohydrodynamic simulations. J Comput Phys. 1999; 149: 270-292.
- 29Wesenburg M. Efficient MHD Riemann solvers for simulations on unstructured triangular grids. J Numer Math. 2002; 10: 37-71.
- 30Gallice G. Positive and entropy stable Godunov-type schemes for gas dynamics and MHD equations in Lagrangian or Eulerian coordinates. Numer Math. 2003; 94: 673-713.
- 31Benson DJ. Computational methods in Lagrangian and Eulerian hydrocodes. Comput Method Appl Mech Eng. 1992; 99: 235-394.
- 32Maire PH, Nkonga B. Multi-scale Godunov-type method for cell-centered discrete Lagrangian hydrodynamics. J Comput Phys. 2008; 228: 799-821.
- 33Gao Z, Wu J. A linearity-preserving cell-centered scheme for the heterogeneous and anisotropic diffusion equations on general meshes. Int J Numer Meth Fluids. 2011; 67: 2157-2183.
- 34Scovazzi G. High order Lagrangian ADER–WENO schemes on unstructured meshes – application of several node solvers to hydrodynamics and magnetohydrodynamics. J Comput Phys. 2012; 231: 8029-8069.
- 35Gardiner TA, Stone JM. An unsplit Godunov method for ideal MHD via constrained transport. J Comput Phys. 2005; 205: 509-539.
- 36Balsara DS. Self-adjusting, positivity preserving high order schemes for hydrodynamics and magnetohydrodynamics. J Comput Phys. 2012; 231: 7504-7517.