摘要
针对LBM在应用过程中计算规模过大的问题,提出了一种优化算法。该算法明显改善了计算时间过长的问题;对访问的边界数据进行特殊处理,减少了分支判断逻辑;根据三维岩石微观图像的特点进行了空间结构优化,避免了无效格子点在线程中的运行,提高了GPU运算效率。实验结果表明,优化后的计算速度有明显提升。
In this paper, an optimization algorithm is proposed for the huge amount of calculation of Lattice Boltzmann method in the application process. It significantly improves the problem that the computation time is too long. Special handling to boundary data accessed reduces the branching decision logic. According to three-dimensional microscopic images of rock characteristics , spatial structure is optimized to avoid invalid grid point in the thread to run, which improves the efficiency of GPU computing. The experimental results show that the speed of the optimized calculation has improved significantly.
出处
《微型机与应用》
2014年第3期27-30,共4页
Microcomputer & Its Applications
基金
国家自然科学基金(60972130
61372174)