×

zbMATH — the first resource for mathematics

Divergence-free adaptive mesh refinement for magnetohydrodynamics. (English) Zbl 1157.76369
Summary: Several physical systems, such as nonrelativistic and relativistic magnetohydrodynamics (MHD), radiation MHD, electromagnetics, and incompressible hydrodynamics, satisfy Stoke’s law type equations for the divergence-free evolution of vector fields. In this paper we present a full-fledged scheme for the second-order accurate, divergence-free evolution of vector fields on an adaptive mesh refinement (AMR) hierarchy. We focus here on adaptive mesh MHD. However, the scheme has applicability to the other systems of equations mentioned above. The scheme is based on making a significant advance in the divergence-free reconstruction of vector fields. In that sense, it complements the earlier work of D. S. Balsara and D. S. Spicer [J. Comput. Phys. 149, No. 2, 270–292 (1999; Zbl 0936.76051); erratum ibid. 153, 671 (1999)] where we discussed the divergence-free time-update of vector fields which satisfy Stokes’ law type evolution equations. Our advance in divergence-free reconstruction of vector fields is such that it reduces to the total variation diminishing (TVD) property for one-dimensional evolution and yet goes beyond it in multiple dimensions. For that reason, it is extremely suitable for the construction of higher order Godunov schemes for MHD. Both the two-dimensional and three-dimensional reconstruction strategies are developed. A slight extension of the divergence-free reconstruction procedure yields a divergence-free prolongation strategy for prolonging magnetic fields on AMR hierarchies. Divergence-free restriction is also discussed. Because our work is based on an integral formulation, divergence-free restriction and prolongation can be carried out on AMR meshes with any integral refinement ratio, though we specialize the expressions for the most popular situation where the refinement ratio is two. Furthermore, we pay attention to the fact that in order to efficiently evolve the MHD equations on AMR hierarchies, the refined meshes must evolve in time with time steps that are a fraction of their parent mesh’s time step. An electric field correction strategy is presented for use on AMR meshes. The electric field correction strategy helps preserve the divergence-free evolution of the magnetic field even when the time steps are subcycled on refined meshes. The above-mentioned innovations have been implemented in Balsara’s RIEMANN framework for parallel, self-adaptive computational astrophysics, which supports both nonrelativistic and relativistic MHD. Several rigorous, three-dimensional AMR-MHD test problems with strong discontinuities have been run with the RIEMANN framework showing that the strategy works very well. In our AMR-MHD scheme, the adaptive mesh hierarchy can change in response to discontinuities that move rapidly with respect to the mesh. Time-step subcycling permits efficient processing of the AMR hierarchy. Our AMR-MHD scheme parallelizes very well as shown by D. S. Balsara and C. D. Norton [Parallel Comput. 27, No. 1–2, 37–70 (2001; Zbl 0971.68017)].

