Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Constrained-Transport Magnetohydrodynamics with Adaptive-Mesh-Refinement in CHARM

Journal Article · · The Astrophysical Journal Supplement

We present the implementation of a three-dimensional, second order accurate Godunov-type algorithm for magneto-hydrodynamic (MHD), in the adaptivemesh-refinement (AMR) cosmological code CHARM. The algorithm is based on the full 12-solve spatially unsplit Corner-Transport-Upwind (CTU) scheme. Thefluid quantities are cell-centered and are updated using the Piecewise-Parabolic- Method (PPM), while the magnetic field variables are face-centered and areevolved 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 accuracyor robustness. The algorithm is implemented on an AMR framework which requires specific synchronization steps across refinement levels. These includeface-centered restriction and prolongation operations and a reflux-curl operation, which maintains a solenoidal magnetic field across refinement boundaries. Thecode 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 isshown to remain negligible throughout. Subject headings: cosmology: theory - methods: numerical

Research Organization:
Ernest Orlando Lawrence Berkeley National Laboratory, Berkeley, CA (US)
Sponsoring Organization:
Computational Research Division
DOE Contract Number:
AC02-05CH11231
OSTI ID:
1050649
Report Number(s):
LBNL-4811E
Journal Information:
The Astrophysical Journal Supplement, Journal Name: The Astrophysical Journal Supplement
Country of Publication:
United States
Language:
English

References (80)

