一个高性能和可移植的全马赫流态解算程序,具有良好的重力平衡。应用于可压缩对流
A high performance and portable all-Mach regime flow solver code with well-balanced gravity. Application to compressible convection
摘要:
对流是天体物理学中的一个重要物理过程,在Boussinesq和/或滞弹性近似下,对流的数值模拟得到了很好的研究。然而,当可压缩效应在高马赫流状态下很重要时,例如在恒星大气中或存在吸积激波时,这些方法达到了它们的极限。为了解决这些问题,我们提出了一个新的高性能和便携式的代码,称为"ARK"的数值求解器非常适合分层可压缩纳维-斯托克斯方程。我们采用有限体积方法,具有机器精度的质量守恒,横向动量和总能量。基于应用数学中以前的工作,我们建议使用低马赫数修正,以实现在低马赫和高马赫状态下的良好精度。重力源项采用平衡格式离散化,以达到机器精密静液平衡。这个新的求解器是使用Kokkos库实现的,以实现跨不同架构(例如多核,众核和GP-GPU)的高性能计算和可移植性。我们表明,低马赫数修正允许达到低马赫制度比一个标准的戈多诺夫型的方法有更好的精度。结合良好的平衡特性和低马赫数修正,使我们能够在临界瑞利数附近触发瑞利-贝纳德对流模式。此外,我们提出了三维湍流Rayleigh-Bénard对流与低扩散使用低马赫校正导致更高的动能功率谱。这些结果对天体物理中高马赫数和高度分层对流问题的进一步研究具有重要意义。
英文摘要:
Convection is an important physical process in astrophysics well-studied using numerical simulations under the Boussinesq and/or anelastic approximations. However these approaches reach their limits when compressible effects are important in the high Mach flow regime, e.g. in stellar atmospheres or in the presence of accretion shocks. In order to tackle these issues, we propose a new high performance and portable code, called "ARK" with a numerical solver well-suited for the stratified compressible Navier-Stokes equations. We take a finite volume approach with machine precision conservation of mass, transverse momentum and total energy. Based on previous works in applied mathematics we propose the use of a low Mach correction to achieve a good precision in both low and high Mach regimes. The gravity source term is discretized using a well-balanced scheme in order to reach machine precision hydrostatic balance. This new solver is implemented using the Kokkos library in order to achieve high performance computing and portability across different architectures (e.g. multi-core, many-core, and GP-GPU). We show that the low-Mach correction allows to reach the low-Mach regime with a much better accuracy than a standard Godunov-type approach. The combined well-balanced property and the low-Mach correction allowed us to trigger Rayleigh-Bénard convective modes close to the critical Rayleigh number. Furthermore we present 3D turbulent Rayleigh-Bénard convection with low diffusion using the low-Mach correction leading to a higher kinetic energy power spectrum. These results are very promising for future studies of high Mach and highly stratified convective problems in astrophysics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。