三维Navier-Stokes方程的差分-谱方法混合法在GPU上的实现与优化  

Implementation and Optimization of the Spectral-finite Difference Hybrid Scheme for 3D Navier-Stokes Equations on GPU

在线阅读下载全文

作  者:徐莹[1] 徐磊[1] 

机构地区:[1]上海超级计算中心,上海201203

出  处:《计算机工程与科学》2012年第8期53-58,共6页Computer Engineering & Science

基  金:国家863计划资助项目(2012AA01A308);自然科学基金青年基金资助项目(10902063)

摘  要:差分-谱方法通常在槽道湍流的直接数值模拟中使用,本文主要研究差分-谱方法在单GPU卡上的实现。由于GPU的硬件发展十分迅速,不同的GPU硬件对双精度计算的支持有所不同,本文首先验证GPU上数值计算的精度,用差分-谱混合法求解标量扩散方程,并将GPU和CPU上获取的数值结果与解析解进行对比,以确定GPU上数值算法实现的精确度。标量扩散方程在Nvidia S2050单GPU卡上求解,获得接近20倍的加速比,三维不可压缩Navier-Stokes方程达到了25倍的加速比。The approach of accelerating the applications with GPUs already delivers impressive computational performance compared to the traditional CPU. The hardware architecture of GPU is a significant departure from CPUs,hence the redesign and validation of the numerical algorithm are required. The spectral-finite-difference scheme is usually used in the direction, and the numerical simulation (DNS) of turbulent channel flows is studied. In order to validate the numerical accuracy,the scalar diffusion equation is first solved with this scheme,and the results from GPU and CPU are validated with the analytical solution. The performance study of the scalar diffusion equation shows at least 20X speedup. For the 3D full Navier-Stokes equation,the performance on GPU shows a 24X speedup.

关 键 词:异构平台 GPGPU 并行算法 不可压缩NAVIER-STOKES方程 差分-谱方法混合法 

分 类 号:O357.1[理学—流体力学] O246[理学—力学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象