格子Boltzmann方法三维并行程序设计  被引量:1

A three dimensional parallel implementation of lattice Boltzmann method

在线阅读下载全文

作  者:梁功有[1] 曾忠[1,2] 张良奇[1] 谢海琼[1] 

机构地区:[1]重庆大学资源及环境科学学院工程力学系,重庆400044 [2]重庆大学煤矿灾害动力学与控制国家重点实验室,重庆400044

出  处:《水动力学研究与进展(A辑)》2011年第5期531-537,共7页Chinese Journal of Hydrodynamics

基  金:国家自然科学基金项目(10872222);重庆市科委自然科学基金计划资助项目(2009BB4207)

摘  要:采用单松弛不可压缩D3Q19格子Boltzmann模型,自主开发了基于性能优化和MPI并行的程序包。程序通过合并碰撞迁移过程和引入临时数组以连续读入分布函数的优化处理,使程序计算性能得以大幅提高。并行程序在遵循负载均衡原则下采用单向区域分解,使用非阻塞通信模式进行数据交换,同时采用并行I/O以便各个进程同步进行I/O操作。通过对三维顶盖驱动流的数值模拟,验证了该程序的正确性及其并行效率。In this paper, a MPI parallel code was developed with the incompressible D3Q19 single-relaxation-time lattice Boltzmann model. Combining the collision and propagation step and reading distribution functions continuously with the help of a temporary array, the performance of code was greatly improved. According to the principle of load balance, the computational zone was partitioned at the z direction. In order to ensure data exchange among adjacent ranks, the non-blocking communication pattern was used to send/receive messages. Based on the MPI I/O system, the I/O operation among all the ranks can be done synchronously. For the sake of the validation of accuracy and reliability, three dimensional lid-driven cavity flow was numerically simulated by the present code. The result indicates that good parallel efficiency is achieved.

关 键 词:格子BOLTZMANN方法 MPI并行 消息传递 并行I/O 顶盖驱动流 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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