Combining machine learning with computational fluid dynamics using OpenFOAM and SmartSim

IF 1.9 3区 工程技术 Q3 MECHANICS
Tomislav Maric, Mohammed Elwardi Fadeli, Alessandro Rigazzi, Andrew Shao, Andre Weiner
{"title":"Combining machine learning with computational fluid dynamics using OpenFOAM and SmartSim","authors":"Tomislav Maric, Mohammed Elwardi Fadeli, Alessandro Rigazzi, Andrew Shao, Andre Weiner","doi":"10.1007/s11012-024-01797-z","DOIUrl":null,"url":null,"abstract":"<p>Combining machine learning (ML) with computational fluid dynamics (CFD) opens many possibilities for improving simulations of technical and natural systems. However, CFD+ML algorithms require exchange of data, synchronization, and calculation on heterogeneous hardware, making their implementation for large-scale problems exceptionally challenging. We provide an effective and scalable solution to developing CFD+ML algorithms using open source software OpenFOAM and SmartSim. SmartSim provides an Orchestrator that significantly simplifies the programming of CFD+ML algorithms enables scalable data exchange between ML and CFD clients. We show how to leverage SmartSim to effectively couple different segments of OpenFOAM with ML, including pre/post-processing applications, function objects, and mesh motion solvers. We additionally provide an OpenFOAM sub-module with examples that can be used as starting points for real-world applications in CFD+ML.</p>","PeriodicalId":695,"journal":{"name":"Meccanica","volume":null,"pages":null},"PeriodicalIF":1.9000,"publicationDate":"2024-04-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Meccanica","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.1007/s11012-024-01797-z","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"MECHANICS","Score":null,"Total":0}
引用次数: 0

Abstract

Combining machine learning (ML) with computational fluid dynamics (CFD) opens many possibilities for improving simulations of technical and natural systems. However, CFD+ML algorithms require exchange of data, synchronization, and calculation on heterogeneous hardware, making their implementation for large-scale problems exceptionally challenging. We provide an effective and scalable solution to developing CFD+ML algorithms using open source software OpenFOAM and SmartSim. SmartSim provides an Orchestrator that significantly simplifies the programming of CFD+ML algorithms enables scalable data exchange between ML and CFD clients. We show how to leverage SmartSim to effectively couple different segments of OpenFOAM with ML, including pre/post-processing applications, function objects, and mesh motion solvers. We additionally provide an OpenFOAM sub-module with examples that can be used as starting points for real-world applications in CFD+ML.

Abstract Image

利用 OpenFOAM 和 SmartSim 将机器学习与计算流体动力学相结合
将机器学习(ML)与计算流体动力学(CFD)相结合,为改进技术和自然系统的模拟提供了许多可能性。然而,CFD+ML 算法需要在异构硬件上进行数据交换、同步和计算,这使其在大规模问题上的实施极具挑战性。我们利用开源软件 OpenFOAM 和 SmartSim 为 CFD+ML 算法的开发提供了有效且可扩展的解决方案。SmartSim 提供了一个 Orchestrator,大大简化了 CFD+ML 算法的编程,实现了 ML 和 CFD 客户端之间可扩展的数据交换。我们展示了如何利用 SmartSim 有效地将 OpenFOAM 的不同部分与 ML 相结合,包括前/后处理应用程序、函数对象和网格运动求解器。此外,我们还提供了一个 OpenFOAM 子模块,其中包含可用作 CFD+ML 实际应用起点的示例。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Meccanica
Meccanica 物理-力学
CiteScore
4.70
自引率
3.70%
发文量
151
审稿时长
7 months
期刊介绍: Meccanica focuses on the methodological framework shared by mechanical scientists when addressing theoretical or applied problems. Original papers address various aspects of mechanical and mathematical modeling, of solution, as well as of analysis of system behavior. The journal explores fundamental and applications issues in established areas of mechanics research as well as in emerging fields; contemporary research on general mechanics, solid and structural mechanics, fluid mechanics, and mechanics of machines; interdisciplinary fields between mechanics and other mathematical and engineering sciences; interaction of mechanics with dynamical systems, advanced materials, control and computation; electromechanics; biomechanics. Articles include full length papers; topical overviews; brief notes; discussions and comments on published papers; book reviews; and an international calendar of conferences. Meccanica, the official journal of the Italian Association of Theoretical and Applied Mechanics, was established in 1966.
×
引用
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学术官方微信