Parallel computing and numerical analysis of laminar diffusion combustion on GPU
WEI Haoyang1,2,ZENG Guosun1,2,DING Chunling3
1. Department of Computer Science and Technology, Tongji University, Shanghai 200092, China;
2. Tongji Branch, National Engineering and Technology Center of High Performance Computer, Shanghai 200092, China;
3. Department of Chemistry, Tongji University, Shanghai 200092, China
Abstract:In practical engineering applications, using traditional CPU serial computation for combustion numerical simulation can hardly meet the requirements on simulation speed. This paper took the advantage of GPU which has more computing capability than CPU, by discretizing the combustion physical equations on staggered grid, solving the discrete equations with preconditioned bi-conjugate gradient stabilized (PBiCGSTAB) method, exploring the parallel algorithm of GPU-oriented matrix vector multiplication and the parallel algorithm of inverse matrix vector multiplication. Hence a feasible method for numerical calculation of laminar diffusion combustion on GPU was offered. The experimental results indicate that the parallel program on GPU achieved more than 10 times speedup relative to serial program on CPU. Since the calculated results are in line with the actual situation, the method is feasible and efficient.