一种用于统一气体动理学格式的高效且节省内存的编程范式
An efficiency and memory-saving programming paradigm for the unified gas-kinetic scheme
AI总结:
针对统一气体动理学格式(UGKS)内存需求高、计算成本大的问题,提出一种非结构网格下的新型编程范式,通过优化计算顺序和非阻塞MPI通信,大幅降低内存消耗并提升并行效率,可为离散速度方法提供参考。
摘要:
近年来,非平衡流动在航空航天工程和微机电系统领域受到广泛关注。统一气体动理学格式(unified gas-kinetic scheme, UGKS)采用直接建模的方法,在气体演化过程中耦合粒子碰撞与自由输运。然而,与其他基于离散速度的方法一样,UGKS面临着高内存需求和计算成本方面的挑战,例如在使用512核模拟类X38航天器周围的高超声速流动时,内存消耗可能达到1.32 TB。本文提出了一种适用于非结构网格的新型UGKS编程范式,重点聚焦于降低内存占用并提升并行效率。通过优化计算顺序,该方法使得物理空间中的每个单元仅需存储离散速度空间对应的分布函数,无需为斜率和残差保留完整的速度空间数据。此外,该方法还通过使用非阻塞MPI提升了并行通信性能。数值实验表明,这种新的编程策略能够有效模拟非平衡问题,同时实现高计算效率和低内存消耗。针对类X38航天器周围的高超声速流动,模拟采用1058685个物理网格单元和4548个离散速度空间网格单元,在512个CPU核心上运行时仅需168.12 GB内存,这表明UGKS的内存消耗得到了大幅降低。这种新的编程范式可为求解动理学方程的离散速度方法提供参考。
英文摘要:
In recent years, non-equilibrium flows have gained significant attention in aerospace engineering and micro-electro-mechanical systems. The unified gas-kinetic scheme (UGKS) follows the methodology of direct modeling to couple particle collisions and free transport during gas evolution. However, like other discrete-velocity-based methods, the UGKS faces challenges related to high memory requirements and computational costs, such as the possible consumption of $1.32$ TB of memory when using $512$ cores for the simulations of the hypersonic flow around an X38-like space vehicle. This paper introduces a new UGKS programming paradigm for unstructured grids, focusing on reducing memory usage and improving parallel efficiency. By optimizing the computational sequence, the current method enables each cell in physical space to store only the distribution function for the discretized velocity space, eliminating the need to retain the entire velocity space for slopes and residuals. Additionally, the parallel communication is enhanced through the use of non-blocking MPI. Numerical experiments demonstrate that the new strategy in the programming effectively simulates non-equilibrium problems while achieving high computational efficiency and low memory consumption. For the hypersonic flow around an X38-like space vehicle, the simulation, which utilizes $1,058,685$ physical mesh cells and $4,548$ discrete velocity space mesh cells, requires only $168.12$ GB of memory when executed on $512$ CPU cores. This indicates that memory consumption in the UGKS is much reduced. This new programming paradigm can serve as a reference for discrete velocity methods for solving kinetic equations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。