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 条
  • [31] The study of shallow water flow with bottom topography by high-order compact gas-kinetic scheme on unstructured mesh
    Zhao, Fengxiang
    Gan, Jianping
    Xu, Kun
    PHYSICS OF FLUIDS, 2021, 33 (08)
  • [32] High-Order Gas-Kinetic Scheme in Curvilinear Coordinates for the Euler and Navier-Stokes Solutions
    Pan, Liang
    Xu, Kun
    COMMUNICATIONS IN COMPUTATIONAL PHYSICS, 2020, 28 (04) : 1321 - 1351
  • [33] Comparison of the performance of high-order schemes based on the gas-kinetic and HLLC fluxes
    Yang, Xiaojian
    Ji, Xing
    Shyy, Wei
    Xu, Kun
    JOURNAL OF COMPUTATIONAL PHYSICS, 2022, 448
  • [34] Implicit high-order gas-kinetic schemes for compressible flows on three-dimensional unstructured meshes I: Steady flows
    Yang, Yaqing
    Pan, Liang
    Xu, Kun
    JOURNAL OF COMPUTATIONAL PHYSICS, 2024, 505
  • [35] An Arbitrary-Lagrangian-Eulerian High-Order Gas-Kinetic Scheme for Three-Dimensional Computations
    Pan, Liang
    Xu, Kun
    JOURNAL OF SCIENTIFIC COMPUTING, 2021, 88 (01)
  • [36] An Arbitrary-Lagrangian-Eulerian High-Order Gas-Kinetic Scheme for Three-Dimensional Computations
    Liang Pan
    Kun Xu
    Journal of Scientific Computing, 2021, 88
  • [37] A Two-Stage Fourth-Order Gas-Kinetic Scheme for Compressible Multicomponent Flows
    Pan, Liang
    Cheng, Junxia
    Wang, Shuanghu
    Xu, Kun
    COMMUNICATIONS IN COMPUTATIONAL PHYSICS, 2017, 22 (04) : 1123 - 1149
  • [38] Review of the High-Order TENO Schemes for Compressible Gas Dynamics and Turbulence
    Fu, Lin
    ARCHIVES OF COMPUTATIONAL METHODS IN ENGINEERING, 2023, 30 (04) : 2493 - 2526
  • [39] STREAmS: A high-fidelity accelerated solver for direct numerical simulation of compressible turbulent flows
    Bernardini, Matteo
    Modesti, Davide
    Salvadore, Francesco
    Pirozzoli, Sergio
    COMPUTER PHYSICS COMMUNICATIONS, 2021, 263
  • [40] High-order compact gas-kinetic scheme for two-layer shallow water equations on unstructured mesh
    Zhao, Fengxiang
    Gan, Jianping
    Xu, Kun
    JOURNAL OF COMPUTATIONAL PHYSICS, 2024, 498