Multiple-GPU accelerated high-order gas-kinetic scheme for direct numerical simulation of compressible turbulence

被引:5
|
作者
Wang, Yuhang [1 ]
Cao, Guiyu [2 ]
Pan, Liang [1 ]
机构
[1] Beijing Normal Univ, Sch Math Sci, Lab Math & Complex Syst, Beijing, Peoples R China
[2] Southern Univ Sci & Technol, Acad Adv Interdisciplinary Studies, Shenzhen, Peoples R China
基金
中国国家自然科学基金;
关键词
High-order gas-kinetic scheme; Direct numerical simulation; Compressible turbulence; Multiple-GPU accelerated computation; BOUNDARY-LAYER; CHANNEL FLOW; DISSIPATION; EFFICIENT; EULER;
D O I
10.1016/j.jcp.2022.111899
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
High-order gas-kinetic scheme (HGKS) has become a workable tool for the direct numerical simulation (DNS) of turbulence. In this paper, to accelerate the computation, HGKS is implemented with the graphical processing unit (GPU) using the compute unified device architecture (CUDA). Due to the limited available memory size, the computational scale is constrained by single GPU. For large-scale DNS of turbulence, we develop a multi-GPU HGKS simulation using message passing interface (MPI) and CUDA. The benchmark cases for compressible turbulence, including Taylor-Green vortex and turbulent channel flows, are presented to assess the numerical performance of HGKS with Nvidia TITAN RTX and Tesla V100 GPUs. For single-GPU computation, compared with the parallel central processing unit (CPU) code running on the Intel Core i7-9700 with open multi-processing (OpenMP) directives, 7x speedup is achieved by TITAN RTX and 16x speedup is achieved by Tesla V100. For multiple-GPU computation, multiple-GPU accelerated HGKS code scales properly with the increasing number of GPU. The computational time of parallel CPU code running on 1024 Intel Xeon E5-2692 cores with MPI is approximately 3 times longer than that of GPU code using 8 Tesla V100 GPUs with MPI and CUDA. Numerical results confirm the excellent performance of multiple-GPU accelerated HGKS for large-scale DNS of turbulence. Besides reducing memory access pressure, we also exploit single precision floating point arithmetic to accelerate HGKS on GPUs. Reasonably, compared to the computation with FP64 precision, the efficiency is improved and the memory cost is reduced with FP32 precision. Meanwhile, the differences in accuracy for statistical turbulent quantities appear. For turbulent channel flows, difference in long-time statistical turbulent quantities is acceptable between FP32 and FP64 precision solutions. While the obvious discrepancy in instantaneous turbulent quantities can be observed, which shows that FP32 precision is not safe for DNS in compressible turbulence. The choice of precision should be depended on the requirement of accuracy and the available computational resources. (c) 2022 Elsevier Inc. All rights reserved.
引用
收藏
页数:19
相关论文
共 50 条
  • [21] Engineering Simulation of Turbulence with Gas-Kinetic BGK Scheme
    Tan, S.
    Li, Q. B.
    Fu, S.
    Zeng, S.
    RECENT PROGRESSES IN FLUID DYNAMICS RESEARCH - PROCEEDINGS OF THE SIXTH INTERNATIONAL CONFERENCE ON FLUID MECHANICS, 2011, 1376
  • [22] An efficient high-order gas-kinetic scheme (I): Euler equations
    Li, Shiyi
    Chen, Yibing
    Jiang, Song
    JOURNAL OF COMPUTATIONAL PHYSICS, 2020, 415
  • [23] Three dimensional high-order gas-kinetic scheme for supersonic isotropic turbulence II: Coarse-graining analysis of compressible Ksgs budget
    Cao, Guiyu
    Pan, Liang
    Xu, Kun
    JOURNAL OF COMPUTATIONAL PHYSICS, 2021, 439
  • [24] Numerical simulation of compressible turbulent flow via improved gas-kinetic BGK scheme
    Xiong, Shengwei
    Zhong, Chengwen
    Zhuo, Congshan
    Li, Kai
    Chen, Xiaopeng
    Cao, Jun
    INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN FLUIDS, 2011, 67 (12) : 1833 - 1847
  • [25] High-Order Gas-Kinetic Methods for IdealMagnetohydrodynamics
    Huazhong TANG(LSEC
    Communications in Nonlinear Science & Numerical Simulation, 1999, (02) : 141 - 146
  • [26] A High-Order Accurate Gas-Kinetic Scheme for One- and Two-Dimensional Flow Simulation
    Liu, Na
    Tang, Huazhong
    COMMUNICATIONS IN COMPUTATIONAL PHYSICS, 2014, 15 (04) : 911 - 943
  • [27] High-Order Gas-Kinetic Scheme in General Curvilinear Coordinate for iLES of Compressible Wall-Bounded Turbulent Flows
    Cao, Guiyu
    Pan, Liang
    Xu, Kun
    Chen, Shiyi
    JOURNAL OF SCIENTIFIC COMPUTING, 2024, 101 (02)
  • [28] High-order gas-kinetic methods for ideal magnetohydrodynamics
    LSEC, Inst. of Computational Mathematics, Academia Sinica, Beijing 100080, China
    Comm. Nonlinear Sci. Numer. Simul., 2 (141-146):
  • [29] A gas-kinetic theory based multidimensional high-order method for the compressible Navier–Stokes solutions
    Xiaodong Ren
    Kun Xu
    Wei Shyy
    Acta Mechanica Sinica, 2017, 33 (04) : 733 - 741
  • [30] A gas-kinetic theory based multidimensional high-order method for the compressible Navier–Stokes solutions
    Xiaodong Ren
    Kun Xu
    Wei Shyy
    Acta Mechanica Sinica, 2017, 33 : 733 - 741