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.
期刊介绍:
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.