首页|一种快速自适应LBM多层网格生成方法

一种快速自适应LBM多层网格生成方法

扫码查看
基于笛卡儿网格的格子Boltzmann方法具有降低计算复杂度,易于自适应和处理复杂边界条件等优势,然而非贴体的特性导致在计算复杂几何或复杂流动时通常需要过大的网格量。为了缓解这个问题,对复杂几何进行局部的网格加密是一个有效的手段。其中,实现局部网格加密的关键在于快速网格生成和不同尺度网格之间的映射关系。本文通过设计新的数据结构和基于射线交点算法,提出了一种新的快速网格生成算法,并将其应用在两种基本单元下的多层网格格子Boltzmann方法中,从而进一步发展高效的网格生成技术。考虑射线法的算法特性,经预处理后的射线,通过新的数据结构可大幅度减少需要检索的物面单元数量。对于两种基本单元下的几何自适应多层网格,格心格式通过叉树结构构建不同层之间的网格映射关系,格点格式通过背景网格重叠确定映射关系。在两种格式的网格结果中,格心格式的多层网格受加密次数的影响相对较小,在加密9次的千万网格点量级下达到约589万个/s网格点的生成效率。格点格式受加密次数的影响较大,但在千万量级下仍达到约66万个/s网格点的生成效率,比目前已有方法提高了约40倍的效率。最后通过二维圆柱绕流、三维圆球绕流和三维潜艇的绕流求解验证了网格算法的准确性。
A fast adaptive LBM multi-layer grid generation method
The lattice Boltzmann method,which is based on a Cartesian grid,offers advantages such as reduced computational complexity,easy adaptability,and the ability to handle complex boundary conditions.However,its non-conforming characteristics require an excessive number of grids when complex geometries or flows are simulated.To alleviate this issue,local grid refinement can be used for complex geometries.The achievement of local grid refinement depends on rapid grid generation and the mapping relationship between grids of different scales.This study proposes a new rapid grid generation algorithm by designing a novel data structure and a ray intersection algorithm.The algorithm is applied to the multi-layer grid lattice Boltzmann method under two basic elements,thus further developing efficient grid generation technology.The ray method algorithm's characteristics allow for a significant reduction in the number of surface elements that need to be retrieved through the new data structure.For geometrically adaptive multi-layer grids with two basic elements,the cell-centered scheme constructs the grid mapping relationship between different layers through a quadtree structure.The vertex-centered scheme determines the mapping relationship through the overlap of the background grid.In the grid results of the two formats,the multi-layer grid of the cell-centered scheme is less affected by the number of encryptions.It reaches a generation efficiency of about 5.89 million grids per second at the level of tens of millions of grid points with 9 encryptions.The efficiency of the vertex-centered scheme is significantly impacted by the number of encryptions.However,it still achieves a generation efficiency of approximately 660000 grids per second,even at the level of tens of millions,which is about 40 times more efficient than existing methods.The accuracy of the grid algorithm is finally verified through the solutions of two-dimensional cylinder flow,three-dimensional sphere flow,and three-dimensional submarine flow.

lattice Boltzmann methodfast grid generationmultilayer griddata structures

何鹏、王良军、张武、朱文浩

展开 >

上海大学计算机工程与科学学院,上海 200444

上海大学力学与工程科学学院,上海 200072

格子Boltzmann方法 快速网格生成 多层网格 数据结构

2024

中国科学(物理学 力学 天文学)
中国科学院

中国科学(物理学 力学 天文学)

CSTPCD北大核心
影响因子:0.644
ISSN:1674-7275
年,卷(期):2024.54(12)