Source-linked AI summary

ChemNODE: A Neural Ordinary Differential Equations Approach for Chemical Kinetics Solvers

Opeoluwa Owoyele, Pinaki Pal

arXiv:2101.04749v3cs.CEphysics.flu-dyn

TL;DR

Detailed chemical kinetics bottleneck reacting-flow CFD, and source-term predictors may diverge when coupled to numerical solvers. ChemNODE trains neural networks through ODE integration; in a hydrogen-air reactor proof of concept, it captured species evolution and achieved a 2.3x speedup over the full mechanism.

  • Problem

    Detailed chemistry is a major computational bottleneck in practical reacting-flow CFD, while source-term prediction errors can make integrated solutions diverge or become unstable.

    Source: §1 · pp. 2–3
  • Method

    ChemNODE replaces mechanism-based source-term calculations with neural networks and trains them by integrating the ODE and minimizing error between predicted and observed solutions.

    Source: §1 · p. 3, §2 · pp. 4, 6
  • Results

    2.3x speedup over the full chemical mechanism, while ChemNODE captured correct species time evolution across a wide range of hydrogen-air conditions.

    Source: §3.1 · p. 12, §4 · p. 14
  • Takeaways & Limitations

    The proof of concept covers a zero-dimensional homogeneous constant-pressure hydrogen-air reactor, with extension to complex hydrocarbon fuels and practical CFD left for future work.

    Source: §4 · pp. 14–15

    The proof of concept is limited to hydrogen-air; high-pressure hydrocarbon applications require efficient stiff solvers, and practical CFD coupling remains future work.

    Source: §4 · p. 15

Abstract

from arXiv · show

Solving for detailed chemical kinetics remains one of the major bottlenecks for computational fluid dynamics simulations of reacting flows using a finite-rate-chemistry approach. This has motivated the use of fully connected artificial neural networks to predict stiff chemical source terms as functions of the thermochemical state of the combustion system. However, due to the nonlinearities and multi-scale nature of combustion, the predicted solution often diverges from the true solution when these deep learning models are coupled with a computational fluid dynamics solver. This is because these approaches minimize the error during training without guaranteeing successful integration with ordinary differential equation solvers. In the present work, a novel neural ordinary differential equations approach to modeling chemical kinetics, termed as ChemNODE, is developed. In this deep learning framework, the chemical source terms predicted by the neural networks are integrated during training, and by computing the required derivatives, the neural network weights are adjusted accordingly to minimize the difference between the predicted and ground-truth solution. A proof-of-concept study is performed with ChemNODE for homogeneous autoignition of hydrogen-air mixture over a range of composition and thermodynamic conditions. It is shown that ChemNODE accurately captures the correct physical behavior and reproduces the results obtained using the full chemical kinetic mechanism at a fraction of the computational cost.

1. INTRODUCTION

Detailed chemical kinetics bottleneck practical reacting-flow CFD, while simplified chemistry sacrifices predictive accuracy. ChemNODE integrates learning with numerical validation, training neural networks to predict source terms that yield accurate ODE solutions.

1. INTRODUCTION

  • Detailed chemical kinetics is a major bottleneck in practical combustion CFD, prompting simplified models that sacrifice predictive accuracy.The challenge is especially relevant to simulations with millions of grid points.Source: §1 · p. 2
  • Earlier ML work spans reduced-dimensional source-term closure, flamelet-table models, and neural-network predictions of chemical source terms.Studies also applied ML to ignition-delay prediction, pyrolysis, and chemical-reaction-rate extraction.Source: §1 · pp. 2–3
  • Prior ML approaches learn source terms from simulated data, but small prediction errors can cause solutions to diverge or become unstable when integrated.Early-time source-term errors can be especially consequential in nonlinear combustion.Source: §1 · p. 3
  • ChemNODE combines data-driven learning and numerical validation by training source-term predictors against actual and predicted solutions.The approach uses neural ordinary differential equation models to learn source terms that lead to accurate ODE solutions.Source: §1 · pp. 3–4

2. ChemNODE framework

ChemNODE replaces mechanism-based source-term computation with neural networks and trains them against integrated thermochemical solutions. Its framework progressively trains species networks and computes derivatives through both the networks and ODE solver.

