跳到主要导航 跳到搜索 跳到主要内容

A generalized framework for integrating machine learning into computational fluid dynamics

  • Xuxiang Sun
  • , Wenbo Cao
  • , Xianglin Shan
  • , Yilang Liu
  • , Weiwei Zhang
  • Northwestern Polytechnical University Xian
  • National Key Laboratory of Aircraft Configuration Design

科研成果: 期刊稿件文章同行评审

26 引用 (Scopus)

摘要

The amalgamation of machine learning algorithms (ML) with computational fluid dynamics (CFD) represents a promising frontier for the advancement of fluid dynamics research. However, the practical integration of CFD with ML algorithms frequently faces challenges related to data transfer and computational efficiency. While CFD programs are conventionally scripted in Fortran or C/C++, the prevalence of Python in the machine learning domain complicates their seamless integration. To tackle these obstacles, this paper proposes a comprehensive solution. Our devised framework primarily leverages Python modules CFFI and dynamic linking library technology to seamlessly integrate ML algorithms with CFD programs, facilitating efficient data interchange between them. Distinguished by its simplicity, efficiency, flexibility, and scalability, our framework is adaptable across various CFD programs, scalable to multi-node parallelism, and compatible with heterogeneous computing systems. In this paper, we showcase a spectrum of CFD+ML algorithms based on this framework, including stability analysis of ML Reynolds stress models, bidirectional coupling between ML turbulence models and CFD programs, and online dimension reduction optimization techniques tailored for resolving unstable steady flow solutions. In addition, our framework has been successfully tested on supercomputer clusters, demonstrating its compatibility with distributed computing architectures and its ability to leverage heterogeneous computing resources for efficient computational tasks.

源语言英语
期刊论文编号102404
期刊Journal of Computational Science
82
DOI
出版状态已出版 - 10月 2024

学术指纹

探究 'A generalized framework for integrating machine learning into computational fluid dynamics' 的科研主题。它们共同构成独一无二的学术指纹。

引用此