首页 | 本学科首页   官方微博 | 高级检索  
     

三维Navier-Stokes方程的差分-谱方法混合法在GPU上的实现与优化
引用本文:徐莹,徐磊. 三维Navier-Stokes方程的差分-谱方法混合法在GPU上的实现与优化[J]. 计算机工程与科学, 2012, 34(8): 53-58
作者姓名:徐莹  徐磊
作者单位:上海超级计算中心,上海,201203
基金项目:国家863计划资助项目,自然科学基金青年基金资助项目
摘    要:差分-谱方法通常在槽道湍流的直接数值模拟中使用,本文主要研究差分-谱方法在单GPU卡上的实现。由于GPU的硬件发展十分迅速,不同的GPU硬件对双精度计算的支持有所不同,本文首先验证GPU上数值计算的精度,用差分-谱混合法求解标量扩散方程,并将GPU和CPU上获取的数值结果与解析解进行对比,以确定GPU上数值算法实现的精确度。标量扩散方程在Nvidia S2050单GPU卡上求解,获得接近20倍的加速比,三维不可压缩Navier-Stokes方程达到了25倍的加速比。

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

Implementation and Optimization of the Spectral-finite Difference Hybrid Scheme for 3D Navier-Stokes Equations on GPU
XU Ying , XU Lei. Implementation and Optimization of the Spectral-finite Difference Hybrid Scheme for 3D Navier-Stokes Equations on GPU[J]. Computer Engineering & Science, 2012, 34(8): 53-58
Authors:XU Ying    XU Lei
Affiliation:(Shanghai Supercomputing Center,Shanghai 201203,China)
Abstract: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 20Xspeedup.For the 3D full Navier-Stokes equation,the performance on GPU shows a 24Xspeedup.
Keywords:heterogeneous platform  GPGPU  parallel algorithm  incompressible Navier-Stokes  spectral-finite difference hybrid scheme
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号