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

计算机科学 深度学习 计算流体力学 计算科学 人工智能 机器学习 机械 物理
作者
Runze Mao,Minqi Lin,Yan Zhang,Tianhan Zhang,Zhi‐Qin John Xu,Zhi X. Chen
出处
期刊:Computer Physics Communications [Elsevier]
卷期号:291: 108842-108842 被引量:8
标识
DOI:10.1016/j.cpc.2023.108842
摘要

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, yielding non-negligible errors in simulation results; 2. the chemical source term evaluation is the most computationally expensive and usually accounts for more than 80% of total computing time. Solution method: An open-source platform bringing together the individual strengths of OpenFOAM, Cantera and PyTorch libraries is built in this study. In the present implementation, CVODE solvers, detailed transport models and deep learning algorithms are all adopted to assist the simulation of reacting flow. Note that here machine learning is introduced in combination with heterogeneous computing to accelerate the most demanding solving procedure for chemical source term evaluation.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
1秒前
2秒前
海风完成签到,获得积分10
2秒前
多多发布了新的文献求助10
4秒前
jiaying完成签到 ,获得积分10
4秒前
4秒前
4秒前
5秒前
7秒前
香蕉觅云应助Omni采纳,获得10
7秒前
8秒前
8秒前
风不言喻完成签到 ,获得积分10
9秒前
9秒前
沐野完成签到 ,获得积分10
10秒前
11秒前
11秒前
11秒前
12秒前
12秒前
南风完成签到,获得积分10
13秒前
13秒前
14秒前
Marksman497发布了新的文献求助10
15秒前
Marksman497发布了新的文献求助10
15秒前
Marksman497发布了新的文献求助30
15秒前
Marksman497发布了新的文献求助10
15秒前
Marksman497发布了新的文献求助10
15秒前
Marksman497发布了新的文献求助30
15秒前
Marksman497发布了新的文献求助10
15秒前
Marksman497发布了新的文献求助30
15秒前
Marksman497发布了新的文献求助30
15秒前
Marksman497发布了新的文献求助10
15秒前
Marksman497发布了新的文献求助80
15秒前
Marksman497发布了新的文献求助10
15秒前
Marksman497发布了新的文献求助10
15秒前
Marksman497发布了新的文献求助10
15秒前
Marksman497发布了新的文献求助30
16秒前
Marksman497发布了新的文献求助10
16秒前
高分求助中
Modern Epidemiology, Fourth Edition 5000
Kinesiophobia : a new view of chronic pain behavior 5000
Molecular Biology of Cancer: Mechanisms, Targets, and Therapeutics 3000
Digital Twins of Advanced Materials Processing 2000
Propeller Design 2000
Weaponeering, Fourth Edition – Two Volume SET 2000
First commercial application of ELCRES™ HTV150A film in Nichicon capacitors for AC-DC inverters: SABIC at PCIM Europe 1000
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 纳米技术 化学工程 生物化学 物理 计算机科学 内科学 复合材料 催化作用 物理化学 光电子学 电极 冶金 细胞生物学 基因
热门帖子
关注 科研通微信公众号,转发送积分 6004965
求助须知:如何正确求助?哪些是违规求助? 7525550
关于积分的说明 16112022
捐赠科研通 5150360
什么是DOI,文献DOI怎么找? 2759745
邀请新用户注册赠送积分活动 1736749
关于科研通互助平台的介绍 1632079