Optimization and acceleration of flow simulations for CFD on CPU/GPU architecture

被引:11
|
作者
Lei, Jiang [1 ]
Li, Da-li [1 ]
Zhou, Yun-long [1 ]
Liu, Wei [1 ]
机构
[1] Natl Univ Def Technol, Coll Aerosp Sci & Engn, Changsha 410073, Hunan, Peoples R China
关键词
Euler equation; GPU; CUDA; CFD; DIRECT NUMERICAL-SIMULATION; INCOMPRESSIBLE FLOWS; GPU; SOLVER;
D O I
10.1007/s40430-019-1793-9
中图分类号
TH [机械、仪表工业];
学科分类号
0802 ;
摘要
With the increasing requirement of high computational power in computational fluid dynamics (CFD) field, the graphic processing units (GPUs) with great floating-point computing capability play more important roles. This work explores the porting of an Euler solver from central processing units (CPUs) to three different CPU/GPU heterogeneous hardware platforms using MUSCL and NND schemes, and then the computational acceleration of one-dimensional (1D) Riemann problem and two-dimensional (2D) flow past a forward-facing step is investigated. Based on hardware structures, memory models and programming methods, the working manner of heterogeneous systems was firstly introduced in this paper. Subsequently, three different heterogeneous methods employed in the current study were presented in detail, while porting all parts of the solver loop to GPU possessed the best performance among them. Several optimization strategies suitable for the solver were adopted to achieve substantial execution speedups, while using shared memory on GPU was relatively rarely reported in CFD literature. Finally, the simulation of 1D Riemann verified the reliability of the modified codes on GPU, demonstrating strong ability in capturing discontinuities of both schemes. The two cases with their 1D computational domains discretized into 10,000 cells both realized a speedup exceeding 25, compared to that executed on a single-core CPU. In simulation of the 2D step flow, we came to the highest speedups of 260 for MUSCL scheme with 800x400 mesh size and 144 for NND scheme with 400x200 computational domain, respectively.
引用
收藏
页数:15
相关论文
共 50 条
  • [1] Optimization and acceleration of flow simulations for CFD on CPU/GPU architecture
    Jiang Lei
    Da-li Li
    Yun-long Zhou
    Wei Liu
    Journal of the Brazilian Society of Mechanical Sciences and Engineering, 2019, 41
  • [2] GPU Acceleration of CFD Simulations in OpenFOAM
    Piscaglia, Federico
    Ghioldi, Federico
    AEROSPACE, 2023, 10 (09)
  • [3] Acceleration of supersonic/hypersonic reactive CFD simulations via heterogeneous CPU-GPU supercomputing
    Ghioldi, F.
    Piscaglia, F.
    COMPUTERS & FLUIDS, 2023, 266
  • [4] A hybrid CPU-GPU paradigm to accelerate reactive CFD simulations
    Ghioldi, Federico
    Piscaglia, Federico
    INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN FLUIDS, 2024, 96 (08) : 1461 - 1488
  • [5] Heterogeneous CPU/GPU co-execution of CFD simulations on the POWER9 architecture: Application to airplane aerodynamics
    Borrell, R.
    Dosimont, D.
    Garcia-Gasulla, M.
    Houzeaux, G.
    Lehmkuhl, O.
    Mehta, V
    Owen, H.
    Vazquez, M.
    Oyarzun, G.
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2020, 107 : 31 - 48
  • [6] An Optimization of FMM under CPU plus GPU Heterogeneous Architecture
    Zhu, Yonghua
    Lu, Xiao
    PROCEEDINGS OF THE 2012 IEEE 14TH INTERNATIONAL CONFERENCE ON COMMERCE AND ENTERPRISE COMPUTING (CEC 2012), 2012, : 147 - 150
  • [7] Cluster optimization algorithm based on CPU and GPU hybrid architecture
    Fei Yin
    Feng Shi
    Cluster Computing, 2022, 25 : 2601 - 2611
  • [8] Cluster optimization algorithm based on CPU and GPU hybrid architecture
    Yin, Fei
    Shi, Feng
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2022, 25 (04): : 2601 - 2611
  • [9] Acceleration of a CFD code with a GPU
    Jespersen, Dennis C.
    SCIENTIFIC PROGRAMMING, 2010, 18 (3-4) : 193 - 201
  • [10] Portable implementation model for CFD simulations. Application to hybrid CPU/GPU supercomputers
    Oyarzun, Guillermo
    Borrell, Ricard
    Gorobets, Andrey
    Oliva, Assensi
    INTERNATIONAL JOURNAL OF COMPUTATIONAL FLUID DYNAMICS, 2017, 31 (09) : 396 - 411