Fast reactive flow simulations using analytical Jacobian and dynamic load balancing in OpenFOAM

Ilya Morev, Bulut Tekgül, Mahmoud Gadalla, Ali Shahanaghi, Jeevananthan Kannan +3 more
5/25/2021
50 citations
physics.flu-dynmath.NAphysics.comp-ph

Official code: Aalto-CFD/DLBFoam (104 stars, C, GPL-3.0, last commit 2026-10-10). 1 more implementation below.

Abstract

Detailed chemistry-based computational fluid dynamics (CFD) simulations are computationally expensive due to the solution of the underlying chemical kinetics system of ordinary differential equations (ODEs). Here, we introduce a novel open-source library aiming at speeding up such reactive flow simulations using OpenFOAM, an open-source C++ software for CFD.

Show full abstract

First, our dynamic load balancing model DLBFoam (Tekgül et al., 2021) is utilized to mitigate the computational imbalance due to chemistry solution in multiprocessor reactive flow simulations. Then, the individual (cell-based) chemistry solutions are optimized by implementing an analytical Jacobian formulation using the open-source library pyJac, and by increasing the efficiency of the ODE solvers by utilizing the linear algebra package LAPACK. We demonstrate the speed-up capabilities of this new library on various combustion problems. These test problems include a 2D turbulent reacting shear layer and 3D stratified combustion to highlight the favorable scaling aspects of the library on ignition/flame front initiation setups for dual-fuel combustion. Furthermore, two fundamental 3D demonstrations are provided on non-premixed and partially premixed flames, namely the ECN Spray A and the Sandia flame D experimental configurations. The novel model offers up to two orders of magnitude speed-up for most of the investigated cases. The openly shared code along with the test case setups represent a radically new enabler for reactive flow simulations in the OpenFOAM framework.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
Aalto-CFD/DLBFoamOfficial104CGPL-3.02026-10-10
Aalto-CFD/DLBFoam-Advanced-TutorialsOfficial40Jupyter NotebookGPL-3.02024-01-07
Aalto-CFD/DLBFoamOfficial100%
GPL-3.0

DLBFoam: An open-source dynamic load balancing model for fast reacting flow simulations in OpenFOAM. https://doi.org/10.1016/j.cpc.2021.108073, https://doi.org/10.1063/5.0077437

10436C, C++May 25, 20211 months agoGPL-3.0
GPL-3.0

Advanced combustion tutorial cases for DLBFoam library for OpenFOAM

4015Jupyter Notebook, C++Dec 14, 20212 years agoGPL-3.0

Similar Papers

Cite this paper

@article{morev2021fast,
  title  = {Fast reactive flow simulations using analytical Jacobian and dynamic load balancing in OpenFOAM},
  author = {Ilya Morev and Bulut Tekgül and Mahmoud Gadalla and Ali Shahanaghi and Jeevananthan Kannan and Shervin Karimkashi and Ossi Kaario and Ville Vuorinen},
  year   = {2021},
  eprint = {2105.12070},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.12070}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.12070.svg)](https://codeofpaper.com/paper/2105.12070)

Discussion