Constrained-transport magnetohydrodynamics with adaptive mesh refinement in CHARM
Abstract
We present the implementation of a three-dimensional, second-order accurate Godunov-type algorithm for magnetohydrodynamics (MHD) in the adaptive-mesh-refinement (AMR) cosmological code CHARM. The algorithm is based on the full 12-solve spatially unsplit corner-transport-upwind (CTU) scheme. The fluid quantities are cell-centered and are updated using the piecewise-parabolic method (PPM), while the magnetic field variables are face-centered and are evolved through application of the Stokes theorem on cell edges via a constrained-transport (CT) method. The so-called multidimensional MHD source terms required in the predictor step for high-order accuracy are applied in a simplified form which reduces their complexity in three dimensions without loss of accuracy or robustness. The algorithm is implemented on an AMR framework which requires specific synchronization steps across refinement levels. These include face-centered restriction and prolongation operations and a reflux-curl operation, which maintains a solenoidal magnetic field across refinement boundaries. The code is tested against a large suite of test problems, including convergence tests in smooth flows, shock-tube tests, classical two- and three-dimensional MHD tests, a three-dimensional shock-cloud interaction problem, and the formation of a cluster of galaxies in a fully cosmological context. The magnetic field divergence is shown to remain negligible throughout.
- Authors:
-
- ETH, Zurich (Switzerland)
- Lawrence Berkeley National Lab. (LBNL), Berkeley, CA (United States)
- Publication Date:
- Research Org.:
- Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)
- Sponsoring Org.:
- USDOE Office of Science (SC), Advanced Scientific Computing Research (ASCR) (SC-21), Scientific Discovery through Advanced Computing (SciDAC) (SC21.1 )
- OSTI Identifier:
- 1511331
- Grant/Contract Number:
- AC02-05CH11231
- Resource Type:
- Accepted Manuscript
- Journal Name:
- The Astrophysical Journal. Supplement Series
- Additional Journal Information:
- Journal Volume: 195; Journal Issue: 1; Journal ID: ISSN 0067-0049
- Publisher:
- American Astronomical Society
- Country of Publication:
- United States
- Language:
- English
- Subject:
- 79 ASTRONOMY AND ASTROPHYSICS
Citation Formats
Miniati, Francesco, and Martin, Daniel F. Constrained-transport magnetohydrodynamics with adaptive mesh refinement in CHARM. United States: N. p., 2011.
Web. doi:10.1088/0067-0049/195/1/5.
Miniati, Francesco, & Martin, Daniel F. Constrained-transport magnetohydrodynamics with adaptive mesh refinement in CHARM. United States. https://doi.org/10.1088/0067-0049/195/1/5
Miniati, Francesco, and Martin, Daniel F. Thu .
"Constrained-transport magnetohydrodynamics with adaptive mesh refinement in CHARM". United States. https://doi.org/10.1088/0067-0049/195/1/5. https://www.osti.gov/servlets/purl/1511331.
@article{osti_1511331,
title = {Constrained-transport magnetohydrodynamics with adaptive mesh refinement in CHARM},
author = {Miniati, Francesco and Martin, Daniel F.},
abstractNote = {We present the implementation of a three-dimensional, second-order accurate Godunov-type algorithm for magnetohydrodynamics (MHD) in the adaptive-mesh-refinement (AMR) cosmological code CHARM. The algorithm is based on the full 12-solve spatially unsplit corner-transport-upwind (CTU) scheme. The fluid quantities are cell-centered and are updated using the piecewise-parabolic method (PPM), while the magnetic field variables are face-centered and are evolved through application of the Stokes theorem on cell edges via a constrained-transport (CT) method. The so-called multidimensional MHD source terms required in the predictor step for high-order accuracy are applied in a simplified form which reduces their complexity in three dimensions without loss of accuracy or robustness. The algorithm is implemented on an AMR framework which requires specific synchronization steps across refinement levels. These include face-centered restriction and prolongation operations and a reflux-curl operation, which maintains a solenoidal magnetic field across refinement boundaries. The code is tested against a large suite of test problems, including convergence tests in smooth flows, shock-tube tests, classical two- and three-dimensional MHD tests, a three-dimensional shock-cloud interaction problem, and the formation of a cluster of galaxies in a fully cosmological context. The magnetic field divergence is shown to remain negligible throughout.},
doi = {10.1088/0067-0049/195/1/5},
journal = {The Astrophysical Journal. Supplement Series},
number = 1,
volume = 195,
place = {United States},
year = {Thu Jun 23 00:00:00 EDT 2011},
month = {Thu Jun 23 00:00:00 EDT 2011}
}
Web of Science
Figures / Tables:
Works referenced in this record:
Castro: a new Compressible Astrophysical Solver. i. Hydrodynamics and Self-Gravity
journal, May 2010
- Almgren, A. S.; Beckner, V. E.; Bell, J. B.
- The Astrophysical Journal, Vol. 715, Issue 2
Divergence-Free Adaptive Mesh Refinement for Magnetohydrodynamics
journal, December 2001
- Balsara, Dinshaw S.
- Journal of Computational Physics, Vol. 174, Issue 2
A Staggered Mesh Algorithm Using High Order Godunov Fluxes to Ensure Solenoidal Magnetic Fields in Magnetohydrodynamic Simulations
journal, March 1999
- Balsara, Dinshaw S.; Spicer, Daniel S.
- Journal of Computational Physics, Vol. 149, Issue 2
Local adaptive mesh refinement for shock hydrodynamics
journal, May 1989
- Berger, M. J.; Colella, P.
- Journal of Computational Physics, Vol. 82, Issue 1
Strong magnetic fields in normal galaxies at high redshift
journal, July 2008
- Bernet, Martin L.; Miniati, Francesco; Lilly, Simon J.
- Nature, Vol. 454, Issue 7202
The Effect of Nonzero ∇ · B on the numerical solution of the magnetohydrodynamic equations
journal, May 1980
- Brackbill, J. U.; Barnes, D. C.
- Journal of Computational Physics, Vol. 35, Issue 3
An upwind differencing scheme for the equations of ideal magnetohydrodynamics
journal, April 1988
- Brio, M.; Wu, C. C.
- Journal of Computational Physics, Vol. 75, Issue 2
A New Radio–X-Ray Probe of Galaxy Cluster Magnetic Fields
journal, February 2001
- Clarke, T. E.; Kronberg, P. P.; Böhringer, Hans
- The Astrophysical Journal, Vol. 547, Issue 2
Multidimensional upwind methods for hyperbolic conservation laws
journal, March 1990
- Colella, Phillip
- Journal of Computational Physics, Vol. 87, Issue 1
The Piecewise Parabolic Method (PPM) for gas-dynamical simulations
journal, April 1984
- Colella, Phillip; Woodward, Paul R.
- Journal of Computational Physics, Vol. 54, Issue 1
Hydra: an Adaptive-Mesh Implementation of P 3M-SPH
journal, October 1995
- Couchman, H. M. P.; Thomas, P. A.; Pearce, F. R.
- The Astrophysical Journal, Vol. 452
An unsplit, cell-centered Godunov method for ideal MHD
journal, March 2005
- Crockett, Robert K.; Colella, Phillip; Fisher, Robert T.
- Journal of Computational Physics, Vol. 203, Issue 2
SIMULATING MAGNETOHYDRODYNAMICAL FLOW WITH CONSTRAINED TRANSPORT AND ADAPTIVE MESH REFINEMENT: ALGORITHMS AND TESTS OF THE AstroBEAR CODE
journal, May 2009
- Cunningham, Andrew J.; Frank, Adam; Varnière, Peggy
- The Astrophysical Journal Supplement Series, Vol. 182, Issue 2
On the Divergence‐free Condition and Conservation Laws in Numerical Simulations for Supersonic Magnetohydrodynamical Flows
journal, February 1998
- Dai, Wenlong; Woodward, Paul R.
- The Astrophysical Journal, Vol. 494, Issue 1
Hyperbolic Divergence Cleaning for the MHD Equations
journal, January 2002
- Dedner, A.; Kemm, F.; Kröner, D.
- Journal of Computational Physics, Vol. 175, Issue 2
Cosmological MHD simulation of a cooling flow cluster
journal, March 2008
- Dubois, Y.; Teyssier, R.
- Astronomy & Astrophysics, Vol. 482, Issue 2
On Godunov-type methods near low densities
journal, February 1991
- Einfeldt, B.; Munz, C. D.; Roe, P. L.
- Journal of Computational Physics, Vol. 92, Issue 2
Simulation of magnetohydrodynamic flows - A constrained transport method
journal, September 1988
- Evans, Charles R.; Hawley, John F.
- The Astrophysical Journal, Vol. 332
The Santa Barbara Cluster Comparison Project: A Comparison of Cosmological Hydrodynamics Solutions
journal, November 1999
- Frenk, C. S.; White, S. D. M.; Bode, P.
- The Astrophysical Journal, Vol. 525, Issue 2
A high order Godunov scheme with constrained transport and adaptive mesh refinement for astrophysical magnetohydrodynamics
journal, September 2006
- Fromang, S.; Hennebelle, P.; Teyssier, R.
- Astronomy & Astrophysics, Vol. 457, Issue 2
An unsplit Godunov method for ideal MHD via constrained transport
journal, May 2005
- Gardiner, Thomas A.; Stone, James M.
- Journal of Computational Physics, Vol. 205, Issue 2
An unsplit Godunov method for ideal MHD via constrained transport in three dimensions
journal, April 2008
- Gardiner, Thomas A.; Stone, James M.
- Journal of Computational Physics, Vol. 227, Issue 8
Enhanced Cloud Disruption by Magnetic Field Interaction
journal, December 1999
- Gregori, G.; Miniati, Francesco; Ryu, Dongsu
- The Astrophysical Journal, Vol. 527, Issue 2
Three‐dimensional Magnetohydrodynamic Numerical Simulations of Cloud‐Wind Interactions
journal, November 2000
- Gregori, G.; Miniati, Francesco; Ryu, Dongsu
- The Astrophysical Journal, Vol. 543, Issue 2
The Magnetohydrodynamics of Supersonic Gas Clouds: MHD Cosmic Bullets and Wind‐swept Clumps
journal, December 1996
- Jones, T. W.; Ryu, Dongsu; Tregillis, I. L.
- The Astrophysical Journal, Vol. 473, Issue 1
On the hydrodynamic interaction of shock waves with interstellar clouds. 1: Nonradiative shocks in small clouds
journal, January 1994
- Klein, Richard I.; McKee, Christopher F.; Colella, Philip
- The Astrophysical Journal, Vol. 420
Magnetohydrodynamics
book, January 1984
- Landau, L. D.; Lifshitz, E. M.
- Electrodynamics of Continuous Media
Interstellar cloud collisions
journal, July 1985
- Lattanzio, J. C.; Monaghan, J. J.; Pongracic, H.
- Monthly Notices of the Royal Astronomical Society, Vol. 215, Issue 2
An unsplit staggered mesh scheme for multidimensional magnetohydrodynamics
journal, March 2009
- Lee, Dongwook; Deane, Anil E.
- Journal of Computational Physics, Vol. 228, Issue 4
High‐Order Upwind Schemes for Multidimensional Magnetohydrodynamics
journal, February 2000
- Londrillo, P.; Del Zanna, L.
- The Astrophysical Journal, Vol. 530, Issue 1
On the divergence-free condition in Godunov-type schemes for ideal magnetohydrodynamics: the upwind constrained transport method
journal, March 2004
- Londrillo, P.; Del Zanna, L.
- Journal of Computational Physics, Vol. 195, Issue 1
Shock interactions with magnetized interstellar clouds. 1: Steady shocks hitting nonradiative clouds
journal, September 1994
- Mac Low, Mordecai-Mark; McKee, Christopher F.; Klein, Richard I.
- The Astrophysical Journal, Vol. 433
A Cell-Centered Adaptive Projection Method for the Incompressible Euler Equations
journal, September 2000
- Martin, Daniel F.; Colella, Phillip
- Journal of Computational Physics, Vol. 163, Issue 2
A second-order unsplit Godunov scheme for cell-centered MHD: The CTU-GLM scheme
journal, March 2010
- Mignone, Andrea; Tzeferacos, Petros
- Journal of Computational Physics, Vol. 229, Issue 6
COSMOCR: A numerical code for cosmic ray studies in computational cosmology
journal, November 2001
- Miniati, Francesco
- Computer Physics Communications, Vol. 141, Issue 1
Glimm–Godunov’s method for cosmic-ray-hydrodynamics
journal, November 2007
- Miniati, Francesco
- Journal of Computational Physics, Vol. 227, Issue 1
A hybrid scheme for gas–dust systems stiffly coupled via viscous drag
journal, May 2010
- Miniati, Francesco
- Journal of Computational Physics, Vol. 229, Issue 10
Resistive Magnetic Field Generation at Cosmic dawn
journal, February 2011
- Miniati, Francesco; Bell, A. R.
- The Astrophysical Journal, Vol. 729, Issue 1
Block structured adaptive mesh and time refinement for hybrid, hyperbolic+N-body systems
journal, November 2007
- Miniati, Francesco; Colella, Phillip
- Journal of Computational Physics, Vol. 227, Issue 1
A modified higher order Godunov’s scheme for stiff source conservative hydrodynamics
journal, June 2007
- Miniati, Francesco; Colella, Phillip
- Journal of Computational Physics, Vol. 224, Issue 2
Hydrodynamics of Cloud Collisions in Two Dimensions: The Fate of Clouds in a Multiphase Medium
journal, December 1997
- Miniati, Francesco; Jones, T. W.; Ferrara, Andrea
- The Astrophysical Journal, Vol. 491, Issue 1
Magnetohydrodynamics of Cloud Collisions in a Multiphase Interstellar Medium
journal, January 1999
- Miniati, Francesco; Ryu, Dongsu; Ferrara, Andrea
- The Astrophysical Journal, Vol. 510, Issue 2
On the Exchange of Kinetic and Magnetic Energy between Clouds and the Interstellar Medium
journal, May 1999
- Miniati, Francesco; Jones, T. W.; Ryu, Dongsu
- The Astrophysical Journal, Vol. 517, Issue 1
A multi-state HLL approximate Riemann solver for ideal magnetohydrodynamics
journal, September 2005
- Miyoshi, Takahiro; Kusano, Kanya
- Journal of Computational Physics, Vol. 208, Issue 1
Evidence for Strong Extragalactic Magnetic Fields from Fermi Observations of TeV Blazars
journal, April 2010
- Neronov, A.; Vovk, I.
- Science, Vol. 328, Issue 5974
Small-scale structure of two-dimensional magnetohydrodynamic turbulence
journal, January 1979
- Orszag, Steven A.; Tang, Cha-Mei
- Journal of Fluid Mechanics, Vol. 90, Issue 1
A Solution-Adaptive Upwind Scheme for Ideal Magnetohydrodynamics
journal, September 1999
- Powell, Kenneth G.; Roe, Philip L.; Linde, Timur J.
- Journal of Computational Physics, Vol. 154, Issue 2
Notes on the Eigensystem of Magnetohydrodynamics
journal, February 1996
- Roe, P. L.; Balsara, D. S.
- SIAM Journal on Applied Mathematics, Vol. 56, Issue 1
Numerical Magnetohydrodynamics in Astrophysics: Algorithm and Tests for Multidimensional Flow
journal, October 1995
- Ryu, Dongsu; Jones, T. W.; Frank, Adam
- The Astrophysical Journal, Vol. 452
A Divergence‐free Upwind Code for Multidimensional Magnetohydrodynamic Flows
journal, December 1998
- Ryu, Dongsu; Miniati, Francesco; Jones, T. W.
- The Astrophysical Journal, Vol. 509, Issue 1
An Unsplit 3D Upwind Method for Hyperbolic Conservation Laws
journal, November 1994
- Saltzman, Jeff
- Journal of Computational Physics, Vol. 115, Issue 1
An adaptive mesh semi-implicit conservative unsplit method for resistive MHD
journal, January 2005
- Samtaney, R.; Colella, P.; Ligocki, T. J.
- Journal of Physics: Conference Series, Vol. 16
Interstellar clouds in high-speed, supersonic flows: Two-dimensional simulations
journal, January 1995
- Schiano, A. V. R.; Christiansen, Wayne A.; Knerr, Jeffrey M.
- The Astrophysical Journal, Vol. 439
Cosmic Ray Astrophysics
book, January 2002
- Schlickeiser, Reinhard
- Astronomy and Astrophysics Library
Athena: A New Code for Astrophysical MHD
journal, September 2008
- Stone, James M.; Gardiner, Thomas A.; Teuben, Peter
- The Astrophysical Journal Supplement Series, Vol. 178, Issue 1
Kinematic dynamos using constrained transport with high order Godunov schemes and adaptive mesh refinement
journal, October 2006
- Teyssier, Romain; Fromang, Sébastien; Dormy, Emmanuel
- Journal of Computational Physics, Vol. 218, Issue 1
The ∇·B=0 Constraint in Shock-Capturing Magnetohydrodynamics Codes
journal, July 2000
- Tóth, Gábor
- Journal of Computational Physics, Vol. 161, Issue 2
Divergence- and Curl-Preserving Prolongation and Restriction Formulas
journal, August 2002
- Tóth, G.; Roe, P. L.
- Journal of Computational Physics, Vol. 180, Issue 2
The Survival of Interstellar Clouds against Kelvin‐Helmholtz Instabilities
journal, July 1997
- Vietri, Mario; Ferrara, Andrea; Miniati, Francesco
- The Astrophysical Journal, Vol. 483, Issue 1
Numerical solution of initial boundary value problems involving maxwell's equations in isotropic media
journal, May 1966
- Kane Yee,
- IEEE Transactions on Antennas and Propagation, Vol. 14, Issue 3
A Higher-Order Godunov Method for Multidimensional Ideal Magnetohydrodynamics
journal, March 1994
- Zachary, Andrew L.; Malagoli, Andrea; Colella, Phillip
- SIAM Journal on Scientific Computing, Vol. 15, Issue 2
Works referencing / citing this record:
Self-similar energetics in large clusters of galaxies
journal, July 2015
- Miniati, Francesco; Beresnyak, Andrey
- Nature, Vol. 523, Issue 7558
A discontinuous Galerkin method for solving the fluid and magnetohydrodynamic equations in astrophysical simulations
journal, October 2013
- Mocz, Philip; Vogelsberger, Mark; Sijacki, Debora
- Monthly Notices of the Royal Astronomical Society, Vol. 437, Issue 1
Accurate, meshless methods for magnetohydrodynamics
journal, November 2015
- Hopkins, Philip F.; Raives, Matthias J.
- Monthly Notices of the Royal Astronomical Society, Vol. 455, Issue 1
xtroem-fv: a new code for computational astrophysics based on very high order finite-volume methods – I. Magnetohydrodynamics
journal, November 2015
- Núñez-de la Rosa, Jonatan; Munz, Claus-Dieter
- Monthly Notices of the Royal Astronomical Society, Vol. 455, Issue 4
A constrained-gradient method to control divergence errors in numerical MHD
journal, July 2016
- Hopkins, Philip F.
- Monthly Notices of the Royal Astronomical Society, Vol. 462, Issue 1
A moving mesh unstaggered constrained transport scheme for magnetohydrodynamics
journal, August 2016
- Mocz, Philip; Pakmor, Rüdiger; Springel, Volker
- Monthly Notices of the Royal Astronomical Society, Vol. 463, Issue 1
SPMHD simulations of structure formation
journal, February 2018
- Barnes, David J.; On, Alvina Y. L.; Wu, Kinwah
- Monthly Notices of the Royal Astronomical Society, Vol. 476, Issue 3
WOMBAT: A Scalable and High-performance Astrophysical Magnetohydrodynamics Code
journal, February 2017
- Mendygral, P. J.; Radcliffe, N.; Kandalla, K.
- The Astrophysical Journal Supplement Series, Vol. 228, Issue 2
Accurate, Meshless Methods for Magneto-Hydrodynamics
text, January 2015
- Hopkins, Philip F.; Raives, Matthias J.
- arXiv
Self-similar energetics in large clusters of galaxies
text, January 2015
- Miniati, Francesco; Beresnyak, Andrey
- arXiv
Figures / Tables found in this record: