DOE PAGES title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: 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:
 [1];  [2]
  1. ETH, Zurich (Switzerland)
  2. 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}
}

Journal Article:
Free Publicly Available Full Text
Publisher's Version of Record

Citation Metrics:
Cited by: 30 works
Citation information provided by
Web of Science

Figures / Tables:

Fig. 1 Fig. 1: Control volume and discrete representation of physical quantities.

Save / Share:

Works referenced in this record:

Castro: a new Compressible Astrophysical Solver. i. Hydrodynamics and Self-Gravity
journal, May 2010


Divergence-Free Adaptive Mesh Refinement for Magnetohydrodynamics
journal, December 2001


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
  • DOI: 10.1006/jcph.1998.6153

Local adaptive mesh refinement for shock hydrodynamics
journal, May 1989


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
  • DOI: 10.1038/nature07105

The Effect of Nonzero ∇ · B on the numerical solution of the magnetohydrodynamic equations
journal, May 1980


An upwind differencing scheme for the equations of ideal magnetohydrodynamics
journal, April 1988


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
  • DOI: 10.1086/318896

Multidimensional upwind methods for hyperbolic conservation laws
journal, March 1990


The Piecewise Parabolic Method (PPM) for gas-dynamical simulations
journal, April 1984


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
  • DOI: 10.1086/176348

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
  • DOI: 10.1016/j.jcp.2004.08.021

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
  • DOI: 10.1088/0067-0049/182/2/519

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
  • DOI: 10.1086/305176

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
  • DOI: 10.1006/jcph.2001.6961

Cosmological MHD simulation of a cooling flow cluster
journal, March 2008


On Godunov-type methods near low densities
journal, February 1991


Simulation of magnetohydrodynamic flows - A constrained transport method
journal, September 1988

  • Evans, Charles R.; Hawley, John F.
  • The Astrophysical Journal, Vol. 332
  • DOI: 10.1086/166684

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
  • DOI: 10.1086/307908

A high order Godunov scheme with constrained transport and adaptive mesh refinement for astrophysical magnetohydrodynamics
journal, September 2006


An unsplit Godunov method for ideal MHD via constrained transport
journal, May 2005


An unsplit Godunov method for ideal MHD via constrained transport in three dimensions
journal, April 2008


Enhanced Cloud Disruption by Magnetic Field Interaction
journal, December 1999

  • Gregori, G.; Miniati, Francesco; Ryu, Dongsu
  • The Astrophysical Journal, Vol. 527, Issue 2
  • DOI: 10.1086/312402

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
  • DOI: 10.1086/317130

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
  • DOI: 10.1086/178151

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
  • DOI: 10.1086/173554

Magnetohydrodynamics
book, January 1984


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
  • DOI: 10.1093/mnras/215.2.125

An unsplit staggered mesh scheme for multidimensional magnetohydrodynamics
journal, March 2009


High‐Order Upwind Schemes for Multidimensional Magnetohydrodynamics
journal, February 2000

  • Londrillo, P.; Del Zanna, L.
  • The Astrophysical Journal, Vol. 530, Issue 1
  • DOI: 10.1086/308344

On the divergence-free condition in Godunov-type schemes for ideal magnetohydrodynamics: the upwind constrained transport method
journal, March 2004


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
  • DOI: 10.1086/174685

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
  • DOI: 10.1006/jcph.2000.6575

A second-order unsplit Godunov scheme for cell-centered MHD: The CTU-GLM scheme
journal, March 2010


COSMOCR: A numerical code for cosmic ray studies in computational cosmology
journal, November 2001


Glimm–Godunov’s method for cosmic-ray-hydrodynamics
journal, November 2007


A hybrid scheme for gas–dust systems stiffly coupled via viscous drag
journal, May 2010


Resistive Magnetic Field Generation at Cosmic dawn
journal, February 2011


Block structured adaptive mesh and time refinement for hybrid, hyperbolic+N-body systems
journal, November 2007


A modified higher order Godunov’s scheme for stiff source conservative hydrodynamics
journal, June 2007


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
  • DOI: 10.1086/304953

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
  • DOI: 10.1086/306599

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
  • DOI: 10.1086/307162

A multi-state HLL approximate Riemann solver for ideal magnetohydrodynamics
journal, September 2005


Evidence for Strong Extragalactic Magnetic Fields from Fermi Observations of TeV Blazars
journal, April 2010


Small-scale structure of two-dimensional magnetohydrodynamic turbulence
journal, January 1979


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
  • DOI: 10.1006/jcph.1999.6299

Notes on the Eigensystem of Magnetohydrodynamics
journal, February 1996


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
  • DOI: 10.1086/176347

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
  • DOI: 10.1086/306481

An Unsplit 3D Upwind Method for Hyperbolic Conservation Laws
journal, November 1994


An adaptive mesh semi-implicit conservative unsplit method for resistive MHD
journal, January 2005


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
  • DOI: 10.1086/175167

Cosmic Ray Astrophysics
book, January 2002


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
  • DOI: 10.1086/588755

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
  • DOI: 10.1016/j.jcp.2006.01.042

The ∇·B=0 Constraint in Shock-Capturing Magnetohydrodynamics Codes
journal, July 2000


Divergence- and Curl-Preserving Prolongation and Restriction Formulas
journal, August 2002


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
  • DOI: 10.1086/304202

Numerical solution of initial boundary value problems involving maxwell's equations in isotropic media
journal, May 1966


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
  • DOI: 10.1137/0915019

Works referencing / citing this record:

Self-similar energetics in large clusters of galaxies
journal, July 2015


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
  • DOI: 10.1093/mnras/stt1890

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
  • DOI: 10.1093/mnras/stv2180

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
  • DOI: 10.1093/mnras/stv2531

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
  • DOI: 10.1093/mnras/stw1578

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
  • DOI: 10.1093/mnras/stw2004

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
  • DOI: 10.1093/mnras/sty400

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
  • DOI: 10.3847/1538-4365/aa5b9c

Accurate, Meshless Methods for Magneto-Hydrodynamics
text, January 2015


Self-similar energetics in large clusters of galaxies
text, January 2015