AFiD-GPU:一个求解GPU团簇壁面湍流的通用Navier-Stokes方程解
AFiD-GPU: a versatile Navier-Stokes Solver for Wall-Bounded Turbulent Flows on GPU Clusters
摘要:
AFiD代码是不可压缩纳维-斯托克斯方程({ \color{blue} \burl{http://www.afid.eu} })的开源求解器,已被移植到GPU集群中,以处理大规模的壁界湍流模拟。GPU移植已经在CUDA Fortran中进行,广泛使用内核循环指令(CUF内核),以使源代码尽可能接近原始CPU版本;只有少数例程被手动重写。一个新的转置方案,这是不限于GPU版本,一般可以应用到任何CFD代码,使用铅笔分布式并行化,已被设计,以提高缩放的泊松求解器,不可压缩求解器的主要瓶颈。对于大型网格,与CPU版本相比,GPU版本可以将挂钟时间减少一个数量级。由于性能的提高和内存的有效使用,GPU版本的AFiD可以在热驱动壁边界湍流中前所未有的参数范围内执行模拟。为了验证程序的准确性,对湍流Rayleigh-Bénard对流和平面Couette流动进行了数值模拟,结果与已有文献的实验和计算结果吻合较好。
英文摘要:
The AFiD code, an open source solver for the incompressible Navier-Stokes equations ({\color{blue}\burl{http://www.afid.eu}}), has been ported to GPU clusters to tackle large-scale wall-bounded turbulent flow simulations. The GPU porting has been carried out in CUDA Fortran with the extensive use of kernel loop directives (CUF kernels) in order to have a source code as close as possible to the original CPU version; just a few routines have been manually rewritten. A new transpose scheme, which is not limited to the GPU version only and can be generally applied to any CFD code that uses pencil distributed parallelization, has been devised to improve the scaling of the Poisson solver, the main bottleneck of incompressible solvers. The GPU version can reduce the wall clock time by an order of magnitude compared to the CPU version for large meshes. Due to the increased performance and efficient use of memory, the GPU version of AFiD can perform simulations in parameter ranges that are unprecedented in thermally-driven wall-bounded turbulence. To verify the accuracy of the code, turbulent Rayleigh-Bénard convection and plane Couette flow are simulated and the results are in good agreement with the experimental and computational data that published in previous literatures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。