An OpenFOAM solver incorporating detailed transport model for reacting flow simulations

IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Computer Physics Communications Pub Date : 2025-04-01 Epub Date: 2024-12-13 DOI:10.1016/j.cpc.2024.109472
Fei Wang, Liang An, Tat Leung Chan
{"title":"An OpenFOAM solver incorporating detailed transport model for reacting flow simulations","authors":"Fei Wang,&nbsp;Liang An,&nbsp;Tat Leung Chan","doi":"10.1016/j.cpc.2024.109472","DOIUrl":null,"url":null,"abstract":"<div><div>OpenFOAM (Open-source Field Operation and Manipulation) has become an important scientific tool for solving computational fluid dynamics due to its free and open-source nature, but its application in reacting flows may be restricted due to either the use of a simplified transport model or the requirement for pre-specified species (binary) mass diffusion coefficients as well as the use of Sutherland's formula. To fill this gap, a detailed transport model using a mixture-averaged formulation based on the standard kinetic theory of gases is newly incorporated into combustion solvers for dealing with reacting flow simulations in OpenFOAM. This is achieved by developing a new utility to input molecular transport parameters and a new library to calculate transport properties. All the codes are completely written under the code framework of OpenFOAM, making them very easy to read, use, maintain, enhance and extend. The developed utility and library are then coupled with a new reacting flow solver developed for the governing equations in terms of mass, momentum, species and energy by configurating an interface. In the present study, the function of the new utility is firstly examined and then a new solver (i.e., <em>standardReactingFoam</em>) is developed for solving reacting flows. A systematical validation and assessment in different flame configurations with detailed chemical kinetics is studied to evaluate the computational performance of these new solvers. A zero-dimensional auto ignition, one-dimensional premixed flame and two-dimensional non-premixed counterflow flame are selected to validate the solvers against Cantera and CHEMKIN, while a realistic combustion simulation of a two-dimensional partially premixed coflow flame is also verified. Numerical simulation results show that very good agreements with the benchmark data are obtained for all studied flames, which demonstrates the high computational accuracy of the developed combustion solvers incorporating a detailed transport model.</div></div><div><h3>Program summary</h3><div><em>Program title:</em> standardReactingFoam.</div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/rbm3cjk8rr.1</span><svg><path></path></svg></span>.</div><div><em>Licensing provisions:</em> GPLv3.</div><div><em>Programming language:</em> C++.</div><div><em>Nature of problem:</em> The performance of OpenFOAM solvers for reacting flow simulations is greatly limited by a simplified transport model or the requirement for pre-specified species (binary) mass diffusion coefficients as well as the use of Sutherland's formula, leading to incorrect numerical calculation of the critical transport properties. Developing an interface between OpenFOAM and Cantera can achieve the evaluation of transport properties, which makes it difficult to be widely used and conveniently maintained. Developing a separate package to obtain transport properties results in a very complicated operation when using.</div><div><em>Solution method:</em> A detailed transport model using a mixture-averaged formulation based on the standard kinetic theory of gases is incorporated into combustion solvers for dealing with reacting flow simulations in OpenFOAM. This is achieved by developing a new utility to input molecular transport parameters and a new library to calculate transport properties. All the codes are completely written under the code framework of OpenFOAM, making them very easy to read, use, maintain, enhance and extend. The developed utility and library are then coupled with a new reacting flow solver developed for the governing equations in terms of mass, momentum, species and energy by configurating an interface.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"309 ","pages":"Article 109472"},"PeriodicalIF":3.4000,"publicationDate":"2025-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465524003953","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2024/12/13 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

OpenFOAM (Open-source Field Operation and Manipulation) has become an important scientific tool for solving computational fluid dynamics due to its free and open-source nature, but its application in reacting flows may be restricted due to either the use of a simplified transport model or the requirement for pre-specified species (binary) mass diffusion coefficients as well as the use of Sutherland's formula. To fill this gap, a detailed transport model using a mixture-averaged formulation based on the standard kinetic theory of gases is newly incorporated into combustion solvers for dealing with reacting flow simulations in OpenFOAM. This is achieved by developing a new utility to input molecular transport parameters and a new library to calculate transport properties. All the codes are completely written under the code framework of OpenFOAM, making them very easy to read, use, maintain, enhance and extend. The developed utility and library are then coupled with a new reacting flow solver developed for the governing equations in terms of mass, momentum, species and energy by configurating an interface. In the present study, the function of the new utility is firstly examined and then a new solver (i.e., standardReactingFoam) is developed for solving reacting flows. A systematical validation and assessment in different flame configurations with detailed chemical kinetics is studied to evaluate the computational performance of these new solvers. A zero-dimensional auto ignition, one-dimensional premixed flame and two-dimensional non-premixed counterflow flame are selected to validate the solvers against Cantera and CHEMKIN, while a realistic combustion simulation of a two-dimensional partially premixed coflow flame is also verified. Numerical simulation results show that very good agreements with the benchmark data are obtained for all studied flames, which demonstrates the high computational accuracy of the developed combustion solvers incorporating a detailed transport model.

Program summary

Program title: standardReactingFoam.
CPC Library link to program files: https://doi.org/10.17632/rbm3cjk8rr.1.
Licensing provisions: GPLv3.
Programming language: C++.
Nature of problem: The performance of OpenFOAM solvers for reacting flow simulations is greatly limited by a simplified transport model or the requirement for pre-specified species (binary) mass diffusion coefficients as well as the use of Sutherland's formula, leading to incorrect numerical calculation of the critical transport properties. Developing an interface between OpenFOAM and Cantera can achieve the evaluation of transport properties, which makes it difficult to be widely used and conveniently maintained. Developing a separate package to obtain transport properties results in a very complicated operation when using.
Solution method: A detailed transport model using a mixture-averaged formulation based on the standard kinetic theory of gases is incorporated into combustion solvers for dealing with reacting flow simulations in OpenFOAM. This is achieved by developing a new utility to input molecular transport parameters and a new library to calculate transport properties. All the codes are completely written under the code framework of OpenFOAM, making them very easy to read, use, maintain, enhance and extend. The developed utility and library are then coupled with a new reacting flow solver developed for the governing equations in terms of mass, momentum, species and energy by configurating an interface.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
一个OpenFOAM求解器结合详细的运输模型的反应流模拟
OpenFOAM(开源现场操作和操作)由于其自由和开源的性质,已经成为求解计算流体动力学的重要科学工具,但由于使用简化的输运模型或要求预先指定物种(二元)质量扩散系数以及使用Sutherland公式,其在反应流动中的应用可能受到限制。为了填补这一空白,使用基于标准气体动力学理论的混合平均公式的详细传输模型被新纳入燃烧求解器中,用于处理OpenFOAM中的反应流模拟。这是通过开发一个新的实用程序来输入分子输运参数和一个新的库来计算输运性质来实现的。所有的代码完全是在OpenFOAM的代码框架下编写的,使得它们非常容易阅读、使用、维护、增强和扩展。然后,通过配置界面,将开发的实用程序和库与新的反应流求解器相结合,以质量,动量,物质和能量为控制方程。在本研究中,首先考察了新工具的功能,然后开发了一个新的求解器(即标准dreactingfoam)来求解反应流。在不同火焰构型下进行了系统的验证和评估,并进行了详细的化学动力学研究,以评估这些新求解器的计算性能。以零维自动点火、一维预混火焰和二维非预混逆流火焰为例,通过Cantera和CHEMKIN对求解方法进行了验证,并对二维部分预混共流火焰的真实燃烧模拟进行了验证。数值模拟结果表明,所研究的火焰与基准数据吻合良好,表明所开发的包含详细传输模型的燃烧求解器具有较高的计算精度。项目简介项目名称:standardReactingFoam。CPC库链接到程序文件:https://doi.org/10.17632/rbm3cjk8rr.1.Licensing条款:GPLv3。编程语言:c++。问题性质:OpenFOAM求解反应流模拟的性能受到简化输运模型或预先指定物种(二元)质量扩散系数的要求以及Sutherland公式的使用的极大限制,导致临界输运性质的数值计算不正确。开发OpenFOAM与Cantera之间的接口,可以实现传输性能的评估,但难以广泛应用,维护方便。开发单独的包来获取传输属性会导致在使用时非常复杂的操作。解决方法:使用基于标准气体动力学理论的混合平均公式的详细传输模型被纳入燃烧求解器中,用于处理OpenFOAM中的反应流模拟。这是通过开发一个新的实用程序来输入分子输运参数和一个新的库来计算输运性质来实现的。所有的代码完全是在OpenFOAM的代码框架下编写的,使得它们非常容易阅读、使用、维护、增强和扩展。然后,通过配置界面,将开发的实用程序和库与新的反应流求解器相结合,以质量,动量,物质和能量为控制方程。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Computer Physics Communications
Computer Physics Communications 物理-计算机:跨学科应用
CiteScore
12.10
自引率
3.20%
发文量
287
审稿时长
5.3 months
期刊介绍: The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper. Computer Programs in Physics (CPiP) These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged. Computational Physics Papers (CP) These are research papers in, but are not limited to, the following themes across computational physics and related disciplines. mathematical and numerical methods and algorithms; computational models including those associated with the design, control and analysis of experiments; and algebraic computation. Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.
期刊最新文献
Gas-kinetic scheme for compressible gas-particle system with coarse grained discrete element method Zandpack: A general tool for time-dependent transportsimulation of nanoelectronics A numerical approach to calculate cross sections for relativistic electrons and terrestrial gamma-ray flashes An effective implementation of the bidirectional buffer: Towards laminar and turbulent open-boundary flows AutoParaTrans: An integrated workflow for CUDA acceleration and automated parallel algorithm transformation in electrical and thermal transport
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1