Deep learning observables in computational fluid dynamics

Kjetil O. Lye, Siddhartha Mishra, Deep RayJournal of Computational Physics 2019 · DOI

Abstract

High-fidelity computational fluid dynamics (CFD) simulations are computationally intensive, posing a significant bottleneck for many-query problems such as uncertainty quantification (UQ) and optimization. This paper presents a deep learning framework that maps input parameters directly to specific physical observables, such as lift and drag, bypassing the need to predict full flow fields. By utilizing fully connected networks and ensemble training, the proposed method achieves high accuracy even in data-poor regimes. Results on 2D airfoil and 1D shock tube benchmarks demonstrate speedups of up to two orders of magnitude over traditional Monte Carlo methods, requiring as few as 128 training samples to achieve less than 1% error in lift prediction.

Introduction

High-fidelity CFD simulations are the backbone of modern engineering, yet their computational cost remains a primary obstacle for tasks requiring thousands of iterations. Uncertainty Quantification (UQ), shape optimization, and Bayesian inversion often require a "many-query" approach that is infeasible with standard PDE solvers. A single high-resolution run for a 2D airfoil can take hours on a high-performance cluster. The challenge is exacerbated in "data-poor" regimes where only a limited number of expensive simulations can be performed. Standard deep learning often struggles in these scenarios, especially when the underlying physics involves low-regularity features like shock waves and turbulence.

Methodology

The central innovation of this work is the learning of a parameter-to-observable map. Traditional surrogate models often attempt to reconstruct the entire flow field, which is high-dimensional and contains discontinuities (e.g., shocks). In contrast, this framework trains deep neural networks (DNNs) to predict integrated functionals of the field, such as total lift or drag. These observables are typically smoother and more Lipschitz continuous than the underlying fields, making them significantly easier for networks to approximate.

Model Architecture and Training

The architecture employs standard multi-layer perceptrons (MLPs) to perform the mapping from input parameters to the desired observables.

Architecture of the fully connected deep neural network used to map input parameters to physical observables.

To address the sensitivity of small datasets, the authors implement an ensemble training strategy. They evaluate 114 different hyperparameter configurations (varying layers, widths, and regularization), selecting the best models based on validation loss or Wasserstein distance. This ensemble approach ensures robustness against the high variance inherent in small-sample training. Furthermore, the framework integrates these networks into a Deep Learning Quasi-Monte Carlo (DLQMC) pipeline, using low-discrepancy Sobol sequences to ensure the parameter space is covered more uniformly than random sampling.

Experimental Results

The approach was validated on two primary benchmarks: a 2D RAE 2822 airfoil (compressible Euler equations) with a 6-dimensional input space, and a 1D stochastic shock tube designed to test robustness against discontinuities.

Accuracy and Efficiency

In the airfoil case, the network achieved less than 1% relative error for lift and less than 2% for drag using only 128 training samples. The computational efficiency gains are substantial:

  • Evaluation Speed: Once trained, a DNN evaluation takes approximately $10^{-5}$ seconds, compared to $2.4 \times 10^4$ seconds for a full CFD solve—a difference of nine orders of magnitude.
  • UQ Speedup: The DLQMC method provided a 6x to 8x speedup over baseline QMC and a ~200x speedup over standard Monte Carlo for the same level of accuracy.

Discussion and Conclusion

This research demonstrates that DNNs can effectively "compress" physical laws into efficient surrogate models for CFD observables. The authors found that their models achieved errors two orders of magnitude lower than theoretical "worst-case" bounds, suggesting that the non-linearity of deep learning is essential even for integrated observables.

While the current model is purely data-driven and focused on steady-state problems, its ability to operate in data-poor regimes opens new avenues for real-time design and control. Future work will focus on extending this framework to highly non-stationary, chaotic flows and scaling the methodology to 3D problems where data constraints are even more severe.

Summary updated

BibTeX
@article{lye2019deep,
  author = {Kjetil O. Lye and Siddhartha Mishra and Deep Ray},
  title = {{Deep learning observables in computational fluid dynamics}},
  journal = {Journal of Computational Physics},
  year = {2019},
  doi = {10.1016/j.jcp.2020.109339},
}
Figure