从图形处理器(GPU)架构特点出发,提出了基于数据并行的隐式计算流体力学(CFD)求解方法,空间离散格式采用迎风Roe格式,计算网格适用于结构和非结构网格。采用统一计算设备架构(CUDA)技术实现了GPU上的隐式CFD并行计算。分别在Intel Core2 Quad3.0GHzCPU和NVIDIAGTX280 GPU上进行了计算,结果表明隐式格式计算速度是显式格式6倍以上,采用显式格式的计算加速比达到28倍,采用隐式格式计算加速比达到了28.7倍,同时计算加速比随计算规模的增加而增加。计算结果和实验结果较为吻合。
Based on the features of the graphics processing unit (GPU) architecture,an implicit data-parallel scheme is developed to solve computaitional fluid dynamics (CFD) problems. The proposed method is applicable to structured and unstructured meshes and uses an upwind scheme to achieve more accurate results. The method is implemented on NVIDIA GTX280 GPU by employing compute unifified device anchitecture (CUDA) technology and compared with Intel Core 2 Quad 3.0 GHz CPU. The results indicate that the implicit scheme proposed in this article is 6 times faster than the explicit scheme with the same hardware and the computation is sped up to 28.7 times by using the GPU and implicit scheme comparing to 28 times by using explicit scheme,and it will be more efficient for larger scale problems. Finally,the results with this scheme exhibit good agreement with existing experimental data.