• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2024, Vol. 46 ›› Issue (11): 1901-1907.

• High Performance Computing • Previous Articles     Next Articles

DeepFlame: An open-source platform for reacting flow simulations empowered by deep learning and high-performance computing

MAO Run-ze1,WU Zi-heng1,XU Jia-yang2,ZHANG Yan3,CHEN Zhi1,2   

  1. (1.College of Engineering,Peking University,Beijing 100871;2.AI for Science Institute,Beijing 100083;
    3.CAEP Software Center for High Performance Numerical Simulation,Beijing 100088,China)
  • Received:2024-03-10 Revised:2024-05-16 Accepted:2024-11-25 Online:2024-11-25 Published:2024-11-20

Abstract: In recent years, deep learning has been widely recognized as a reliable approach to accele- rate reacting flow simulations. In recent work, this paper has developed an open-source platform named DeepFlame, which supports machine learning libraries and algorithms during the simulation of reacting flows. Leveraging DeepFlame, this paper has successfully employed deep neural networks (DNNs) to compute chemical reaction source terms. This paper focus on optimizing the platform for high-performance. Firstly, to fully harness the acceleration potential of DNNs this paper implements support for multi-GPU parallel inference in DeepFlame, developing intra-node partitioning algorithms and a master-slave communication structure, and complete the migration to Graphics Processing Units (GPUs) and Deep Computing Units (DCUs). Furthermore, this paper implements the solution of partial differential equations and the construction of discrete sparse matrices on GPUs based on the Nvidia AmgX library. Finally, this paper evaluates the computational performance of the updated DeepFlame on a CPU-GPU/DCU heterogeneous architecture. The results indicate that using a single GPU card alone can achieve a maximum speedup of up to 15 times when simulating a reactive Taylor Green Vortex (TGV). 

Key words: computational fluid dynamics, reacting flows, deep neural network, graphics computing unit, partial differential equations