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

05/25/2021
by   Ilya Morev, et al.
0

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. 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.

READ FULL TEXT

Authors

page 8

page 12

page 16

page 20

page 22

page 24

12/10/2021

A load balanced chemistry model with analytical Jacobian for faster reactive simulations in OpenFOAM

In this study, we introduce a novel open-source chemistry model for Open...
11/16/2020

DLBFoam: An open-source dynamic load balancing model for fast reacting flow simulations in OpenFOAM

Computational load imbalance due to direct integration of chemical kinet...
08/17/2020

Accelerated reactive transport simulations in heterogeneous porous media using Reaktoro and Firedrake

This work investigates the performance of the on-demand machine learning...
09/04/2018

Using SIMD and SIMT vectorization to evaluate sparse chemical kinetic Jacobian matrices and thermochemical source terms

Accurately predicting key combustion phenomena in reactive-flow simulati...
05/21/2019

The Stabilized Explicit Variable-Load Solver with Machine Learning Acceleration for the Rapid Solution of Stiff Chemical Kinetics

Numerical solutions to differential equations are at the core of computa...
07/03/2018

SWIFT: Maintaining weak-scalability with a dynamic range of 10^4 in time-step size to harness extreme adaptivity

Cosmological simulations require the use of a multiple time-stepping sch...
10/16/2020

Modelling of a spherical deflagration at constant speed

We build in this paper a numerical solution procedure to compute the flo...

Code Repositories

DLBFoam

DLBFoam: An open-source dynamic load balancing model for fast reacting flow simulations in OpenFOAM. https://arxiv.org/abs/2011.07978 https://arxiv.org/abs/2105.12070


view repo
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.