A multi-scale sampling method for accurate and robust deep neural network to predict combustion chemical kinetics

Tianhan Zhang, Yuxiao Yi, Yifan Xu, Zhi X. Chen, Yaoyu Zhang, Weinan E, Zhi-Qin John XuarXiv 2022

Introduction

High-fidelity combustion simulations are essential for the development of efficient aerospace propulsion systems and clean energy technologies. However, these simulations are notoriously expensive due to the need to solve "stiff" Ordinary Differential Equations (ODEs) representing chemical kinetics. In a typical Computational Fluid Dynamics (CFD) simulation, solving these equations for dozens or hundreds of chemical species across millions of grid points can account for over 90% of the total computational cost.

While Deep Neural Networks (DNNs) have been proposed as a faster alternative to traditional ODE solvers, they have historically struggled with two primary issues: the "manifold trap" and the "scale gap." This paper introduces a novel multi-scale sampling and preprocessing strategy that enables a single DNN to predict chemical kinetics accurately and robustly across 0D, 1D, 2D, and 3D turbulent scenarios without case-specific tuning.

The Challenges of Neural Chemical Kinetics

The Manifold Trap

Most DNN-based combustion models are trained on "manifold data"—data points extracted from specific flame simulations. While these models perform well within the narrow conditions of their training set, they are often brittle. In turbulent flows, small perturbations constantly push the chemical state slightly off this manifold. If a DNN has not been trained on these "off-manifold" states, its predictions can diverge rapidly, leading to numerical instability.

The Scale Gap

Chemical species concentrations in a flame vary by as many as ten orders of magnitude. Major species like fuel and oxygen exist in high concentrations, while critical radicals—the "sparks" that drive the reaction—may exist at mass fractions as low as $10^{-9}$. Standard DNNs tend to ignore these tiny values, focusing instead on the large-scale species, which results in a failure to capture ignition and extinction phenomena.

Methodology

The researchers developed two key innovations to overcome these hurdles: the Box-Cox Transformation and Multi-scale Sampling.

Box-Cox Transformation (BCT)

To address the scale gap, the authors utilized the Box-Cox Transformation to preprocess species mass fractions. Unlike standard normalization or log-transforms (which can fail when concentrations reach zero), BCT maps the wide-ranging mass fractions to an $O(1)$ scale. This effectively "lowers the frequency" of the data, making it easier for the DNN to learn the influence of trace radicals on the overall reaction rate.

Multi-scale Sampling

To solve the manifold trap, the team moved away from training on specific simulation results. Instead, they generated a massive synthetic dataset of 5.3 million samples. By sampling major species and then systematically sampling "other" species across 25 different log-scales (from $10^{-25}$ to 1), they created a "thick" training cloud around the chemical manifold. This ensures the model remains robust even when turbulent flow perturbs the chemical state.

Architecture

The model employs a relatively simple three-hidden-layer DNN using the Gaussian Error Linear Unit (GELU) activation function. The network is trained to predict the change in species concentration over a specific time step ($\Delta t$), effectively acting as a surrogate for the integrated ODE solver.

Results and Performance

The proposed model was validated against traditional solvers (such as CVODE and Cantera) across a variety of configurations using a hydrogen/air mechanism (8 species).

  • Generality: A single pre-trained DNN successfully simulated 0D autoignition, 1D premixed flames, 2D triple-flames, and 3D turbulent jet flames without retraining.
  • Accuracy: The DNN accurately matched ignition delay times and laminar flame speeds across a wide range of equivalence ratios. In 3D Direct Numerical Simulations (DNS), the model correctly predicted the lift-off height of a turbulent hydrogen jet (~7D), a significant benchmark for reduced-order models.
  • Efficiency: The DNN achieved a 70% speedup in ODE integration time for 1D simulations. For complex 3D DNS, the overall simulation speed increased by 2x to 3x.

Discussion and Future Work

The authors emphasize that data selection, rather than model architecture, is the primary determinant of performance. By focusing on the robustness of the training data through multi-scale sampling, a simple network can outperform complex architectures trained on limited manifold data.

However, challenges remain. Scaling this approach to complex hydrocarbon fuels—which involve hundreds of species—will significantly increase the input dimensionality and computational overhead of the DNN. Additionally, while the model is highly accurate, small errors can accumulate over thousands of time steps, leading to a maximum error of approximately 20% in specific laminar flame speed calculations. Future research will focus on hardware optimization, such as moving matrix operations to GPUs, to further enhance the speedup provided by these neural surrogates.

Summary updated

BibTeX
@misc{zhang2022multi,
  author = {Tianhan Zhang and Yuxiao Yi and Yifan Xu and Zhi X. Chen and Yaoyu Zhang and Weinan E and Zhi-Qin John Xu},
  title = {{A multi-scale sampling method for accurate and robust deep neural network to predict combustion chemical kinetics}},
  year = {2022},
  eprint = {2201.03549},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.03549},
}
Figure