CUDA Implementation of a Euler Solver for Cartesian Grid
Yang Liu, Yufei Pang, Bo Chen, Hanshan Xiao, Hanli Bai · 2013
Based on the features of GPU architecture, this paper introduces CUDA into an existing Euler solver software for a 3-D Cartesian grid. Theories and Techniques used to solve the equations with finite volume methods using an explicit scheme are described. Two versions of GPU-based Cart Solver are implemented and optimized. For a real and complex model, the implementation on a NVIDIA GTX460se GPU by employing compute unified device architecture (CUDA) achieves up to an expected 8.5× speedup over a serial single-threaded Intel i7 CPU solver, and positively affects the practical applications with great engineering significance. The experimental results validate the correctness and accuracy of the solvers, and the great effect of optimization methods is also approved.