Accelerating high-order WENO schemes using two heterogeneous GPUs

author

Abstract:

A double-GPU code is developed to accelerate WENO schemes. The test problem is a compressible viscous flow. The convective terms are discretized using third- to ninth-order WENO schemes and the viscous terms are discretized by the standard fourth-order central scheme. The code written in CUDA programming language is developed by modifying a single-GPU code. The OpenMP library is used for parallel execution of the code on both the GPUs. Data transfer between GPUs which is the main issue in developing the code, is carried out by defining halo points for numerical grids and by using a CUDA built-in function. The code is executed on a PC equipped with two heterogeneous GPUs. The computational times of different schemes are obtained and the speedups with respect to the single-GPU code are reported for different number of grid points. Furthermore, the developed code is analyzed by CUDA profiling tools. The analyze helps to further increase the code performance.

Upgrade to premium to download articles

Sign up to access the full text

Already have an account?login

similar resources

Very-high-order weno schemes

We study WENO(2r-1) reconstruction [Balsara D., Shu C.W.: J. Comp. Phys. 160 (2000) 405–452], with the mapping (WENOM) procedure of the nonlinear weights [Henrick A.K., Aslam T.D., Powers J.M.: J. Comp. Phys. 207 (2005) 542–567], which we extend up to WENO17 (r = 9). We find by numerical experiment that these procedures are essentially nonoscillatory without any stringent CFL limitation (CFL ∈ ...

full text

High-Order Energy Stable WENO Schemes

A new third-order Energy Stable Weighted Essentially NonOscillatory (ESWENO) finite difference scheme for scalar and vector linear hyperbolic equations with piecewise continuous initial conditions is developed. The new scheme is proven to be stable in the energy norm for both continuous and discontinuous solutions. In contrast to the existing highresolution shock-capturing schemes, no assumptio...

full text

High Order Weno Finite Volume Schemes Using Polyharmonic Spline Reconstruction

Polyharmonic splines are utilized in the WENO reconstruction of finite volume discretizations, yielding a numerical method for scalar conservation laws of arbitrary high order. The resulting WENO reconstruction method is, unlike previous WENO schemes using polynomial reconstructions, numerically stable and very flexible. Moreover, due to the theory of polyharmonic splines, optimal reconstructio...

full text

Resolution of high order WENO schemes for complicated flow structures

In this short note we address the issue of numerical resolution and efficiency of high order weighted essentially nonoscillatory (WENO) schemes for computing solutions containing both discontinuities and complex solution features, through two representative numerical examples: the double Mach reflection problem and the Rayleigh–Taylor instability problem. We conclude that for such solutions wit...

full text

High-Order Central WENO Schemes for Multidimensional Hamilton-Jacobi Equations

We present new thirdand fifth-order Godunov-type central schemes for approximating solutions of the Hamilton–Jacobi (HJ) equation in an arbitrary number of space dimensions. These are the first central schemes for approximating solutions of the HJ equations with an order of accuracy that is greater than two. In two space dimensions we present two versions for the third-order scheme: one scheme ...

full text

My Resources

Save resource for easier access later

Save to my library Already added to my library

{@ msg_add @}


Journal title

volume 48  issue 2

pages  161- 170

publication date 2017-12-01

By following a journal you will be notified via email when a new issue of this journal is published.

Hosted on Doprax cloud platform doprax.com

copyright © 2015-2023