We have developed a new computer code, RELDAFNA, to solve the conservative equations of special relativistic hydrodynamics (SRHD) using adaptive mesh refinement (AMR) on parallel computers. We have implemented a characteristic-wise, finite volume Godunov scheme using the full characteristic decomposition of the SRHD equations, to achieve second and third order accuracy in space (both PLM and PPM reconstruction). For time integration, we use the method of directional splitting with symmetrization, which is second order accurate in time. We have also implemented second and third order Runge-Kutta time integration scheme for comparison. In addition to the hydrodynamics solvers we have implemented approximate Riemann solvers along with an exact Riemann solver. We examine the ability of RELDAFNA to accurately simulate special relativistic flows efficiently in number of processors, computer memory and over all integration time. We show that a wide variety of test problems can be solved as accurately as solved by higher order programs, such as RAM, GENESIS, or PLUTO, but with a less number of variables kept in memory and computer calculations than most schemes, an advantage which is crucial for 3D high resolution simulations to be of practical use for scientific research in computational astrophysics. RELDAFNA has been tested in one, two and three dimensions and in Cartesian, cylindrical and spherical geometries. We present the ability of RELDAFNA to assist with the understanding of open questions in high energy astrophysics which involve relativistic flows.
On Using Linux Kernel Huge Pages with FLASH, an Astrophysical Simulation Code
我们通过使用HPE Apollo 80 A64FX平台Ookami上的巨大页面,介绍了如何提高FLASH(一种主要用于天体物理应用的多尺度、多物理场仿真代码)的性能。FLASH主要是用现代Fortran编写的,并利用PARAMESH库来管理块结构的自适应网格。我们探索了在几个编译器中使用大页面的选项,但是我们只能在使用Fujitsu编译器进行编译时成功地使用大页面。使用巨大的页面大大减少了转换后备缓冲区未命中的数量,但总体性能的提高微不足道。