利用 BSAMR 研究 CPU 和 GPU 上不可压缩流动模拟的效率
Investigate the efficiency of incompressible flow simulations on CPUs and GPUs with BSAMR
AI总结:
本文通过参数研究评估 BSAMR 在 CPU/GPU 上模拟不可压缩流动的效率,并提出投影跳过方法及经验配置准则。
摘要:
自适应网格加密(AMR)是一项在需要之处进行空间局部加密的经典技术,因此可有效降低基于 HPC 的物理模拟的计算成本。尽管 AMR 已使用多年,但鲜有可复现研究讨论基于软件的参数对块结构 AMR(BSAMR)效率的影响,以及应如何选择这些参数。本文主要开展参数研究,以考察块结构自适应网格上不可压缩流动的计算效率。所研究参数包括加密块大小、加密频率、最大层级和循环方法。文中提出了一种新的投影跳过(PS)方法,为在何时以及何处可以安全省略较粗层级上的投影提供了见解。我们在不同 CPU/GPU 上针对多种二维/三维不可压缩流动案例进行了大量测试,包括气泡、RT 不稳定性、Taylor Green 涡等。研究得到了若干有价值的经验结论,可帮助指导使用 BSAMR 的模拟。代码和所有性能分析数据均可在 GitHub 上获取。
英文摘要:
Adaptive mesh refinement (AMR) is a classical technique about local refinement in space where needed, thus effectively reducing computational costs for HPC-based physics simulations. Although AMR has been used for many years, little reproducible research discusses the impact of software-based parameters on block-structured AMR (BSAMR) efficiency and how to choose them. This article primarily does parametric studies to investigate the computational efficiency of incompressible flows on a block-structured adaptive mesh. The parameters include refining block size, refining frequency, maximum level, and cycling method. A new projection skipping (PS) method is proposed, which brings insights about when and where the projections on coarser levels are safe to be omitted. We conduct extensive tests on different CPUs/GPUs for various 2D/3D incompressible flow cases, including bubble, RT instability, Taylor Green vortex, etc. Several valuable empirical conclusions are obtained to help guide simulations with BSAMR. Codes and all profiling data are available on GitHub.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。