4.5 Article

A Neural Network-Inspired Matrix Formulation of Chemical Kinetics for Acceleration on GPUs

Journal

ENERGIES
Volume 14, Issue 9, Pages -

Publisher

MDPI
DOI: 10.3390/en14092710

Keywords

graphics processing units; high-performance computing; chemical kinetics; multi-physics simulation; neural networks; turbulent combustion

Categories

Funding

  1. [DE-AC05-00OR22725]

Ask authors/readers for more resources

This study explores the use of GPU-accelerated neural networks to speed up high-fidelity simulations of turbulent flames with detailed chemical kinetics. By recasting Arrhenius kinetics as a neural network using matrix-based formulations, GPU-optimized linear algebra libraries can be utilized without the need for training. The performance analysis focuses on the scalability of source term calculations with reaction mechanism complexity, revealing trends in cell number effects on GPU saturation and speedup. The matrix-based method enables highly efficient GPU performance and near-peak performance in saturated regimes.
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.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.5
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

Article Thermodynamics

Using Machine Learning to Construct Velocity Fields from OH-PLIF Images

Shivam Barwey, Malik Hassanaly, Venkat Raman, Adam Steinberg

Summary: This work utilizes data-driven methods to transform experimental OH-PLIF images into corresponding three-component planar PIV fields using a fully convolutional network. The performance of global CNN and local CNNs is compared, and the inclusion of time history in the PLIF input is investigated. The study also reveals the ability of local CNNs to utilize symmetry and antisymmetry in unseen domain regions.

COMBUSTION SCIENCE AND TECHNOLOGY (2022)

Article Thermodynamics

Data-driven Classification and Modeling of Combustion Regimes in Detonation Waves

Shivam Barwey, Supraj Prakash, Malik Hassanaly, Venkat Raman

Summary: This research implemented a data-driven approach to classify combustion regimes in detonation waves and demonstrated a procedure for domain-localized source term modeling based on these classifications. Through clustering analysis, distinctions between different combustion regimes within the detonation wave structure were illuminated. By using artificial neural networks, localized source term modeling was guided, leading to improved estimations of source terms.

FLOW TURBULENCE AND COMBUSTION (2021)

Article Thermodynamics

Large eddy simulation of premixed turbulent combustion using a non-adiabatic, strain-sensitive flamelet approach

Yihao Tang, Venkat Raman

Summary: The study introduces a novel strained, non-adiabatic flamelet generated manifold model based on a counterflow premixed flame, which shows improved accuracy in predicting flame behavior. By varying strain and heat loss effects, different combustion modes are distinguished, enhancing the understanding of turbulent flame evolution.

COMBUSTION AND FLAME (2021)

Review Thermodynamics

Classification and computation of extreme events in turbulent combustion

Malik Hassanaly, Venkat Raman

Summary: In practical combustion system design, ensuring safety and reliability is crucial, but analyzing failure events and extending it to failure events faces challenges. Specifically, in data-poor problems with high cost data generation, developing predictions for extreme events is critical.

PROGRESS IN ENERGY AND COMBUSTION SCIENCE (2021)

Review Mechanics

Nonidealities in Rotating Detonation Engines

Venkat Raman, Supraj Prakash, Mirko Gamba

Summary: A rotating detonation engine (RDE) uses a traveling detonation wave to compress and release heat, providing high efficiency in small volumes. However, nonidealities such as unsteady mixing and multiple competing waves need to be managed for optimal performance. This review discusses the understanding of these nonidealities and the techniques used to study them in RDEs.

ANNUAL REVIEW OF FLUID MECHANICS (2023)

Article Thermodynamics

Accelerating turbulent reacting flow simulations on many-core/GPUs using matrix-based kinetics

Harshavardhana A. Uranakara, Shivam Barwey, Francisco E. Hernandez Perez, Vijayamanikandan Vijayarangan, Venkat Raman, Hong G. Im

Summary: This study evaluates the impact of transferring computationally intensive tasks to the GPU in solving compressible reacting flow problems. The workflow and data transfer penalties of plugging in a GPU-based chemistry library into CPU-based and GPU-based solvers are compared. The results show that offloading the source term computation to the GPU leads to a significant reduction in solution time and faster computation compared to CPU-based methods.

PROCEEDINGS OF THE COMBUSTION INSTITUTE (2023)

Article Thermodynamics

Detonation wave driven by aerosolized liquid RP-2 spray

Vidhan Malik, Sheikh Salauddin, Rachel Hytovick, Ral Bielawski, Venkat Raman, John Bennewitz, Jason Burr, Eric Paulson, William Hargus, Kareem Ahmed

Summary: This study explores the dynamics of detonation waves driven by aerosolized liquid fuel sprays. Evidence of RP-2 driving the detonation phenomenon is quantified using dynamic pressure measurements and four simultaneous induced fluorescence (PLIF), and particle Mie scatter. The investigation provides supporting information on liquid fuel droplet burning and heat release driving the detonation wave.

PROCEEDINGS OF THE COMBUSTION INSTITUTE (2023)

Article Computer Science, Interdisciplinary Applications

Highly-scalable GPU-accelerated compressible reacting flow solver for modeling high-speed flows

