上海大学学报(自然科学版) ›› 2023, Vol. 29 ›› Issue (3): 473-.doi: 10.12066/j.issn.1007-2861.2303

• • 上一篇    下一篇

单层缓冲区多层网格的格子Boltzmann方法

杨子韬,王良军,朱文浩,丁虎,张武   

  1. 1. 上海大学 力学与工程科学学院,上海 200072; 2. 上海大学 信息化工作办公室,上海 200444; 3. 上海大学 上海市应用数学和力学研究所,上海 200072
  • 收稿日期:2020-01-19 接受日期:2021-05-14 出版日期:2023-06-30 发布日期:2023-07-12
  • 通讯作者: 张武 (1957—),男,教授,博士生导师,博士,研究方向为高性能计算、计算流体力学等. E-mail:wzhang@shu.edu.cn
  • 基金资助:
    国家自然科学基金重大研究计划重点项目(91630206); 上海市教委创新重点项目资助(No. 2019-01-07-00-09-E00018)

Multilayer-mesh lattice Boltzmann method with single layer buffer

YANG Zitao,WANG Liangjun,ZHU Wenhao,DING Hu,ZHANG Wu   

  1. 1.School of Mechanics and Engineering Science, Shanghai University, Shanghai 200072, China; 2. Information Technology Office, Shanghai University, Shanghai 200444, China; 3. Shanghai Institute of Applied Mathematics and Mechanics, Shanghai University, Shanghai 200072, China
  • Received:2020-01-19 Accepted:2021-05-14 Online:2023-06-30 Published:2023-07-12

摘要: 针对多层网格格子 Boltzmann 方法(lattice Boltzmann method, LBM), 发展了一种无需时间插值的、基于单层缓冲区的粗细网格信息传递优化算法. 该算法利用四叉树结构, 构建不同层级格点之间的父子关系, 简化了粗细网格交界面上的分布函数转换, 可以充分发挥LBM 的局部性与并行性. 基于该算法开发了一套通用的多层网格 LBM 并行程序, 对顶盖驱动方腔流、点声源扩散、NACA0012 翼型绕流问题进行了数值计算, 计算结果验证了该算法和程序的有效性及其良好的加速比、效率和可扩展性等并行性能. 与标准 LBM 相比, 本文基于单层缓冲区的多层网格 LBM 在计算稳定性、收敛速度和计算效率等方面具有明显优势.

关键词: 格子 Boltzmann 方法, 单层缓冲区, 多层网格, 并行计算, 性能评估

Abstract: Based on the multilayer-mesh lattice Boltzmann method (LBM), an information transfer optimization algorithm using a single-layer buffer without time interpolation is developed in this study. The algorithm uses a quadtree structure to construct the parent–child relationship between lattice points at different neighboring levels of mesh, simplifies the transformation of distribution function on the interface of coarse and fine meshes, and fully exploits the locality and parallelism of LBM. A general parallel program of the multilayer-mesh LBM is developed to simulate lid-driven cavity flow, point sound source diffusion, and flow around an NACA0012 airfoil. Numerical results show that the developed algorithm and program are very effective and exhibit excellent speedup, efficiency, and scalability. Compared with the standard LBM, the multilayer-mesh LBM with a single-layer buffer has obvious advantages in terms of computational stability, convergence speed, and computational efficiency.

Key words: lattice Boltzmann method, single-layer bu?er, multilayer mesh, parallel computing, performance evaluation

中图分类号: