A six-point neuron-based ENO (NENO6) scheme for compressible fluid dynamics

Yue Li, Lin Fu, Nikolaus A. AdamsarXiv 2022 · DOI

TL;DR

Researchers have developed NENO6, a new numerical scheme that replaces traditional, hand-tuned "smoothness indicators" in fluid simulations with a deep neural network. By using an artificial neural network (ANN) to classify whether local data is smooth or discontinuous, the scheme achieves high-order accuracy while capturing shocks more cleanly and robustly than previous data-driven methods.

What Problem Does This Paper Address?

Simulating compressible fluids (like air flowing over a supersonic wing) is notoriously difficult because of shocks—sudden, violent changes in pressure and density. To handle these, engineers use "shock-capturing" schemes like ENO (Essentially Non-Oscillatory) or WENO (Weighted ENO).

These methods rely on smoothness indicators: mathematical formulas that look at a small neighborhood of points (a "stencil") and guess if a shock is present. If the indicator detects a shock, it tells the solver to ignore that data to avoid "wiggles" (the Gibbs phenomenon). However, these indicators are often designed with a degree of empiricism—they are "hand-tuned" and might not be optimal for every scenario. Previous attempts to use AI to solve this often resulted in schemes that were either too blurry or unstable when applied to new problems.

Methods

The authors introduce the NENO6 (six-point NEuron-based ENO) scheme. Its core innovation is replacing the classical smoothness indicator with a Multi-Layer Perceptron (MLP).

  1. Stencil Selection: The scheme looks at a six-point global stencil and breaks it down into four candidate sub-stencils of increasing width.
  2. The ANN Classifier: Instead of a formula, a trained MLP takes six normalized cell values as input. It outputs the probability that each sub-stencil contains a discontinuity.
  3. Binary Logic: If the ANN predicts a >50% chance of a discontinuity, that stencil is discarded. The final reconstruction is a "convex combination" (a weighted average) of the remaining "clean" stencils.
  4. Integration: The ANN is trained offline and then integrated into a standard Partial Differential Equation (PDE) solver. If the ANN fails (e.g., discards all stencils), a safe "first-order upwind" fallback is used.

Datasets

The authors generated a massive dataset of 709,000 samples to ensure the network could generalize across different types of flow.

  • Analytic Functions: Linear slopes, sine waves, exponential curves, and step functions.
  • Evolved Data: Solutions from the linear advection and Burgers equations, captured at various time steps to provide "real-world" physics-based profiles.
  • Resolutions: Data was collected at grid resolutions of $N=50, 100,$ and $200$ to ensure the network wasn't biased toward a specific mesh size.

Key Insights and Ideas

  • ANN as a Classifier, Not a Solver: Unlike previous "WENO-NN" attempts that tried to have an ANN predict numerical coefficients directly (which often ruined accuracy), NENO6 uses the ANN strictly as a stencil selector. This keeps the underlying physics-based polynomial math intact.
  • Generality via Normalization: By normalizing the input cell values, the ANN becomes "scale-invariant." It doesn't care if the pressure is 1 Pascal or 1 million Pascals; it only looks at the shape of the local data.
  • Dimension-by-Dimension Extension: Even though the ANN was trained on 1D data, it works seamlessly on 2D problems (like the Double Mach reflection) by applying the 1D logic along each axis. This proves the method is robust and doesn't require "re-tuning" for higher dimensions.

Key Results

  • Accuracy: In smooth regions (like a simple cosine wave), NENO6 maintains the desired 4th-order accuracy, matching the performance of the best classical schemes (TENO6-opt).
  • Shock Capturing: In the "Multiwave" test—a brutal benchmark involving Gaussian pulses and square waves—NENO6 resolved discontinuities more sharply than the standard WENO-CU6 and TENO6-opt schemes.
  • Robustness: It successfully handled complex 2D Riemann problems and the "Double Mach reflection" without generating the artificial overshoots or instabilities that plagued earlier AI-based methods.

Limitations and Future Work

  • Computational Cost: The authors acknowledge that invoking a neural network at every single grid point and every time step is computationally expensive. They suggest that further efficiency improvements are needed for large-scale industrial use.
  • Accuracy Degeneration: While it generally maintains high-order accuracy, some "accuracy degeneration" was noted in specific sine-wave tests (dropping to 2nd-order in some cases), though it remained superior to previous data-driven attempts.
  • Future Directions: The team plans to optimize the "spectral properties" of the scheme, potentially making it a powerful tool for Implicit Large-Eddy Simulation (ILES) of turbulent flows.

Summary updated

Abstract

In this work, we introduce a deep artificial neural network (ANN) that can detect locations of discontinuity and build a six-point ENO-type scheme based on a set of smooth and discontinuous training data. While a set of candidate stencils of incremental width is constructed, the ANN instead of a classical smoothness indicator is deployed for an ENO-like sub-stencil selection. A convex combination of the candidate fluxes with the re-normalized linear weights forms the six-point neuron-based ENO (NENO6) scheme. The present methodology is inspired by the work [Fu et al., Journal of Computational Physics 305 (2016): 333-359] where contributions of candidate stencils containing discontinuities are removed from the final reconstruction stencil. The binary candidate stencil classification is performed by a well-trained ANN with high fidelity. The proposed framework shows an improved generality and robustness compared with other ANN-based schemes. The generality and performance of the proposed NENO6 scheme are demonstrated by examining one- and two-dimensional benchmark cases with different governing conservation laws and comparing to those of WENO-CU6 and TENO6-opt schemes.
BibTeX
@misc{li2022six,
  author = {Yue Li and Lin Fu and Nikolaus A. Adams},
  title = {{A six-point neuron-based ENO (NENO6) scheme for compressible fluid dynamics}},
  year = {2022},
  eprint = {2207.08500},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.08500},
}

Loading related content...

Figure