基于浸入边界法的非定常流动求解器的大规模并行化与性能提升
Massive parallelization and performance enhancement of an immersed boundary method based unsteady flow solver
AI总结:
本文使用OpenACC将基于浸入边界法的CFD求解器移植到GPU,实现大规模并行化,相较CPU并行版本加速达O(10)量级,并验证了其随网格规模的良好可扩展性。
摘要:
随着高性能计算硬件和软件框架的进步,非定常流体流动的高保真模拟如今已成为可能。由于计算流体力学(CFD)计算以线性代数例程为主,通过在图形处理单元(GPU)上进行大规模并行化可以显著加速这些计算。因此,高保真CFD求解器的GPU实现对于缩短周转时间、加快设计空间探索至关重要。在本工作中,一个基于浸入边界法(IBM)的内部流动求解器已使用OpenACC(一种基于编译器指令的异构并行编程框架)移植到GPU上。在各种可用的GPU移植途径中,选择OpenACC是因为其代码侵入最小、开发时间短,并且与OpenMP(一种类似的基于指令的共享内存编程框架)高度相似。本文给出了并行求解器在CPU和GPU上实现的详细验证研究和性能分析。GPU实现相较于CPU并行版本显示出高达O(10)数量级的加速,相较于串行代码则高达O(10^2)数量级。由于GPU处理器核心的高效利用,GPU实现还随着网格尺寸的增加而表现出良好的可扩展性。
英文摘要:
High-fidelity simulations of unsteady fluid flow are now possible with advancements in high-performance computing hardware and software frameworks. Since computational fluid dynamics (CFD) computations are dominated by linear algebraic routines, they can be significantly accelerated through massive parallelization on graphics processing units (GPUs). Thus, GPU implementation of high-fidelity CFD solvers is essential in reducing the turnaround time for quicker design space exploration. In the present work, an immersed boundary method (IBM) based in-house flow solver has been ported to the GPU using OpenACC, a compiler directive-based heterogeneous parallel programming framework. Out of various GPU porting pathways available, OpenACC was chosen because of its minimum code intrusion, low development time, and striking similarity with OpenMP, a similar directive-based shared memory programming framework. A detailed validation study and performance analysis of the parallel solver implementations on the CPU and GPU are presented. The GPU implementation shows a speedup up to the order $O(10)$ over the CPU parallel version and up to the order $O(10^2)$ over the serial code. The GPU implementation also scales well with increasing mesh size owing to the efficient utilization of the GPU processor cores.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。