OpenACC acceleration of an unstructured CFD solver based on a reconstructed discontinuous Galerkin method for compressible flows

被引:19
|
作者
Xia, Yidong [1 ]
Lou, Jialin [1 ]
Luo, Hong [1 ]
Edwards, Jack [1 ]
Mueller, Frank [2 ]
机构
[1] N Carolina State Univ, Dept Mech & Aerosp Engn, Raleigh, NC 27695 USA
[2] N Carolina State Univ, Dept Comp Sci, Raleigh, NC 27695 USA
关键词
GPU computing; OpenACC; CUDA; discontinuous Galerkin; compressible flow; Navier-Stokes equations; NAVIER-STOKES; CODE;
D O I
10.1002/fld.4009
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
An OpenACC directive-based graphics processing unit (GPU) parallel scheme is presented for solving the compressible Navier-Stokes equations on 3D hybrid unstructured grids with a third-order reconstructed discontinuous Galerkin method. The developed scheme requires the minimum code intrusion and algorithm alteration for upgrading a legacy solver with the GPU computing capability at very little extra effort in programming, which leads to a unified and portable code development strategy. A face coloring algorithm is adopted to eliminate the memory contention because of the threading of internal and boundary face integrals. A number of flow problems are presented to verify the implementation of the developed scheme. Timing measurements were obtained by running the resulting GPU code on one Nvidia Tesla K20c GPU card (Nvidia Corporation, Santa Clara, CA, USA) and compared with those obtained by running the equivalent Message Passing Interface (MPI) parallel CPU code on a compute node (consisting of two AMD Opteron 6128 eight-core CPUs (Advanced Micro Devices, Inc., Sunnyvale, CA, USA)). Speedup factors of up to 24x and 1.6x for the GPU code were achieved with respect to one and 16 CPU cores, respectively. The numerical results indicate that this OpenACC-based parallel scheme is an effective and extensible approach to port unstructured high-order CFD solvers to GPU computing. Copyright (c) 2015John Wiley & Sons, Ltd.
引用
收藏
页码:123 / 139
页数:17
相关论文
共 50 条
  • [1] Application of nonlinear Krylov acceleration to a reconstructed discontinuous Galerkin method for compressible flows
    Wang, Chuanjin
    Cheng, Jian
    Berndt, Markus
    Carlson, Neil N.
    Luo, Hong
    [J]. COMPUTERS & FLUIDS, 2018, 163 : 32 - 49
  • [2] A reconstructed discontinuous Galerkin method based on variational formulation for compressible flows
    Li, Lingquan
    Liu, Xiaodong
    Luo, Hong
    [J]. JOURNAL OF COMPUTATIONAL PHYSICS, 2022, 466
  • [3] A variational reconstructed discontinuous Galerkin method for the steady-state compressible flows on unstructured grids
    Cheng, Jian
    Liu, Tiegang
    [J]. JOURNAL OF COMPUTATIONAL PHYSICS, 2019, 380 : 65 - 87
  • [4] A reconstructed discontinuous Galerkin method for compressible flows in Lagrangian formulation
    Wang, Chuanjin
    Luo, Hong
    Shashkov, Mikhail
    [J]. COMPUTERS & FLUIDS, 2020, 202
  • [5] A hybrid reconstructed discontinuous Galerkin method for compressible flows on arbitrary grids
    Cheng, Jian
    Liu, Tiegang
    Luo, Hong
    [J]. COMPUTERS & FLUIDS, 2016, 139 : 68 - 79
  • [6] A reconstructed discontinuous Galerkin method for compressible flows on moving curved grids
    Wang, Chuanjin
    Luo, Hong
    [J]. ADVANCES IN AERODYNAMICS, 2021, 3 (01)
  • [7] A Parallel, Reconstructed Discontinuous Galerkin Method for the Compressible Flows on Arbitrary Grids
    Luo, Hong
    Luo, Luqing
    Ali, Amjad
    Nourgaliev, Robert
    Cai, Chunpei
    [J]. COMMUNICATIONS IN COMPUTATIONAL PHYSICS, 2011, 9 (02) : 363 - 389
  • [8] A reconstructed discontinuous Galerkin method for compressible flows on moving curved grids
    Chuanjin Wang
    Hong Luo
    [J]. Advances in Aerodynamics, 3
  • [9] A reconstructed discontinuous Galerkin method based on a Hierarchical WENO reconstruction for compressible flows on tetrahedral grids
    Luo, Hong
    Xia, Yidong
    Spiegel, Seth
    Nourgaliev, Robert
    Jiang, Zonglin
    [J]. JOURNAL OF COMPUTATIONAL PHYSICS, 2013, 236 : 477 - 492
  • [10] A hybrid reconstructed discontinuous Galerkin and continuous Galerkin finite element method for incompressible flows on unstructured grids
    Pandare, Aditya K.
    Luo, Hong
    [J]. JOURNAL OF COMPUTATIONAL PHYSICS, 2016, 322 : 491 - 510