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

page 8

page 12

page 16

page 20

page 22

page 24

research
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...
research
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...
research
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...
research
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...
research
04/17/2023

clotFoam: An Open-Source Framework to Simulate Blood Clot Formation Under Arterial Flow

Blood clotting involves the coupled processes of platelet aggregation an...
research
10/16/2020

Modelling of a spherical deflagration at constant speed

We build in this paper a numerical solution procedure to compute the flo...
research
01/16/2023

Mathematical modelling and numerical simulation of reverse-osmosis desalination

The reverse osmosis membrane module is an integral element of a desalina...

Please sign up or login with your details

Forgot password? Click here to reset