An integrated framework for accelerating reactive flow simulation using GPU and machine learning models

IF 5.3 2区 工程技术 Q2 ENERGY & FUELS
Runze Mao, Min Zhang, Yingrui Wang, Han Li, Jiayang Xu, Xinyu Dong, Yan Zhang, Zhi X. Chen
{"title":"An integrated framework for accelerating reactive flow simulation using GPU and machine learning models","authors":"Runze Mao, Min Zhang, Yingrui Wang, Han Li, Jiayang Xu, Xinyu Dong, Yan Zhang, Zhi X. Chen","doi":"10.1016/j.proci.2024.105512","DOIUrl":null,"url":null,"abstract":"Recent progress in machine learning (ML) and high-performance computing (HPC) have brought potentially game-changing opportunities in accelerating reactive flow simulations. In this study, we introduce an open-source computational fluid dynamics (CFD) framework that integrates the strengths of ML and graphics processing unit (GPU) to demonstrate their combined capability. Within this framework, all computational operations are solely executed on GPU, including ML-accelerated chemistry integration, fully-implicit solving of fluid transport PDEs, and computation of thermal and transport properties, thereby eliminating the CPU–GPU memory copy overhead. Optimisations both within the kernel functions and during the kernel launch process are conducted to enhance computational performance. Strategies such as static data reorganisation and dynamic data allocation are adopted to reduce the GPU memory footprint. The computational performance is evaluated in two turbulent flame benchmarks using quasi-DNS and LES modelling, respectively. Remarkably, while maintaining a similar level of accuracy to the conventional CPU/implicit ODE-based solver, the GPU/ML-accelerated approach shows an overall speedup of over two orders of magnitude for both cases. This result highlights that high-fidelity turbulent combustion simulation with finite-rate chemistry that requires normally hundreds of CPUs can now be performed on portable devices such as laptops with a medium-end GPU.","PeriodicalId":408,"journal":{"name":"Proceedings of the Combustion Institute","volume":null,"pages":null},"PeriodicalIF":5.3000,"publicationDate":"2024-07-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the Combustion Institute","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.1016/j.proci.2024.105512","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENERGY & FUELS","Score":null,"Total":0}
引用次数: 0

Abstract

Recent progress in machine learning (ML) and high-performance computing (HPC) have brought potentially game-changing opportunities in accelerating reactive flow simulations. In this study, we introduce an open-source computational fluid dynamics (CFD) framework that integrates the strengths of ML and graphics processing unit (GPU) to demonstrate their combined capability. Within this framework, all computational operations are solely executed on GPU, including ML-accelerated chemistry integration, fully-implicit solving of fluid transport PDEs, and computation of thermal and transport properties, thereby eliminating the CPU–GPU memory copy overhead. Optimisations both within the kernel functions and during the kernel launch process are conducted to enhance computational performance. Strategies such as static data reorganisation and dynamic data allocation are adopted to reduce the GPU memory footprint. The computational performance is evaluated in two turbulent flame benchmarks using quasi-DNS and LES modelling, respectively. Remarkably, while maintaining a similar level of accuracy to the conventional CPU/implicit ODE-based solver, the GPU/ML-accelerated approach shows an overall speedup of over two orders of magnitude for both cases. This result highlights that high-fidelity turbulent combustion simulation with finite-rate chemistry that requires normally hundreds of CPUs can now be performed on portable devices such as laptops with a medium-end GPU.
利用 GPU 和机器学习模型加速反应流模拟的集成框架
机器学习(ML)和高性能计算(HPC)的最新进展为加速反应流模拟带来了可能改变游戏规则的机会。在本研究中,我们介绍了一个开源计算流体动力学(CFD)框架,该框架整合了 ML 和图形处理器(GPU)的优势,展示了它们的综合能力。在这一框架内,所有计算操作都完全在 GPU 上执行,包括 ML 加速的化学集成、流体传输 PDE 的全隐式求解以及热和传输属性的计算,从而消除了 CPU-GPU 内存拷贝的开销。在内核函数内部和内核启动过程中都进行了优化,以提高计算性能。采用静态数据重组和动态数据分配等策略来减少 GPU 内存占用。在两个湍流火焰基准中分别使用准 DNS 和 LES 模型对计算性能进行了评估。值得注意的是,在保持与传统的基于 CPU/implicit ODE 的求解器相似的精度水平的同时,GPU/ML 加速方法在两种情况下都显示出超过两个数量级的整体速度提升。这一结果表明,通常需要数百个 CPU 才能完成的高保真湍流燃烧有限速率化学模拟,现在只需一台中端 GPU 就能在笔记本电脑等便携设备上完成。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Proceedings of the Combustion Institute
Proceedings of the Combustion Institute 工程技术-工程:化工
CiteScore
7.00
自引率
0.00%
发文量
420
审稿时长
3.0 months
期刊介绍: The Proceedings of the Combustion Institute contains forefront contributions in fundamentals and applications of combustion science. For more than 50 years, the Combustion Institute has served as the peak international society for dissemination of scientific and technical research in the combustion field. In addition to author submissions, the Proceedings of the Combustion Institute includes the Institute''s prestigious invited strategic and topical reviews that represent indispensable resources for emergent research in the field. All papers are subjected to rigorous peer review. Research papers and invited topical reviews; Reaction Kinetics; Soot, PAH, and other large molecules; Diagnostics; Laminar Flames; Turbulent Flames; Heterogeneous Combustion; Spray and Droplet Combustion; Detonations, Explosions & Supersonic Combustion; Fire Research; Stationary Combustion Systems; IC Engine and Gas Turbine Combustion; New Technology Concepts The electronic version of Proceedings of the Combustion Institute contains supplemental material such as reaction mechanisms, illustrating movies, and other data.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信