Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

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

Journal Article · · International Journal for Numerical Methods in Fluids
DOI:https://doi.org/10.1002/fld.4009· OSTI ID:1249553
 [1];  [2];  [2];  [2];  [2]
  1. Idaho National Lab. (INL), Idaho Falls, ID (United States)
  2. North Carolina State Univ., Raleigh, NC (United States)
Here, 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 24× and 1.6× 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.
Research Organization:
Idaho National Laboratory, Idaho Falls, ID (United States)
Sponsoring Organization:
USDOE
Grant/Contract Number:
AC07-05ID14517
OSTI ID:
1249553
Report Number(s):
INL/JOU--15-34041
Journal Information:
International Journal for Numerical Methods in Fluids, Journal Name: International Journal for Numerical Methods in Fluids Journal Issue: 3 Vol. 78; ISSN 0271-2091
Publisher:
WileyCopyright Statement
Country of Publication:
United States
Language:
English

References (34)

Applied Computational Fluid Dynamics Techniques journal March 2008
Running unstructured grid-based CFD solvers on modern graphics hardware
  • Corrigan, Andrew; Camelli, Fernando F.; Löhner, Rainald
  • International Journal for Numerical Methods in Fluids, Vol. 66, Issue 2 https://doi.org/10.1002/fld.2254
journal April 2011
Unsteady CFD computations using vertex-centered finite volumes for unstructured grids on Graphics Processing Units journal May 2010
Semi-automatic porting of a large-scale Fortran CFD code to GPUs
  • Corrigan, Andrew; Camelli, Fernando; Löhner, Rainald
  • International Journal for Numerical Methods in Fluids, Vol. 69, Issue 2 https://doi.org/10.1002/fld.2560
journal May 2011
High-order CFD methods: current status and perspective: HIGH-ORDER CFD METHODS journal January 2013
Average-State Jacobians and Implicit Methods for Compressible Viscous and Turbulent Flows journal October 1997
The Runge–Kutta Discontinuous Galerkin Method for Conservation Laws V journal April 1998
Using Compiler Directives for Accelerating CFD Applications on GPUs book January 2012
OpenACC — First Experiences with Real-World Applications book January 2012
High-Re solutions for incompressible flow using the Navier-Stokes equations and a multigrid method journal December 1982
Discontinuous Galerkin solution of the Reynolds-averaged Navier–Stokes and k–ω turbulence model equations journal May 2005
A set of parallel, implicit methods for a reconstructed discontinuous Galerkin method for compressible flows on 3D hybrid grids journal July 2014
An implicit Hermite WENO reconstruction-based discontinuous Galerkin method on tetrahedral grids journal June 2014
A p-multigrid discontinuous Galerkin method for the Euler equations on unstructured grids journal January 2006
A discontinuous Galerkin method based on a Taylor basis for the compressible flows on arbitrary grids journal October 2008
Large calculation of the flow over a hypersonic vehicle using a GPU journal December 2008
Nodal discontinuous Galerkin methods on graphics processors journal November 2009
A reconstructed discontinuous Galerkin method for the compressible Navier–Stokes equations on arbitrary grids journal September 2010
A class of hybrid DG/FV methods for conservation laws II: Two-dimensional cases journal February 2012
A Hermite WENO reconstruction-based discontinuous Galerkin method for the Euler equations on tetrahedral grids journal June 2012
A reconstructed discontinuous Galerkin method based on a Hierarchical WENO reconstruction for compressible flows on tetrahedral grids journal March 2013
GPU acceleration of an unmodified parallel finite element Navier-Stokes solver conference June 2009
OpenCL: A Parallel Programming Standard for Heterogeneous Computing Systems journal May 2010
A Survey of General-Purpose Computation on Graphics Hardware journal March 2007
Acceleration of a CFD Code with a GPU journal January 2010
Acceleration of a 3D Euler Solver Using Commodity Graphics Hardware conference June 2012
Rapid Aerodynamic Performance Prediction on a Cluster of Graphics Processing Units
  • Phillips, Everett; Zhang, Yao; Davis, Roger
  • 47th AIAA Aerospace Sciences Meeting including The New Horizons Forum and Aerospace Exposition https://doi.org/10.2514/6.2009-565
conference June 2012
CUDA Implementation of a Navier-Stokes Solver on Multi-GPU Desktop Platforms for Incompressible Flows conference June 2012
An MPI-CUDA Implementation for Massively Parallel Incompressible Flow Computations on Multi-GPU Clusters
  • Jacobsen, Dana; Thibault, Julien; Senocak, Inanc
  • 48th AIAA Aerospace Sciences Meeting Including the New Horizons Forum and Aerospace Exposition https://doi.org/10.2514/6.2010-522
conference June 2012
Porting of an Edge-Based CFD Solver to GPUs
  • Corrigan, Andrew; Camelli, Fernando; Löhner, Rainald
  • 48th AIAA Aerospace Sciences Meeting Including the New Horizons Forum and Aerospace Exposition https://doi.org/10.2514/6.2010-523
conference June 2012
High-Order Spectral Difference: Verification and Acceleration using GPU Computing conference June 2013
Directive-Based GPU Programming for Computational Fluid Dynamics conference January 2014
A Parallel, Reconstructed Discontinuous Galerkin Method for the Compressible Flows on Arbitrary Grids journal February 2011
A Reconstructed Discontinuous Galerkin Method for the Euler Equations on Arbitrary Grids journal November 2012

Cited By (3)

Nekbone performance on GPUs with OpenACC and CUDA Fortran implementations journal July 2016
Optimization and acceleration of flow simulations for CFD on CPU/GPU architecture journal June 2019
High-Order Hyperbolic Navier-Stokes Reconstructed Discontinuous Galerkin Method for Unsteady Flows conference June 2019

Similar Records

Developing an ELM Ecosystem Dynamics Model on GPU with OpenACC
Conference · Wed Jun 01 00:00:00 EDT 2022 · OSTI ID:1879940

Nekbone performance on GPUs with OpenACC and CUDA Fortran implementations
Journal Article · Mon Jul 18 00:00:00 EDT 2016 · Journal of Supercomputing · OSTI ID:1565549

Nek5000 with OpenACC
Journal Article · · Lecture Notes in Computer Science · OSTI ID:1567377