VISCOUS FLUID FLOW MODELING WITH THE LATTICE BOLTZMANN METHOD ON GRAPHICS PROCESSORS USING WebGL API

of Telecommunication, and Global, Kyiv Information Space
{"title":"VISCOUS FLUID FLOW MODELING WITH THE LATTICE BOLTZMANN METHOD ON GRAPHICS PROCESSORS USING WebGL API","authors":"of Telecommunication, and Global, Kyiv Information Space","doi":"10.17721/2706-9699.2021.1.16","DOIUrl":null,"url":null,"abstract":"This work is dedicated to the modeling methodology of a viscous fluid flows with the lattice Boltzmann method on graphic processors based on the technology of images rendering in web browsers WebGL. A two-dimensional nine-velocity LBM model (D2Q9) with a collision integral in a Bhatnagar-Gross-Kruk approximation form is shown. The possibilities of calculation acceleration using WebGL technology is described, namely features of using textures to contain values of some physical quantities in numerical algorithms and using fremebuffers to storage the textures, influence of the texture parameters on the numerical algorithms, features of shaders programming. The questions of shader programs using for carrying out stages of physical modeling were considered. The proposed methodology was used to develop an original web program for modeling of classical test problems. Simulations of the Poiseuille flow in a plane channel and the flow around a circular cylinder in a plane channel were performed. The obtained results were compared with the results of calculations performed in the original verified modeling program based on the lattice Boltzmann method and in the Comsol Multiphysics package with the finite element method. Comparisons of the values of the velocity magnitude showed the consistency of the obtained results with the data of other numerical experiments. The analysis of computational speed in comparison with modeling using the optimized algorithm of a method with use of the technology of parallel calculations on CPU OpenMP in the original program is carried out. It is shown that the acceleration of calculations depends on the number of cells of the calculation grid. The results of the fluid flow modeling around a circular cylinder at Re = 1000 are demonstrated, which are obtained 30 times faster than with the calculations obtained with optimized lattice Boltzmann method and OpenMP technology.","PeriodicalId":40347,"journal":{"name":"Journal of Numerical and Applied Mathematics","volume":"10 1","pages":""},"PeriodicalIF":0.1000,"publicationDate":"2021-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Numerical and Applied Mathematics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.17721/2706-9699.2021.1.16","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

This work is dedicated to the modeling methodology of a viscous fluid flows with the lattice Boltzmann method on graphic processors based on the technology of images rendering in web browsers WebGL. A two-dimensional nine-velocity LBM model (D2Q9) with a collision integral in a Bhatnagar-Gross-Kruk approximation form is shown. The possibilities of calculation acceleration using WebGL technology is described, namely features of using textures to contain values of some physical quantities in numerical algorithms and using fremebuffers to storage the textures, influence of the texture parameters on the numerical algorithms, features of shaders programming. The questions of shader programs using for carrying out stages of physical modeling were considered. The proposed methodology was used to develop an original web program for modeling of classical test problems. Simulations of the Poiseuille flow in a plane channel and the flow around a circular cylinder in a plane channel were performed. The obtained results were compared with the results of calculations performed in the original verified modeling program based on the lattice Boltzmann method and in the Comsol Multiphysics package with the finite element method. Comparisons of the values of the velocity magnitude showed the consistency of the obtained results with the data of other numerical experiments. The analysis of computational speed in comparison with modeling using the optimized algorithm of a method with use of the technology of parallel calculations on CPU OpenMP in the original program is carried out. It is shown that the acceleration of calculations depends on the number of cells of the calculation grid. The results of the fluid flow modeling around a circular cylinder at Re = 1000 are demonstrated, which are obtained 30 times faster than with the calculations obtained with optimized lattice Boltzmann method and OpenMP technology.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
粘性流体流动建模与晶格玻尔兹曼方法在图形处理器使用WebGL API
本文基于WebGL浏览器的图像渲染技术,研究了基于图形处理器的晶格玻尔兹曼方法的粘性流体流动建模方法。给出了一个具有Bhatnagar-Gross-Kruk近似形式的碰撞积分的二维九速LBM模型(D2Q9)。描述了利用WebGL技术实现计算加速的可能性,即在数值算法中使用纹理来包含某些物理量的值和使用fremebuffers来存储纹理的特点,纹理参数对数值算法的影响,着色器编程的特点。考虑了用于执行物理建模阶段的着色器程序的问题。该方法被用于开发一个原始的web程序,用于经典测试问题的建模。对平面通道内的泊泽维尔流和平面通道内圆柱的绕流进行了数值模拟。将所得结果与基于晶格玻尔兹曼方法的原始验证建模程序和基于有限元方法的Comsol Multiphysics软件包中的计算结果进行了比较。数值计算结果与其他数值实验结果一致。在原程序中利用CPU OpenMP并行计算技术,对优化后的算法与建模的计算速度进行了对比分析。计算结果表明,计算速度与计算网格的单元数有关。在Re = 1000条件下,采用优化晶格玻尔兹曼方法和OpenMP技术计算圆柱周围的流体流动,计算速度比采用优化晶格玻尔兹曼方法和OpenMP技术计算速度快30倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
BOUNDARY VALUE PROBLEMS FOR THE LYAPUNOV EQUATION THE REGULARIZED OPERATOR EXTRAPOLATION ALGORITHM ANALYSIS OF THE CONSTRUCTION OF NUMERICAL METHODS FOR SOLVING THE RICHARDS–KLUTE EQUATION NETWORK FLOW ANALYSIS AS A METHOD OF SUPPLY CHAIN MANAGEMENT OPTIMIZATION EXISTENCE IN SCHWARTZ SPACE AND SOLUTIONS PROPERTIES OF THE HOPF–TYPE EQUATION WITH VARIABLE COEFFICIENTS
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1