A new code, named MAP, is written in Fortran language for magnetohydrodynamics (MHD) calculation with the adaptive mesh refinement (AMR) and Message Passing Interface (MPI) parallelization. There are several optional numerical schemes for computing the MHD part, namely, modified Mac Cormack Scheme (MMC), Lax-Friedrichs scheme (LF) and weighted essentially non-oscillatory (WENO) scheme. All of them are second order, two-step, component-wise schemes for hyperbolic conservative equations. The total variation diminishing (TVD) limiters and approximate Riemann solvers are also equipped. A high resolution can be achieved by the hierarchical block-structured AMR mesh. We use the extended generalized Lagrange multiplier (EGLM) MHD equations to reduce the non-divergence free error produced by the scheme in the magnetic induction equation. The numerical algorithms for the non-ideal terms, e.g., the resistivity and the thermal conduction, are also equipped in the MAP code. The details of the AMR and MPI algorithms are described in the paper.
Systematic Comparison between Constrained Transport and Mixed Divergence Cleaning Methods for Astrophysical Magnetohydrodynamic Simulations
Astronomical Institute, Tohoku University(东北大学天文学研究所);École Normale Supérieure de Lyon, Centre de Recherche Astrophysique de Lyon(里昂高等师范学校,里昂天体物理研究中心);Humanities and Sciences/Museum Careers, Musashino Art University(武藏野美术大学人文科学与博物馆职业);Center for Computational Astrophysics, National Astronomical Observatory of Japan(日本国立天文台计算天体物理学中心)
A partially dimensionally-split approach to numerical MHD
我们修改现有的磁流体力学算法,使其更兼容的维度分裂(DS)框架。它基于标准的重建-求解-平均策略(使用黎曼解算器),并依赖于受约束的传输来确保磁场保持无发散(div B = 0)。DS方法,结合使用一个单一的,细胞为中心的网格(流体量和磁场),意味着该算法可以很容易地添加到现有的DS流体动力学代码。这使得它对成熟的天体物理代码特别有用,这些代码通常在底层DS流体动力学引擎之上模拟更复杂的物理效应,因此不能轻易重构。几个测试问题已被列入,以证明算法的准确性,说明性的源代码已免费提供在线。
MHDuet : a high-order General Relativistic Radiation MHD code for CPU and GPU architectures
Universitat de les Illes Balears(巴利阿里群岛大学);University of Nottingham(诺丁汉大学);Long Island University(长岛大学);University of Hamburg(汉堡大学);University of Cambridge(剑桥大学)