Ral Bielawski, Shivam Barwey, Supraj Prakash, Venkat Raman

Summary: Emerging supercomputing systems combine CPUs and GPUs to reach exascale capabilities with minimal energy footprint. This presents challenges for fluid solvers due to the differences in hardware architecture and operation between GPUs and CPUs. This work presents a general approach for efficient implementation of finite-volume based reacting flow solvers on heterogeneous systems. Specific algorithms are developed to handle compressible reacting flows, including chemical reactions, convection terms, and turbulence, ensuring GPU-based efficiency. The approach is demonstrated using the OpenFOAM software and shows excellent scalability on a large number of GPUs (> 3000) with constant throughput for a large number of control volumes.

COMPUTERS & FLUIDS (2023)

Article Multidisciplinary Sciences

Data-driven reduction and decomposition with time-axis clustering

S. Barwey, V. Raman

Summary: A new approach called time-axis clustering is developed in this work for modal decomposition through re-interpretation of unsteady dynamics, demonstrated on an experimental turbulent reacting flow dataset. The method uses K-Means clustering algorithm to interpret the dataset as one-dimensional time series, identifying spatial modes and temporal coefficients that represent average trajectories of flow quantity of interest conditioned on the regions in physical space. The non-overlapping nature of K-Means clusters allows for visualization of modes, providing a unique pathway for flow feature extraction based on dynamical similarity.

PROCEEDINGS OF THE ROYAL SOCIETY A-MATHEMATICAL PHYSICAL AND ENGINEERING SCIENCES (2023)

Article Thermodynamics

Self-excited wave stabilization in a linear detonation combustor

Michael Ullman, Supraj Prakash, Deborah Jackson, Venkat Raman, Carson Slabaugh, John Bennewitz

Summary: Detonative combustors, such as rotating detonation engines, offer higher theoretical thermal efficiencies and are viewed as next-generation propulsion and power generation systems. This study simulates a methane-oxygen reflective shuttling detonation combustor to better understand the impacts of various conditions and phenomena. The simulations successfully predict the wave velocity trends and reveal significant reactant stratification and parasitic combustion ahead of the waves, affecting their speeds and pressures.

COMBUSTION AND FLAME (2023)

Article Thermodynamics

Bayesian Model Calibration Using High-Fidelity Simulations of a Mach 8 Scramjet Isolator and Combustor

Michael Ullman, Venkat Raman

Summary: This study develops a calibration procedure for a one-dimensional model of the wall pressure in a scramjet flowpath. Using wall pressure measurements from three-dimensional simulations, the six model parameters are tuned using a Bayesian methodology. The results show that the calibrated model can capture the mean wall pressure in both the isolator and combustor. The procedure can converge for both uniform and Gaussian priors, and physically-consistent correlations between parameters are obtained.

COMBUSTION SCIENCE AND TECHNOLOGY (2023)

Article Thermodynamics

Segmentation of high-speed flow fields using physics-informed clustering

Michael Ullman, Shivam Barwey, Gyu Sub Lee, Venkat Raman

Summary: The advent of data-based modeling has provided new methods and algorithms for analyzing complex flow fields in high-speed combustion applications, which can provide insight into the underlying physics of the system and identify avenues for the development and application of new models.

APPLICATIONS IN ENERGY AND COMBUSTION SCIENCE (2023)

Article Engineering, Chemical

Experimental and numerical analysis of low-density gas dispersion characteristics in semi-confined environments

Hengrui Liu, Fatemeh Salehi, Rouzbeh Abbassi, Tim Lau, Guan Heng Yeoh, Fiona Mitchell-Corbett, Venkat Raman

Summary: This paper investigates the dispersion of leaked hydrogen and concludes that ventilation is a critical safety measure to mitigate the risk of fire and explosion.

JOURNAL OF LOSS PREVENTION IN THE PROCESS INDUSTRIES (2023)

Article Thermodynamics

The effects of mixture preburning on detonation wave propagation

Supraj Prakash, Venkat Raman

Summary: Pressure gain combustion through continuous detonations, particularly in rotating detonation engines (RDEs), offers significant efficiency improvements in propulsion and energy conversion devices. However, non-premixed fuel injection in practical RDEs faces challenges such as turbulence-induced shock-front variations and incomplete fuel-air mixing. Preburning was found to weaken shock fronts and lead to delayed combustion of partially-oxidized fuel-air mixtures, contributing to combustion efficiency losses. This parasitic combustion process hinders detonation efficiency by diverting heat release away from the shock wave.

PROCEEDINGS OF THE COMBUSTION INSTITUTE (2021)

Article Thermodynamics

Numerical simulation of a methane-oxygen rotating detonation rocket engine

Supraj Prakash, Venkat Raman, Christopher F. Lietz, William A. Hargus, Stephen A. Schumaker

Summary: The rotating detonation engine is an important realization of pressure gain combustion for rocket applications, characterized by a highly unsteady flow field and entrainment of partially-burnt gases post-detonation. Numerical simulations show spatially fluctuating detonation wave strengths and parasitic combustion of fresh reactants in the flow field.

PROCEEDINGS OF THE COMBUSTION INSTITUTE (2021)

No Data Available