Efficient multi-GPU implementation of a moving boundary approach in rotor flow simulation using LBM and level-set method

IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Computer Physics Communications Pub Date : 2025-03-01 Epub Date: 2024-12-14 DOI:10.1016/j.cpc.2024.109469
Xiangcheng Sun, Xian Wang
{"title":"Efficient multi-GPU implementation of a moving boundary approach in rotor flow simulation using LBM and level-set method","authors":"Xiangcheng Sun,&nbsp;Xian Wang","doi":"10.1016/j.cpc.2024.109469","DOIUrl":null,"url":null,"abstract":"<div><div>Moving boundary recognition exists widely in the numerical simulation of motion problems in fluid mechanics engineering. Particularly, in rotating machinery flows simulations, a method for handling moving boundaries with high-resolution grids, high computational performance, and efficient implementation on high-performance computing systems is crucial. Based on an in-house lattice Boltzmann method (LBM) solver, this study has developed a moving boundary approach suitable for simulating three-dimensional rotating flows. This method couples a multi-block grid method for local grid refinement and utilizes the level-set method for accurately capturing moving solid boundaries. Moreover, the implementation has been successfully carried out on a desktop-level multi-graphics processing unit (GPU) parallel system. The results show that adjusting the number of GPUs enables flexible scaling of the computational domain size, making this method particularly well-suited for large computational domains in rotating flow problems. Furthermore, the detailed evaluation of parallel GPU performance reveals that the computational performance with nine GPUs in parallel at maximum grid size is 2.33 times greater than that with three GPUs in parallel. Additionally, when the grid size per GPU varies, both kernel functions time and communication time significantly impact performance. The optimized data transfer strategy helps to minimize interpolation overhead and avoid additional communication overhead associated with multi-block grid refinement. The test results show a maximum MLUPS performance of 3074.85 with three V100 GPUs in parallel. Finally, the simulations of flow over three rotor configurations indicate that the proposed implementation accurately identifies rotating motion boundaries and can be applied in real-world rotor flow simulations.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"308 ","pages":"Article 109469"},"PeriodicalIF":3.4000,"publicationDate":"2025-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465524003928","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2024/12/14 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

Moving boundary recognition exists widely in the numerical simulation of motion problems in fluid mechanics engineering. Particularly, in rotating machinery flows simulations, a method for handling moving boundaries with high-resolution grids, high computational performance, and efficient implementation on high-performance computing systems is crucial. Based on an in-house lattice Boltzmann method (LBM) solver, this study has developed a moving boundary approach suitable for simulating three-dimensional rotating flows. This method couples a multi-block grid method for local grid refinement and utilizes the level-set method for accurately capturing moving solid boundaries. Moreover, the implementation has been successfully carried out on a desktop-level multi-graphics processing unit (GPU) parallel system. The results show that adjusting the number of GPUs enables flexible scaling of the computational domain size, making this method particularly well-suited for large computational domains in rotating flow problems. Furthermore, the detailed evaluation of parallel GPU performance reveals that the computational performance with nine GPUs in parallel at maximum grid size is 2.33 times greater than that with three GPUs in parallel. Additionally, when the grid size per GPU varies, both kernel functions time and communication time significantly impact performance. The optimized data transfer strategy helps to minimize interpolation overhead and avoid additional communication overhead associated with multi-block grid refinement. The test results show a maximum MLUPS performance of 3074.85 with three V100 GPUs in parallel. Finally, the simulations of flow over three rotor configurations indicate that the proposed implementation accurately identifies rotating motion boundaries and can be applied in real-world rotor flow simulations.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于LBM和水平集方法的转子流动仿真中移动边界方法的高效多gpu实现
运动边界识别在流体力学工程中运动问题的数值模拟中有着广泛的应用。特别是,在旋转机械流动模拟中,具有高分辨率网格、高计算性能和高效实现的移动边界处理方法在高性能计算系统上至关重要。基于内部格子玻尔兹曼方法(LBM)求解器,提出了一种适合模拟三维旋转流动的移动边界方法。该方法结合多块网格法进行局部网格细化,利用水平集法精确捕捉移动实体边界。此外,该方法已在桌面级多图形处理单元(GPU)并行系统上成功实现。结果表明,调整gpu的数量可以灵活地缩放计算域的大小,使该方法特别适合于旋转流问题的大型计算域。此外,对并行GPU性能的详细评估表明,在最大网格尺寸下,9个GPU并行的计算性能比3个GPU并行的计算性能高2.33倍。此外,当每个GPU的网格大小变化时,内核函数时间和通信时间都会显著影响性能。优化后的数据传输策略有助于最小化插值开销,避免与多块网格细化相关的额外通信开销。测试结果表明,在三个V100 gpu并行时,最大MLUPS性能为3074.85。最后,对三种转子构型的流动仿真表明,该方法能够准确识别旋转运动边界,可应用于实际转子流动仿真。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Computer Physics Communications
Computer Physics Communications 物理-计算机:跨学科应用
CiteScore
12.10
自引率
3.20%
发文量
287
审稿时长
5.3 months
期刊介绍: The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper. Computer Programs in Physics (CPiP) These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged. Computational Physics Papers (CP) These are research papers in, but are not limited to, the following themes across computational physics and related disciplines. mathematical and numerical methods and algorithms; computational models including those associated with the design, control and analysis of experiments; and algebraic computation. Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.
期刊最新文献
Transformation techniques for weakly and nearly singular integrals: Comparative performance and numerical implementation Accelerated inchworm method with tensor-train bath influence functional RePlaChem: A dimensionality reduction library for plasma chemical mechanisms A low-rank, high-order implicit-explicit integrator for three-dimensional convection-diffusion equations Gas-kinetic scheme for compressible gas-particle system with coarse grained discrete element method
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1