Accelerating hypersonic reentry simulations using deep learning-based hybridization (with guarantees)

Paul Novello, Gaël Poëtte, David Lugato, Simon Peluchon, Pietro Marco CongedoJournal of Computational Physics 2022 · DOI

Abstract

In this paper, we are interested in the acceleration of numerical simulations. We focus on a hypersonic planetary reentry problem whose simulation involves coupling fluid dynamics and chemical reactions. Simulating chemical reactions takes most of the computational time but, on the other hand, cannot be avoided to obtain accurate predictions. We face a trade-off between cost-efficiency and accuracy: the simulation code has to be sufficiently efficient to be used in an operational context but accurate enough to predict the phenomenon faithfully. To tackle this trade-off, we design a hybrid simulation code coupling a traditional fluid dynamic solver with a neural network approximating the chemical reactions. We rely on their power in terms of accuracy and dimension reduction when applied in a big data context and on their efficiency stemming from their matrix-vector structure to achieve important acceleration factors ($\times 10$ to $ imes 18.6$). This paper aims to explain how we design such cost-effective hybrid simulation codes in practice. Above all, we describe methodologies to ensure accuracy guarantees, allowing us to go beyond traditional surrogate modeling and to use these codes as references.

Introduction: The Hypersonic Challenge

When a spacecraft enters an atmosphere at speeds exceeding Mach 16, it encounters a high-pressure, high-temperature plasma environment. To simulate this accurately, engineers must couple fluid dynamics (the movement of air) with chemical kinetics (the dissociation and recombination of molecules). This coupling is essential for predicting heat loads and aerodynamic forces during reentry.

Schematic of a hypersonic fluid stream interacting with an object, generating a shock wave and subsequent chemical reactions.

The Computational Bottleneck

The primary obstacle in these simulations is the computational cost of chemical kinetics. In a standard simulation, a chemical equilibrium solver must be invoked for every cell in the computational mesh, millions of times per iteration. This creates a difficult choice for engineers: use a "perfect gas" model that is fast but physically inaccurate, or wait weeks for a high-fidelity simulation that includes full chemical reactions.

Comparison of simulation run-times and physical fidelity: (a) without chemical reactions (81s) and (b) with chemical reactions (4090s).

Methodology: Hybridization and Guarantees

To address this, we propose a hybridization approach that replaces the traditional chemical library (Mutation++) with a Deep Neural Network (DNN) while keeping the standard fluid solver.

Key Technical Innovations

  • Vectorized Inference: Traditional libraries are often called sequentially. By implementing the DNN using the TensorFlow C API, we process the entire mesh as a single large matrix operation, leveraging modern hardware acceleration.
  • Goal-Oriented Sensitivity Analysis: We used the Hilbert-Schmidt Independence Criterion (HSIC) to determine which hyperparameters actually impacted accuracy, allowing us to design "lean" and fast networks.
  • Ensuring Accuracy: We developed two paths for guarantees. The Zero-Error Path uses the DNN as a "warm-start" initial guess for the traditional iterative solver, ensuring identical results to the original code with faster convergence. The Acceptable Error Path uses a statistical "error budget" to prove that the DNN's approximation error is significantly smaller than errors inherent in mesh discretization.

Key Results and Insights

  • Significant Speedups: The hybrid code (NN only) was 18.7 times faster than the original simulation. The "warm-start" approach provided a 10.6x speedup with a 100% guarantee of matching original accuracy.
  • High Fidelity: The normalized $L_2$ error for the NN was approximately $10^{-8}$, near the limit of double-precision floating-point round-off error.
  • Scaling and Stability: As the number of chemical species increased (from 3 to 64), the computational advantage of the NN grew. Interestingly, the NN often produced smoother results than the original library by learning the underlying physical manifold and filtering out numerical instabilities.

Conclusion and Future Work

This hybrid framework demonstrates that deep learning can drastically accelerate complex physical simulations without sacrificing reliability. Future research will focus on transfer learning to adapt models quickly to different planetary atmospheres (e.g., moving from Earth to Mars) and physics-informed architectures that embed mass conservation directly into the network.

Summary updated

BibTeX
@article{novello2022accelerating,
  author = {Paul Novello and Gaël Poëtte and David Lugato and Simon Peluchon and Pietro Marco Congedo},
  title = {{Accelerating hypersonic reentry simulations using deep learning-based hybridization (with guarantees)}},
  journal = {Journal of Computational Physics},
  year = {2022},
  doi = {10.1016/j.jcp.2023.112700},
}
Figure