Skip to main content
Log in

Globally Divergence-Free Discontinuous Galerkin Methods for Ideal Magnetohydrodynamic Equations

  • Published:
Journal of Scientific Computing Aims and scope Submit manuscript

Abstract

Ideal magnetohydrodynamic (MHD) equations are widely used in many areas in physics and engineering, and these equations have a divergence-free constraint on the magnetic field. In this paper, we propose high order globally divergence-free numerical methods to solve the ideal MHD equations. The algorithms are based on discontinuous Galerkin methods in space. The induction equation is discretized separately to approximate the normal components of the magnetic field on elements interfaces, and to extract additional information about the magnetic field when higher order accuracy is desired. This is then followed by an element by element reconstruction to obtain the globally divergence-free magnetic field. In time, strong-stability-preserving Runge–Kutta methods are applied. In consideration of accuracy and stability of the methods, a careful investigation is carried out, both numerically and analytically, to study the choices of the numerical fluxes associated with the electric field at element interfaces and vertices. The resulting methods are local and the approximated magnetic fields are globally divergence-free. Numerical examples are presented to demonstrate the accuracy and robustness of the methods.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17

Similar content being viewed by others

References

  1. Balsara, D.S.: Divergence-free adaptive mesh refinement for magnetohydrodynamics. J. Comput. Phys. 174(2), 614–648 (2001)

    Article  MathSciNet  Google Scholar 

  2. Balsara, D.S.: Second-order-accurate schemes for magnetohydrodynamics with divergence-free reconstruction. Astrophys. J. Suppl. Ser. 151(1), 149–184 (2004)

    Article  Google Scholar 

  3. Balsara, D.S.: Divergence-free reconstruction of magnetic fields and WENO schemes for magnetohydrodynamics. J. Comput. Phys. 228(14), 5040–5056 (2009)

    Article  MathSciNet  Google Scholar 

  4. Balsara, D.S.: Multidimensional HLLE Riemann solver: application to Euler and magnetohydrodynamic flows. J. Comput. Phys. 229(6), 1970–1993 (2010)

    Article  MathSciNet  Google Scholar 

  5. Balsara, D.S., Dumbser, M.: Divergence-free MHD on unstructured meshes using high order finite volume schemes based on multidimensional Riemann solvers. J. Comput. Phys. 299, 687–715 (2015)

    Article  MathSciNet  Google Scholar 

  6. Balsara, D.S., Dumbser, M., Abgrall, R.: Multidimensional HLLC Riemann solver for unstructured meshes with application to Euler and MHD flows. J. Comput. Phys. 261, 172–208 (2014)

    Article  MathSciNet  Google Scholar 

  7. Balsara, D.S., Käppeli, R.: Von Neumann stability analysis of globally divergence-free RKDG schemes for the induction equation using multidimensional Riemann solvers. J. Comput. Phys. 336, 104–127 (2017)

    Article  MathSciNet  Google Scholar 

  8. Balsara, D.S., Spicer, D.S.: A staggered mesh algorithm using high order Godunov fluxes to ensure solenoidal magnetic fields in magnetohydrodynamic simulations. J. Comput. Phys. 149(2), 270–292 (1999)

    Article  MathSciNet  Google Scholar 

  9. Brackbill, J., Barnes, D.: The effect of nonzero \(\nabla \cdot \mathbf{B}\) on the numerical solution of the magnetohydrodynamic equations. J. Comput. Phys. 35(3), 426–430 (1980)

    Article  MathSciNet  Google Scholar 

  10. Brezzi, F., Douglas, J., Marini, L.D.: Two families of mixed finite elements for second order elliptic problems. Numer. Math. 47(2), 217–235 (1985)

    Article  MathSciNet  Google Scholar 

  11. Brezzi, F., Fortin, M., Marini, L.D., et al.: Efficient rectangular mixed finite elements in two and three space variables. ESAIM Math. Model. Numer. Anal. 21(4), 581–604 (1987)

    Article  MathSciNet  Google Scholar 

  12. Cheng, Y., Li, F., Qiu, J., Xu, L.: Positivity-preserving DG and central DG methods for ideal MHD equations. J. Comput. Phys. 238, 255–280 (2013)

    Article  MathSciNet  Google Scholar 

  13. Cockburn, B., Hou, S., Shu, C.-W.: The Runge-Kutta local projection discontinuous Galerkin finite element method for conservation laws. IV. The multidimensional case. Math. Comput. 54(190), 545–581 (1990)

    MathSciNet  MATH  Google Scholar 

  14. Cockburn, B., Lin, S.-Y., Shu, C.-W.: TVB Runge–Kutta local projection discontinuous Galerkin finite element method for conservation laws III: one-dimensional systems. J. Comput. Phys. 84(1), 90–113 (1989)

    Article  MathSciNet  Google Scholar 

  15. Cockburn, B., Shu, C.-W.: TVB Runge–Kutta local projection discontinuous Galerkin finite element method for conservation laws. II. General framework. Math. Comput. 52(186), 411–435 (1989)

    MathSciNet  MATH  Google Scholar 

  16. Cockburn, B., Shu, C.-W.: The Runge–Kutta discontinuous Galerkin method for conservation laws V: multidimensional systems. J. Comput. Phys. 141(2), 199–224 (1998)

    Article  MathSciNet  Google Scholar 

  17. Dai, W., Woodward, P.R.: A simple finite difference scheme for multidimensional magnetohydrodynamical equations. J. Comput. Phys. 142(2), 331–369 (1998)

    Article  MathSciNet  Google Scholar 

  18. Dedner, A., Kemm, F., Kröner, D., Munz, C.D., Schnitzer, T., Wesenberg, M.: Hyperbolic divergence cleaning for the MHD equations. J. Comput. Phys. 175(2), 645–673 (2002)

    Article  MathSciNet  Google Scholar 

  19. Evans, C.R., Hawley, J.F.: Simulation of magnetohydrodynamic flows: a constrained transport method. Astrophys. J. 332, 659–677 (1988)

    Article  Google Scholar 

  20. Gardiner, T.A., Stone, J.M.: An unsplit Godunov method for ideal MHD via constrained transport. J. Comput. Phys. 205(2), 509–539 (2005)

    Article  MathSciNet  Google Scholar 

  21. Gottlieb, S., Shu, C.-W., Tadmor, E.: Strong stability-preserving high-order time discretization methods. SIAM Rev. 43(1), 89–112 (2001)

    Article  MathSciNet  Google Scholar 

  22. Hesthaven, J.S., Warburton, T.: Nodal Discontinuous Galerkin Methods: Algorithms, Analysis, and Applications. Springer, Berlin (2007)

    MATH  Google Scholar 

  23. Jiang, G.-S., Wu, C.: A high-order WENO finite difference scheme for the equations of ideal magnetohydrodynamics. J. Comput. Phys. 150(2), 561–594 (1999)

    Article  MathSciNet  Google Scholar 

  24. Li, B.Q.: Discontinuous Finite Elements in Fluid Dynamics and Heat Transfer. Springer, Berlin (2005)

    Google Scholar 

  25. Li, F., Shu, C.-W.: Locally divergence-free discontinuous Galerkin methods for MHD equations. J. Sci. Comput. 22(1), 413–442 (2005)

    Article  MathSciNet  Google Scholar 

  26. Li, F., Xu, L.: Arbitrary order exactly divergence-free central discontinuous Galerkin methods for ideal MHD equations. J. Comput. Phys. 231(6), 2655–2675 (2012)

    Article  MathSciNet  Google Scholar 

  27. Li, F., Xu, L., Yakovlev, S.: Central discontinuous Galerkin methods for ideal MHD equations with the exactly divergence-free magnetic field. J. Comput. Phys. 230(12), 4828–4847 (2011)

    Article  MathSciNet  Google Scholar 

  28. Li, S.: High order central scheme on overlapping cells for magneto-hydrodynamic flows with and without constrained transport method. J. Comput. Phys. 227(15), 7368–7393 (2008)

    Article  MathSciNet  Google Scholar 

  29. Li, S.: A fourth-order divergence-free method for MHD flows. J. Comput. Phys. 229(20), 7893–7910 (2010)

    Article  MathSciNet  Google Scholar 

  30. Powell, K.G.: An Approximate Riemann Solver for Magnetohydrodynamics (that works in more than one dimension). ICASE report No. 94-24, Langley (1994)

  31. Qiu, J., Shu, C.-W.: Runge–Kutta discontinuous Galerkin method using WENO limiters. SIAM J. Sci. Comput. 26(3), 907–929 (2005)

    Article  MathSciNet  Google Scholar 

  32. Raviart, P.A., Thomas, J.M.: A mixed finite element method for 2-nd order elliptic problems. In: Dold, A., Eckmann, B. (eds.) Mathematical Aspects of Finite Element Methods. Proceedings of the Conference Held in Rome, 10-12 Dec, 1975. Lecture Notes in Mathematics, vol. 606 (1977). Springer, Berlin, Heidelberg (1977)

    Google Scholar 

  33. Reed, W. H., Hill, T. R.: Triangular Mesh Methods for the Neutron Transport Equation, Technical Report LA-UR-73-479. Los Alamos Scientific Laboratory (1973)

  34. Riviere, B.: Discontinuous Galerkin Methods for Solving Elliptic and Parabolic Equations: Theory and Implementation. SIAM, Philadelphia (2008)

    Book  Google Scholar 

  35. Rossmanith, J. A.: High-order discontinuous Galerkin finite element methods with globally divergence-free constrained transport for ideal MHD. arXiv preprint arXiv:1310.4251, (2013)

  36. Shu, C.-W.: TVB uniformly high-order schemes for conservation laws. Math. Comput. 49(179), 105–121 (1987)

    Article  MathSciNet  Google Scholar 

  37. Tóth, G.: The \(\nabla \cdot \mathbf{B}\) constraint in shock-capturing magnetohydrodynamics codes. J. Comput. Phys. 161(2), 605–652 (2000)

    Article  MathSciNet  Google Scholar 

  38. Yakovlev, S., Xu, L., Li, F.: Locally divergence-free central discontinuous Galerkin methods for ideal MHD equations. J. Comput. Sci. 4(1), 80–91 (2013)

    Article  Google Scholar 

  39. Yang, H., Li, F.: Stability analysis and error estimates of an exactly divergence-free method for the magnetic induction equations. ESAIM Math. Model. Numer. Anal. 50(4), 965–993 (2016)

    Article  MathSciNet  Google Scholar 

  40. Yee, K.S.: Numerical solution of initial boundary value problems involving Maxwell’s equations in isotropic media. IEEE Trans. Antennas Propag. 14(3), 302–307 (1966)

    Article  Google Scholar 

  41. Zhang, X., Shu, C.-W.: On positivity-preserving high order discontinuous Galerkin schemes for compressible Euler equations on rectangular meshes. J. Comput. Phys. 229(23), 8918–8934 (2010)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yan Xu.

Additional information

Research of F. Li is supported in part by NSF Grants DMS-1318409 and DMS-1719942. Research of Y. Xu is supported by NSFC Grant Nos. 11722112 and 91630207.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Fu, P., Li, F. & Xu, Y. Globally Divergence-Free Discontinuous Galerkin Methods for Ideal Magnetohydrodynamic Equations. J Sci Comput 77, 1621–1659 (2018). https://doi.org/10.1007/s10915-018-0750-6

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10915-018-0750-6

Keywords

Navigation