Deep Learning-Enabled Supercritical Flame Simulation at Detailed Chemistry and Real-Fluid Accuracy Towards Trillion-Cell Scale

Zhuoqiang Guo, Runze Mao, Lijun Liu, Guangming Tan, Weile Jia, Zhi X. Chen

TL;DR

This paper presents a significantly optimized version of the DeepFlame simulation software, enabling the first practical simulations of supercritical rocket engine combustion at the trillion-cell scale. By addressing key computational bottlenecks in parallelization, PDE solving, DNN inference, and I/O, the authors achieve unprecedented performance and accuracy, paving the way for next-generation propulsion systems.

What Problem Does This Paper Address?

Simulating supercritical flames, crucial for advanced rocket engines and power generation, has been severely limited by computational constraints. These simulations require modeling complex fluid mechanics, real-fluid properties, and detailed chemical kinetics across vast spatial and temporal scales. Traditional methods struggle with the sheer number of cells (billions to trillions) and the computational intensity of detailed chemistry, leading to simulations that are either too coarse to be accurate or take prohibitively long. This gap hinders the design and optimization of high-performance systems operating under extreme conditions.

Methods

The authors tackle these challenges by optimizing the DeepFlame framework, which already incorporates deep neural networks (DNNs) for accelerating reactive flow simulations. Their approach involves four key innovations:

  • Two-Level Parallelization: A novel scheme that partitions computational meshes first by MPI processes (process-level) and then by threads within each process (thread-level). This allows DeepFlame to effectively utilize the millions of cores in modern supercomputers like Sunway and Fugaku, overcoming OpenFOAM's limitations in multi-threading.
  • Many-Core PDE Solver: A highly optimized solver for the fluid dynamics equations. This involves a hierarchical mesh decomposition and renumbering strategy to improve data locality and reduce write conflicts, along with a customized block sparse matrix format and architecture-specific optimizations for platforms like Sunway and Fugaku.
  • DNN Inference Optimization: Significant speedups in the DNN modules (ODENet for chemistry and PRNet for real-fluid properties) are achieved through mixed-precision computation (FP16) and a novel tabulation method for the GeLU activation function, which was a major bottleneck.
  • I/O Optimization: To handle the massive data requirements of trillion-cell simulations, the authors introduce three strategies: runtime mesh refinement to reduce initial file sizes, Foam File Indexing to enable parallel I/O for previously unsupported formats, and Grouped Parallel I/O to manage concurrent file access efficiently.

Datasets

The paper uses the 3D Taylor-Green Vortex (TGV) benchmark, a standard for code validation in fluid dynamics and combustion. They also performed simulations on a realistic liquid rocket engine configuration with over 100 injectors. No new training datasets were explicitly mentioned; rather, the focus was on optimizing the execution of pre-trained DNN models within the simulation framework.

Key Insights and Ideas

  • DNNs as a Scalability Enabler: The paper strongly demonstrates that deep learning, when integrated into CFD frameworks and optimized for exascale hardware, can overcome the inherent scalability limitations of traditional methods for complex physics simulations.
  • Hardware-Software Co-design is Crucial: The significant performance gains are not just from algorithmic improvements but also from tailoring optimizations to the specific architectures of Sunway and Fugaku, highlighting the importance of co-design.
  • I/O is a Major Bottleneck for Extreme-Scale CFD: The extensive work on I/O optimization underscores that for simulations pushing into the trillion-cell regime, efficient data handling is as critical as computational speed.
  • Mixed-Precision and Tabulation Unlock DNN Performance: The success in accelerating DNN inference through FP16 and function tabulation shows that careful numerical analysis can yield substantial speedups without sacrificing critical accuracy.

Key Results

The optimized DeepFlame achieves remarkable performance:

  • Peak Performance: 1.18 EFlop/s (21.8% of theoretical peak) on Sunway and 316.5 PFlop/s (31.8% of theoretical peak) on Fugaku, using mixed-FP16 precision.
  • Scale of Simulation: Enables simulations of up to 618 billion cells on Sunway and 154 billion cells on Fugaku.
  • Time-to-Solution: Achieves a time-to-solution of 1.2 × 10⁻⁹ s/DoF/cycle on 98,304 nodes of Sunway, which is stated to be orders of magnitude faster than previous state-of-the-art.
  • Accuracy: The optimized float-precision and mixed-FP16 variants show maximum relative errors of around 1.5% compared to the reference, demonstrating that the optimizations do not compromise accuracy.
  • Practical Application: Enables the first practical simulation of rocket engine combustion with over 100 LOX/CH4 injectors.

Limitations and Future Work

  • Limitations: While the paper focuses on significant improvements, it acknowledges that the DNN inference module still accounts for a substantial portion of the computational workload (e.g., 64.9% on Sunway post-optimization). The comparison between structured and unstructured meshes suggests that structured grids still offer slight advantages in data locality and load balancing, though the performance gap is minimal.
  • Future Work: The authors position their work as a critical step towards enabling high-fidelity supercritical flame modeling as a standard design tool for next-generation rocket engines and ultra-high energy density systems. Future work would likely involve applying this optimized framework to even larger and more complex combustion scenarios, further refining the DNN models, and exploring its applicability to other extreme-scale scientific computing problems.

Summary updated

BibTeX
@inproceedings{guo2025deep,
  author = {Zhuoqiang Guo and Runze Mao and Lijun Liu and Guangming Tan and Weile Jia and Zhi X. Chen},
  title = {{Deep Learning-Enabled Supercritical Flame Simulation at Detailed Chemistry and Real-Fluid Accuracy Towards Trillion-Cell Scale}},
  booktitle = {SC},
  year = {2025},
}
Figure