An OpenFOAM-based solver for modeling low Mach number turbulent flows at high pressure with real-fluid effects

IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
Danh Nam Nguyen , Chun Sang Yoo
{"title":"An OpenFOAM-based solver for modeling low Mach number turbulent flows at high pressure with real-fluid effects","authors":"Danh Nam Nguyen ,&nbsp;Chun Sang Yoo","doi":"10.1016/j.cpc.2025.109600","DOIUrl":null,"url":null,"abstract":"<div><div>Numerical simulations of non-reacting/reacting flows at supercritical pressure near the critical points with real-fluid models in OpenFOAM often encounter instability and divergence issues unless the solution algorithm incorporates special techniques. In this paper, we develop a novel pressure-based solver, <em>realFluidFoam</em>, tailored for simulations of subsonic turbulent flows at transcritical and supercritical conditions in OpenFOAM. The <em>realFluidFoam</em> solver utilizes unique algorithms to enhance the stability and convergency while taking into account real-fluid effects. Its source code and implementation details are provided to facilitate a comprehensive understanding of integrating real-fluid models into fluid flow simulations in OpenFOAM. The <em>realFluidFoam</em> solver is validated against experimental data by performing large-eddy simulations (LESs) of liquid nitrogen injection and coaxial liquid nitrogen/preheated hydrogen injection under transcritical and supercritical conditions. The LES results show a satisfactory agreement with the experimental data, verifying that the <em>realFluidFoam</em> solver can accurately simulate transcritical and supercritical turbulent fluid flows over the wide range of pressure, especially near the critical points.</div></div><div><h3>Program summary</h3><div><em>Program Title:</em> realFluidFoam</div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/btzj8b7b8j.1</span><svg><path></path></svg></span></div><div><em>Developer's repository link (OpenFOAM-6 ver.):</em> <span><span>https://github.com/danhnam11/realFluidFoam-6</span><svg><path></path></svg></span></div><div><em>Developer's repository link (OpenFOAM-8 ver.):</em> <span><span>https://github.com/danhnam11/realFluidFoam-8</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> Instability and divergence problems are often encountered in simulations of subsonic fluid flows under high pressure conditions near critical points (i.e., transcritical and supercritical conditions) using real-fluid models in OpenFOAM due to pseudo-boiling effects and high density stratifications.</div><div><em>Solution method:</em> A pressure-based solution method with a modified PIMPLE algorithm is employed to improve the stability while a fast and robust coupling Newton-Bisection algorithm is utilized to guarantee the convergency of fluid flow simulations under transcritical and supercritical conditions in OpenFOAM.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"312 ","pages":"Article 109600"},"PeriodicalIF":7.2000,"publicationDate":"2025-04-02","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/S0010465525001031","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

Numerical simulations of non-reacting/reacting flows at supercritical pressure near the critical points with real-fluid models in OpenFOAM often encounter instability and divergence issues unless the solution algorithm incorporates special techniques. In this paper, we develop a novel pressure-based solver, realFluidFoam, tailored for simulations of subsonic turbulent flows at transcritical and supercritical conditions in OpenFOAM. The realFluidFoam solver utilizes unique algorithms to enhance the stability and convergency while taking into account real-fluid effects. Its source code and implementation details are provided to facilitate a comprehensive understanding of integrating real-fluid models into fluid flow simulations in OpenFOAM. The realFluidFoam solver is validated against experimental data by performing large-eddy simulations (LESs) of liquid nitrogen injection and coaxial liquid nitrogen/preheated hydrogen injection under transcritical and supercritical conditions. The LES results show a satisfactory agreement with the experimental data, verifying that the realFluidFoam solver can accurately simulate transcritical and supercritical turbulent fluid flows over the wide range of pressure, especially near the critical points.

Program summary

Program Title: realFluidFoam
CPC Library link to program files: https://doi.org/10.17632/btzj8b7b8j.1
Developer's repository link (OpenFOAM-6 ver.): https://github.com/danhnam11/realFluidFoam-6
Developer's repository link (OpenFOAM-8 ver.): https://github.com/danhnam11/realFluidFoam-8
Licensing provisions: GPLv3
Programming language: C++
Nature of problem: Instability and divergence problems are often encountered in simulations of subsonic fluid flows under high pressure conditions near critical points (i.e., transcritical and supercritical conditions) using real-fluid models in OpenFOAM due to pseudo-boiling effects and high density stratifications.
Solution method: A pressure-based solution method with a modified PIMPLE algorithm is employed to improve the stability while a fast and robust coupling Newton-Bisection algorithm is utilized to guarantee the convergency of fluid flow simulations under transcritical and supercritical conditions in 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信