2. ChemNODE framework

  • The setup represents an unsteady homogeneous reactor without diffusion or convection, with thermochemical states comprising species mass fractions and temperature.The observations form a matrix of S time samples across N thermochemical scalars.Source: §2 · p. 4
  • Neural networks replace chemical-mechanism source-term calculations, which are computationally costly for detailed kinetics.The source term is treated as a function of the thermochemical state and time.Source: §2 · p. 4
  • ChemNODE trains neural networks against the integrated thermochemical solution, rather than only minimizing source-term prediction error.The loss compares observed and predicted scalar values at time instants during ODE integration.Source: §2 · pp. 5–6
  • Species networks are trained sequentially because concurrent training was too unstable under nonlinear dependencies between species.At each training step, the initial state combines already predicted scalars with ground-truth values for the remaining scalars.Source: §2 · p. 6
  • Training computes derivatives through both neural-network layers and ODE-solver operations to adjust network parameters against solution error.The study uses forward-mode continuous sensitivity analysis, forward-mode automatic differentiation, and an A-L stable stiffly-accurate fourth-order ESDIRK solver.Source: §2 · pp. 6–7

3. Results

ChemNODE is evaluated on homogeneous hydrogen-air autoignition across equivalence ratios and temperatures, then compared using first- and second-order optimizers. It reproduces chemical-mechanism behavior and reaches steady state faster, while Levenberg-Marquardt achieves a lower loss than Adam.

3.1 Homogenous hydrogen-air reactor

  • The proof-of-concept uses a constant-pressure, zero-dimensional homogeneous reactor, with hydrogen-air autoignition at 1 atm across initial temperatures of 950–1200 K and equivalence ratios of 0.5–1.5.Training used 36 time series, each sampled at 50 integration times; H, HO2, and H2O2 were excluded from the thermochemical state.Source: §3.1 · p. 8
  • At Φi = 0.5, ChemNODE captures species trends and the lag between rapid O2 and H2 consumption, with maximum absolute relative final-temperature error of about 3.0%.Figure 2 compares the ChemNODE and detailed-mechanism solutions; the final temperature is underpredicted.Source: §3.1 · p. 9, Figure 2 · p. 9
  • At Φi = 0.9, final temperature is underpredicted by 1.3% on average, while at Φi = 1.5, ChemNODE captures fuel consumption lagging oxidizer consumption.The cited comparisons cover multiple initial temperatures.Source: §3.1 · p. 10, Figure 3 · p. 10, Figure 4 · p. 11
  • ChemNODE accurately predicts ignition delay across conditions, including its U-shaped dependence on equivalence ratio at higher temperatures and monotonic increase at lower temperatures.Ignition delay is defined as the time of maximum temperature-increase rate during combustion.Source: §3.1 · p. 11, Figure 5 · p. 11
  • ChemNODE reaches steady state about 2.3x faster than the full hydrogen-air mechanism.The comparison uses initial conditions spanning different initial temperatures and equivalence ratios.Source: Figure 6 · p. 12, §3.1 · p. 12

3.2 Comparison between first-order and second-order optimization

  • The Levenberg-Marquardt optimizer reaches a good solution on a strongly non-convex loss surface, while Adam becomes trapped at a local minimum with loss over one order of magnitude higher.The optimization problem is the same for both optimizers.Source: Figure 7 · p. 13, §3.2 · p. 14

4. Conclusion

ChemNODE learns chemical source terms by adjusting neural-network parameters against integrated solutions, and the hydrogen-air proof of concept captured species evolution and ignition-delay behavior while running about 2.3 times faster than the full mechanism. The study’s scope is a homogeneous reactor, and extending the framework to highly stiff hydrocarbon combustion depends on efficient numerical solvers.

4. Conclusion

  • ChemNODE captured the correct time evolution for all species across a wide range of conditions and predicted ignition delay and its variation with initial equivalence ratio and temperature.It was about 2.3 times faster than the full hydrogen-air mechanism.Source: §4 · p. 14
  • The proof-of-concept applied ChemNODE to hydrogen-air combustion in a homogeneous reactor.Source: §4 · p. 14
  • Extending ChemNODE to highly stiff, high-pressure hydrocarbon combustion requires efficient stiff solvers because ODE integration is embedded in training.Further work will implement advanced solvers and demonstrate direct coupling with CFD simulations of gas-turbine combustors and internal-combustion engines.Source: §4 · p. 15
Loading 2101.04749v3…