Magnetohydrodynamics of Cloud Collisions in a Multiphase Interstellar Medium journal January 1999
A multi-state HLL approximate Riemann solver for ideal magnetohydrodynamics journal September 2005
Do representations of male muscularity differ in men's and women's magazines? journal March 2005
Multidimensional upwind methods for hyperbolic conservation laws journal March 1990
High‐Order Upwind Schemes for Multidimensional Magnetohydrodynamics journal February 2000
SIMULATING MAGNETOHYDRODYNAMICAL FLOW WITH CONSTRAINED TRANSPORT AND ADAPTIVE MESH REFINEMENT: ALGORITHMS AND TESTS OF THE AstroBEAR CODE journal May 2009
Enhanced Cloud Disruption by Magnetic Field Interaction journal December 1999
Simulation of magnetohydrodynamic flows - A constrained transport method journal September 1988
An Unsplit 3D Upwind Method for Hyperbolic Conservation Laws journal November 1994
COSMOCR: A Numerical Code for Cosmic Ray Studies in Computational Cosmology text January 2001
An upwind differencing scheme for the equations of ideal magnetohydrodynamics journal April 1988
The Effect of Nonzero ∇ · B on the numerical solution of the magnetohydrodynamic equations journal May 1980
A Divergence‐free Upwind Code for Multidimensional Magnetohydrodynamic Flows journal December 1998
An unsplit Godunov method for ideal MHD via constrained transport in three dimensions journal April 2008
Athena: A New Code for Astrophysical MHD journal September 2008
Castro: a new Compressible Astrophysical Solver. i. Hydrodynamics and Self-Gravity journal May 2010
An Unsplit Godunov Method for Ideal MHD via Constrained Transport text January 2005
Cosmological MHD simulation of a cooling flow cluster text January 2008
Hydrodynamics of Cloud Collisions in Two Dimensions: The Fate of Clouds in a Multiphase Medium journal December 1997
A Staggered Mesh Algorithm Using High Order Godunov Fluxes to Ensure Solenoidal Magnetic Fields in Magnetohydrodynamic Simulations journal March 1999
On the Divergence‐free Condition and Conservation Laws in Numerical Simulations for Supersonic Magnetohydrodynamical Flows journal February 1998
An unsplit, cell-centered Godunov method for ideal MHD journal March 2005
Numerical solution of initial boundary value problems involving maxwell's equations in isotropic media journal May 1966
Resistive Magnetic Field Generation at Cosmic dawn journal February 2011
The Santa Barbara Cluster Comparison Project: A Comparison of Cosmological Hydrodynamics Solutions journal November 1999
A Solution-Adaptive Upwind Scheme for Ideal Magnetohydrodynamics journal September 1999
Evidence for strong extragalactic magnetic fields from Fermi observations of TeV blazars text January 2010
Interstellar cloud collisions journal July 1985
Divergence-Free Adaptive Mesh Refinement for Magnetohydrodynamics journal December 2001
Strong magnetic fields in normal galaxies at high redshift text January 2024
A hybrid scheme for gas–dust systems stiffly coupled via viscous drag journal May 2010
The Survival of Interstellar Clouds against Kelvin‐Helmholtz Instabilities journal July 1997
An adaptive mesh semi-implicit conservative unsplit method for resistive MHD journal January 2005
Local adaptive mesh refinement for shock hydrodynamics journal May 1989
Cosmic Ray Astrophysics book January 2002
The Piecewise Parabolic Method (PPM) for gas-dynamical simulations journal April 1984
Multidimensional upwind methods for hyperbolic conservation laws journal March 1990
Notes on the Eigensystem of Magnetohydrodynamics journal February 1996
COSMOCR: A numerical code for cosmic ray studies in computational cosmology journal November 2001
A Second-Order Unsplit Godunov Scheme for Cell-Centered MHD: the CTU-GLM scheme text January 2009
On Godunov-type methods near low densities journal February 1991
The Magnetohydrodynamics of Supersonic Gas Clouds: MHD Cosmic Bullets and Wind‐swept Clumps journal December 1996
The ∇·B=0 Constraint in Shock-Capturing Magnetohydrodynamics Codes journal July 2000
Shock interactions with magnetized interstellar clouds. 1: Steady shocks hitting nonradiative clouds journal September 1994
A Hybrid Scheme for Gas-Dust Systems Stiffly Coupled via Viscous Drag text January 2010
A high order Godunov scheme with constrained transport and adaptive mesh refinement for astrophysical magnetohydrodynamics journal September 2006
On the hydrodynamic interaction of shock waves with interstellar clouds. 1: Nonradiative shocks in small clouds journal January 1994
Small-scale structure of two-dimensional magnetohydrodynamic turbulence journal January 1979
Evidence for Strong Extragalactic Magnetic Fields from Fermi Observations of TeV Blazars journal April 2010
Magnetohydrodynamics book January 1984
Divergence- and Curl-Preserving Prolongation and Restriction Formulas journal August 2002
Notes on the Eigensystem of Magnetohydrodynamics journal February 1996
On the Exchange of Kinetic and Magnetic Energy between Clouds and the Interstellar Medium journal May 1999
Three‐dimensional Magnetohydrodynamic Numerical Simulations of Cloud‐Wind Interactions journal November 2000
Cosmological MHD simulation of a cooling flow cluster journal March 2008
An unsplit staggered mesh scheme for multidimensional magnetohydrodynamics journal March 2009
Hydra: an Adaptive-Mesh Implementation of P 3M-SPH journal October 1995
Magnetohydrodynamics book January 1984
Castro: a new Compressible Astrophysical Solver. i. Hydrodynamics and Self-Gravity journal May 2010
Hyperbolic Divergence Cleaning for the MHD Equations journal January 2002
Interstellar clouds in high-speed, supersonic flows: Two-dimensional simulations journal January 1995
Glimm–Godunov’s method for cosmic-ray-hydrodynamics journal November 2007
A Higher-Order Godunov Method for Multidimensional Ideal Magnetohydrodynamics journal March 1994
A modified higher order Godunov’s scheme for stiff source conservative hydrodynamics journal June 2007
A New Radio–X-Ray Probe of Galaxy Cluster Magnetic Fields journal February 2001
Kinematic Dynamos using Constrained Transport with High Order Godunov Schemes and Adaptive Mesh Refinement text January 2006
Numerical magetohydrodynamics in astrophysics: Algorithm and tests for one-dimensional flow` journal March 1995
A Modified Higher Order Godunov's Scheme for Stiff Source Conservative Hydrodynamics text January 2006
An unsplit Godunov method for ideal MHD via constrained transport journal May 2005
Block structured adaptive mesh and time refinement for hybrid, hyperbolic+N-body systems journal November 2007
Resistive Magnetic Field Generation at Cosmic dawn journal February 2011
Kinematic dynamos using constrained transport with high order Godunov schemes and adaptive mesh refinement journal October 2006
A second-order unsplit Godunov scheme for cell-centered MHD: The CTU-GLM scheme journal March 2010
A Cell-Centered Adaptive Projection Method for the Incompressible Euler Equations journal September 2000
Strong magnetic fields in normal galaxies at high redshift journal July 2008
On the divergence-free condition in Godunov-type schemes for ideal magnetohydrodynamics: the upwind constrained transport method journal March 2004
Numerical Magnetohydrodynamics in Astrophysics: Algorithm and Tests for Multidimensional Flow journal October 1995
Numerical solution of initial boundary value problems involving maxwell's equations in isotropic media journal May 1966
Small-scale structure of two-dimensional magnetohydrodynamic turbulence journal January 1979
On the Divergence-Free Condition in Godunov-Type Schemes for Ideal Magnetohydrodynamics: the Upwind Constrained Transport Method text January 2003

Cited By (10)

WOMBAT: A Scalable and High-performance Astrophysical Magnetohydrodynamics Code journal February 2017
Self-similar energetics in large clusters of galaxies text January 2015
A moving mesh unstaggered constrained transport scheme for magnetohydrodynamics journal August 2016
Accurate, Meshless Methods for Magneto-Hydrodynamics text January 2015
A discontinuous Galerkin method for solving the fluid and magnetohydrodynamic equations in astrophysical simulations journal October 2013
Self-similar energetics in large clusters of galaxies journal July 2015
A constrained-gradient method to control divergence errors in numerical MHD journal July 2016
SPMHD simulations of structure formation journal February 2018
xtroem-fv: a new code for computational astrophysics based on very high order finite-volume methods – I. Magnetohydrodynamics journal November 2015
Accurate, meshless methods for magnetohydrodynamics journal November 2015