GAMERA: A three-dimensional finite-volume MHD solver for non-orthogonal curvilinear geometries
arXiv:1810.10861 · doi:10.3847/1538-4365/ab3a4c
Abstract
Efficient simulation of plasmas in various contexts often involves the use of meshes that conform to the intrinsic geometry of the system under consideration. We present here a description of a new magnetohydrodynamic code, Gamera (Grid Agnostic MHD for Extended Research Applications), designed to combine geometric flexibility with high-order spatial reconstruction and constrained transport to maintain the divergence-free magnetic field. Gamera carries on the legacy of its predecessor, the LFM (Lyon-Fedder-Mobarry), a research code whose use in space physics has spanned three decades. At the time of its initial development the LFM code had a number of novel features: eighth-order centered spatial differencing, the Partial Donor Cell Method limiter for shock capturing, a non-orthogonal staggered mesh with constrained transport, and conservative averaging-reconstruction for axis singularities. A capability to handle multiple ion species was also added later. Gamera preserves the core numerical philosophy of LFM while also incorporating numerous algorithmic and computational improvements. The upgrades in the numerical schemes include accurate grid metric calculations using high-order Gaussian quadrature techniques, high-order upwind reconstruction, non-clipping options for interface values, and improved treatment of axis singularities. The improvements in the code implementation include the use of data structures and memory access patterns conducive to aligned vector operations and the implementation of hybrid parallelism, using MPI and OMP. Gamera is designed to be a portable and easy-to-use code that implements multi-dimensional MHD simulations in arbitrary non-orthogonal curvilinear geometries on modern supercomputer architectures.
arXiv comment76 pages, 28 figures. ApJS submitted
References in corpus (5)
- PLUTO: a Numerical Code for Computational Astrophysics
- Athena: A New Code for Astrophysical MHD
- A High Order Godunov Scheme with Constrained Transport and Adaptive Mesh Refinement for Astrophysical MHD
- Magnetic field generation in fully convective rotating spheres
- Dynamic Fisheye Grids for Binary Black Holes Simulations
Cited by in corpus (9)
- What Sustained Multi-Disciplinary Research Can Achieve: The Space Weather Modeling Framework
- Chromospheric Extension of the MURaM Code
- A gray-box model for a probabilistic estimate of regional ground magnetic perturbations: Enhancing the NOAA operational Geospace model with machine learning
- Kamodo: Simplifying Model Data Access and Utilization
- Thermal emission from bow shocks. III. Variable diffuse X-ray emission from stellar-wind bow shocks driven by dynamical instabilities
- Gas Kinetic Schemes for Solving the Magnetohydrodynamic Equations with Pressure Anisotropy
- SynCOM: An Empirical Model for High-Resolution Simulations of Transient Solar Wind Flows
- Impacts of Tidal Locking on Magnetospheric Energy Input to Exoplanet Atmospheres
- A single frequency approach to nonequilibrium modeling of the chromosphere