DeepFlame: A deep learning empowered open-source platform for reacting flow simulations

Recent developments in deep learning have brought many inspirations for the scientific computing community and it is perceived as a promising method in accelerating the computationally demanding reacting flow simulations. In this work, we introduce DeepFlame, an open-source C++ platform with the cap...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:Computer physics communications 2023-10, Vol.291, p.108842, Article 108842
Hauptverfasser: Mao, Runze, Lin, Minqi, Zhang, Yan, Zhang, Tianhan, Xu, Zhi-Qin John, Chen, Zhi X.
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Recent developments in deep learning have brought many inspirations for the scientific computing community and it is perceived as a promising method in accelerating the computationally demanding reacting flow simulations. In this work, we introduce DeepFlame, an open-source C++ platform with the capabilities of utilising machine learning algorithms and offline-trained models to solve for reactive flows. We combine the individual strengths of the computational fluid dynamics library OpenFOAM, machine learning framework Torch, and chemical kinetics program Cantera. The complexity of cross-library function and data interfacing (the core of DeepFlame) is minimised to achieve a simple and clear workflow for code maintenance, extension and upgrading. As a demonstration, we apply our recent work on deep learning for predicting chemical kinetics (Zhang et al., 2022 [8]) to highlight the potential of machine learning in accelerating reacting flow simulation. A thorough code validation is conducted via a broad range of canonical cases to assess its accuracy and efficiency. The results demonstrate that the convection-diffusion-reaction algorithms implemented in DeepFlame are robust and accurate for both steady-state and transient processes. In addition, a number of methods aiming to further improve the computational efficiency, e.g. dynamic load balancing and adaptive mesh refinement, are explored. Their performances are also evaluated and reported. With the deep learning method implemented in this work, a speed-up of two orders of magnitude is achieved in a simple hydrogen ignition case when performed on a medium-end graphics processing unit (GPU). Further gain in computational efficiency is expected for hydrocarbon and other complex fuels. A similar level of acceleration is obtained on an AI-specific chip – deep computing unit (DCU), highlighting the potential of DeepFlame in leveraging the next-generation computing architecture and hardware. Program Title: DeepFlame CPC Library link to program files:https://doi.org/10.17632/3pg9xmypp3.1 Developer's repository link:https://github.com/deepmodeling/deepflame-dev Licensing provisions: GPLv3 Programming language: C++ Nature of problem: Solving chemically reacting flows with direct (quasi-direct) simulation methods is usually troubled by the following problems: 1. as the widely-used computational fluid dynamics (CFD) toolbox, OpenFOAM features limited ODE solvers for chemistry and oversimplified transport models, yieldi
ISSN:0010-4655
DOI:10.1016/j.cpc.2023.108842