Abstract: | The parallel acceleration of well-developed serial codes for numerical simulations of fluid dynamic problems is implemented in this paper. To solve the flow field,the lattice Boltzmann method( LBM) is used. The OpenACC( OpenACCelerator) application programming interface,which is a relatively new standard for parallel computation,is adopted to perform the acceleration. By parallelizing the computation intensive loops and decreasing some meaningless data movement,the serial codes based on LBM are obviously accelerated. Several benchmark problems are considered and then simulated through the OpenACC programming model to assess performance and computational efficiency. After optimization,a reasonable speedup is obtained in comparison with the original version. |