LAPSE:2023.32165v1
Published Article
LAPSE:2023.32165v1
A Neural Network-Inspired Matrix Formulation of Chemical Kinetics for Acceleration on GPUs
Shivam Barwey, Venkat Raman
April 19, 2023
Abstract
High-fidelity simulations of turbulent flames are computationally expensive when using detailed chemical kinetics. For practical fuels and flow configurations, chemical kinetics can account for the vast majority of the computational time due to the highly non-linear nature of multi-step chemistry mechanisms and the inherent stiffness of combustion chemistry. While reducing this cost has been a key focus area in combustion modeling, the recent growth in graphics processing units (GPUs) that offer very fast arithmetic processing, combined with the development of highly optimized libraries for artificial neural networks used in machine learning, provides a unique pathway for acceleration. The goal of this paper is to recast Arrhenius kinetics as a neural network using matrix-based formulations. Unlike ANNs that rely on data, this formulation does not require training and exactly represents the chemistry mechanism. More specifically, connections between the exact matrix equations for kinetics and traditional artificial neural network layers are used to enable the usage of GPU-optimized linear algebra libraries without the need for modeling. Regarding GPU performance, speedup and saturation behaviors are assessed for several chemical mechanisms of varying complexity. The performance analysis is based on trends for absolute compute times and throughput for the various arithmetic operations encountered during the source term computation. The goals are ultimately to provide insights into how the source term calculations scale with the reaction mechanism complexity, which types of reactions benefit the GPU formulations most, and how to exploit the matrix-based formulations to provide optimal speedup for large mechanisms by using sparsity properties. Overall, the GPU performance for the species source term evaluations reveals many informative trends with regards to the effect of cell number on device saturation and speedup. Most importantly, it is shown that the matrix-based method enables highly efficient GPU performance across the board, achieving near-peak performance in saturated regimes.
Keywords
chemical kinetics, graphics processing units, high-performance computing, multi-physics simulation, neural networks, turbulent combustion
Suggested Citation
Barwey S, Raman V. A Neural Network-Inspired Matrix Formulation of Chemical Kinetics for Acceleration on GPUs. (2023). LAPSE:2023.32165v1
Author Affiliations
Barwey S: Department of Aerospace Engineering, University of Michigan, Ann Arbor, MI 48109, USA
Raman V: Department of Aerospace Engineering, University of Michigan, Ann Arbor, MI 48109, USA
Journal Name
Energies
Volume
14
Issue
9
First Page
2710
Year
2021
Publication Date
2021-05-09
ISSN
1996-1073
Version Comments
Original Submission
Other Meta
PII: en14092710, Publication Type: Journal Article
Record Map
Published Article

LAPSE:2023.32165v1
This Record
External Link

https://doi.org/10.3390/en14092710
Publisher Version
Download
Files
Apr 19, 2023
Main Article
License
CC BY 4.0
Meta
Record Statistics
Record Views
382
Version History
[v1] (Original Submission)
Apr 19, 2023
 
Verified by curator on
Apr 19, 2023
This Version Number
v1
Citations
Most Recent
This Version
URL Here
http://psecommunity.org/LAPSE:2023.32165v1
 
Record Owner
Auto Uploader for LAPSE
Links to Related Works
Directly Related to This Work
Publisher Version
(0.09 seconds)

[0.09 s]