MSC:
76M20 Finite difference methods applied to problems in fluid mechanics
76M12 Finite volume methods applied to problems in fluid mechanics
76W05 Magnetohydrodynamics and electrohydrodynamics
Software:
ZEUS
PDF BibTeX XML Cite
Full Text: DOI
References:
[1] Balsara, D.S., Linearized formulation of the Riemann problem for adiabatic and isothermal magnetohydrodynamics, Astrophys. J. supp., 116, 119, (1998)
[2] Balsara, D.S., Total variation diminishing algorithim for adiabatic and isothermal magnetohydrodynamics, Astrophys. J. supp., 116, 133, (1998)
[3] Balsara, D.S., The eigenstructure of the equations of radiation magnetohydrodynamics, J. quant. spectrosc. radiat. transfer, 61, 637, (1999)
[4] Balsara, D.S., Linearized formulation of the Riemann problem for radiation magnetohydrodynamics, J. quant. spectrosc. radiat. transfer, 62, 167, (1999)
[5] Balsara, D.S., Total variation diminishing scheme for relativistic magnetohydrodynamics, Astrophys. J. supp., 132, 1, (2001)
[6] Balsara, D.S., Fast and accurate discrete ordinates methods for multidimensional radiative transfer, J. quant. spectrosc. radiat. transfer, 69, 671, (2001)
[7] Balsara, D.S.; Spicer, D.S., A staggered mesh algorithm using higher order Godunov fluxes to ensure solenoidal magnetic fields in MHD simulations, J. comput. phys., 149, 270, (1999) · Zbl 0936.76051
[8] Balsara, D.S.; Norton, C.D., Highly parallel adaptive mesh refinement using parallel language-based approaches, Parallel comput., 27, 37, (2001) · Zbl 0971.68017
[9] D. S. Balsara, R. A. Benjamin, and, D. P. Cox, The evolution of adiabatic supernova remnant in a turbulent, magnetized medium, Astrophys. J, to appear.
[10] Bell, J.; Berger, M.; Saltzman, J.; Welcome, M., Three-dimensional adaptive refinement for hyperbolic conservation laws, SIAM J. sci. comput., 15, 127, (1994) · Zbl 0793.65072
[11] Berger, M.; Oliger, J., Adaptive mesh refinement for hyperbolic partial differential equations, J. comput. phys., 53, 64, (1989)
[12] Berger, M.; Colella, P., Local adaptive mesh refinement for shock hydrodynamics, J. comput. phys., 82, 64, (1989) · Zbl 0665.76070
[13] Berger, M.; Rigoutsos, I., An algorithm for point clustering and grid generation, IEEE trans. system, man and cybernetics, 21, 61, (1991)
[14] Brackbill, J.U.; Barnes, D.C., The effect of nonzero ∇·B on the numerical solution of the MHD equations, J. comput. phys., 35, 462, (1980) · Zbl 0429.76079
[15] Brackbill, J., Fluid modelling of magnetized plasmas, Space sci. rev., 42, 153, (1985)
[16] Brandt, A., Multi-level adaptive solutions to boundary value problems, Math. comp., 31, 333, (1977) · Zbl 0373.65054
[17] Brecht, S.H.; Lyon, J.G.; Fedder, J.A.; Hain, K., Geophys. res. lett., 8, 397, (1981)
[18] Brio, M.; Wu, C.C., An upwind differencing scheme for the equations of ideal magnetohydrodynamics, J. comput. phys., 75, 400, (1988) · Zbl 0637.76125
[19] Cockburn, B.; Shu, C.-W., The runge – kutta discontinuous Galerkin method for conservation laws V, J. comput. phys., 141, 199, (1998) · Zbl 0920.65059
[20] Colella, P., Multidimensional upwind methods for hyperbolic conservation laws, J. comput. phys., 87, 171, (1990) · Zbl 0694.65041
[21] Dai, W.; Woodward, P.R., Extension of the piecewise parabolic method (PPM) to multidimensional MHD, J. comput. phys., 111, 354, (1994)
[22] Dai, W.; Woodward, P.R., On the divergence-free condition and conservation laws in numerical simulations for supersonic MHD flows, Astrophys. J., 494, 317, (1998)
[23] DeVore, C.R., Flux corrected transport techniques for multidimensional compressible magnetohydrodynamics, J. comput. phys., 92, 142, (1991) · Zbl 0716.76056
[24] Evans, C.R.; Hawley, J.F., Simulation of magnetohydrodynamic flows: A constrained transport method, Astrophys. J., 332, 659, (1989)
[25] Gropp, W.D.; Keyes, D.E.; McInnes, L.C.; Tidri, M.D., Globalized newton – krylov – schwarz algorithms and software for parallel implicit CFD, (1998)
[26] Harlow, F.H.; Welch, J.E., The MAC method: A computing technique for solving viscous, incompressible, transient fluid flow problems involving free surfaces, Phys. fluids, 8, 2182, (1965)
[27] Harten, A., High resolution schemes for hyperbolic conservation laws, J. comput. phys., 83, 231, (1983) · Zbl 0565.65050
[28] Jameson, A., Time dependent calculations using multigrid, with applications to unsteady flows past airfoils and wings, (June 1991)
[29] Janhunen, P., A positive conservative method for magnetohydrodynamics based on HLL and roe methods, J. comput. phys., 160, 649, (2000) · Zbl 0967.76061
[30] Jeffrey, A.; Taniuti, T., Nonlinear wave propagation, (1964) · Zbl 0117.21103
[31] Jiang, G.-S.; Shu, C.-W., Efficient implementation of weighted ENO schemes, J. comput. phys., 126, 202, (1996) · Zbl 0877.65065
[32] Lohner, R., An adaptive finite element solver for transient problems with moving bodies, Computers and structures, 30, 303, (1988) · Zbl 0668.73053
[33] Lohner, R., Adaptive remeshing for transient problems, Comput. meth. appl. mech. eng., 75, 195, (1989) · Zbl 0689.68116
[34] Londrillo, P.; Del Zanna, L., High-order upwind schemes for multidimensional magnetohydrodynamics, Astrophys. J., 530, 508, (2000)
[35] Lowrie, R.B.; Roe, P.L.; vanLeer, B., Space-time methods for hyperbolic conservation laws, Proceedings of workshop on barriers and challenges in computational fluid dynamics, NASA langley, aug. 1996, (1998) · Zbl 0947.76055
[36] Peyrard, P.F.; Villedieu, P., A roe scheme for ideal MHD equations on 2D adaptively refined triangular grids, J. comput. phys., 150, 373, (1999) · Zbl 0937.76043
[37] Powell, K.G., An approximate Riemann solver for MHD (that actually works in more than one dimension), (1994)
[38] Powell, K.G.; Roe, P.L.; Linde, T.J.; Gombosi, T.I.; DeZeeuw, D.L., A solution-adaptive upwind scheme for ideal magnetohydrodynamics, J. comput. phys., 154, 284, (1999) · Zbl 0952.76045
[39] Roe, P.L.; Balsara, D.S., Notes on the eigensystem for magnetohydrodynamics, SIAM J. appl. math., 56, 57, (1996) · Zbl 0845.35092
[40] Ryu, D.; Jones, T.W., Numerical MHD in astrophysics: algorithm and tests for one-dimensional flow, Astrophys. J., 442, 228, (1995)
[41] Ryu, D.; Miniati, F.; Jones, T.W.; Frank, A., A divergence-free upwind code for multi-dimensional MHD flows, Astrophys. J., 509, 244, (1998)
[42] Stone, J.M.; Norman, M.L., ZEUS 2D: A radiation MHD code for astrophysical flows in two space dimensions. II the magnetohydrodynamic algorithms and tests, Astrophys. J. suppl., 80, 791, (1992)
[43] Toth, G., The ∇·B=0 constraint in shock-capturing MHD codes, J. comput. phys., 161, 605, (2000) · Zbl 0980.76051
[44] vanLeer, B., Towards the ultimate conservative difference scheme. V. A second order sequel to Godunov’s method, J. comput. phys., 32, 101, (1979)
[45] Yee, K.S., Numerical solution of initial boundary value problems involving Maxwell equation in an isotropic media, IEEE trans. antenna propagation, AP-14, 302, (1966) · Zbl 1155.78304
[46] Zachary, A.L.; Malagoli, A.; Colella, P., A higher order Godunov method for multidimensional ideal MHD, SIAM J. sci. comput., 15, 263, (1994) · Zbl 0797.76063
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. It attempts to reflect the references listed in the original paper as accurately as possible without claiming the completeness or perfect precision of the matching.