We report on the development of MPI-AMRVAC version 2.0, which is an open-source framework for parallel, grid-adaptive simulations of hydrodynamic and magnetohydrodynamic (MHD) astrophysical applications. The framework now supports radial grid stretching in combination with adaptive mesh refinement (AMR). The advantages of this combined approach are demonstrated with one-dimensional, two-dimensional and three-dimensional examples of spherically symmetric Bondi accretion, steady planar Bondi-Hoyle-Lyttleton flows, and wind accretion in Supergiant X-ray binaries. Another improvement is support for the generic splitting of any background magnetic field. We present several tests relevant for solar physics applications to demonstrate the advantages of field splitting on accuracy and robustness in extremely low plasma $β$ environments: a static magnetic flux rope, a magnetic null-point, and magnetic reconnection in a current sheet with either uniform or anomalous resistivity. Our implementation for treating anisotropic thermal conduction in multi-dimensional MHD applications is also described, which generalizes the original slope limited symmetric scheme from 2D to 3D. We perform ring diffusion tests that demonstrate its accuracy and robustness, and show that it prevents the unphysical thermal flux present in traditional schemes. The improved parallel scaling of the code is demonstrated with 3D AMR simulations of solar coronal rain, which show satisfactory strong scaling up to 2000 cores. Other framework improvements are also reported: the modernization and reorganization into a library, the handling of automatic regression tests, the use of inline/online Doxygen documentation, and a new future-proof data format for input/output
Numerical Modeling of Prominences and Coronal Rain with the MPI-AMRVAC Code
Institute of Theoretical Astrophysics, University of Oslo(奥斯陆大学理论天体物理研究所);Rosseland Centre for Solar Physics, University of Oslo(奥斯陆大学罗斯兰太阳物理中心);European Space Agency (ESA), European Space Astronomy Centre (ESAC)(欧洲空间局(ESA)欧洲空间天文中心)
Fornax: a Flexible Code for Multiphysics Astrophysical Simulations
本文介绍了我们的新的多组,多维辐射流体动力学(RHD)代码Fornax的设计和实施,并提供了一套代码测试,以验证其在广泛的物理制度的应用。而不是专门专注于测试中微子辐射流体动力学相关的核心塌陷超新星的问题,其中天炉座是主要的目的,我们在这里提出的经典和严格的演示代码性能相关的一个广泛的多维流体动力学和多组辐射流体动力学问题。我们的代码解决了comoving-frame辐射矩方程使用M1封闭,利用保守的高阶重建,采用半显式的物质和辐射输运通过高阶时间步进计划,并适用于应用到广泛的天体物理问题。为此,我们首先描述的哲学,算法和方法的天炉座,然后执行许多严格的代码测试,集体和大力行使的代码,展示了出色的数值保真度,它捕捉到了许多物理效应的辐射流体力学,并显示出色的强大的缩放远远超过100 k MPI任务。