Abstract
Classical high-order weighted essentially non-oscillatory (WENO) schemes are designed to achieve optimal convergence order for smooth solutions and to maintain non-oscillatory behaviors for discontinuities. However, their spectral properties are not optimal, which limits the ability to capture high-frequency waves and small-scale features. In this paper, we propose a data-driven optimized method to improve the spectral properties of the WENO schemes. By analyzing the approximate dispersion relation (ADR), the spectral error of the schemes can be bounded by the reconstructed errors of a series of trigonometric functions with different wavenumbers. Therefore, we propose the new schemes WENO5-JS/Z-NN that introduce a compensation term parameterized by a neural network to the weight function of the WENO5-JS/Z schemes. The neural network is trained such that the generated weights can minimize the reconstructed errors over a large number of spatial stencils, and furthermore, improve the spectral accuracy. Meanwhile, the Total Variation Diminishing (TVD) constraint and anti-dissipation penalization are incorporated into the loss function to enhance the shock-capturing capability and preserve stability in simulating high-frequency waves. Compared to WENO5-JS/Z, our schemes maintain the ability to capture discontinuities while providing higher resolution for fine-scale flow features. The ADR indicates that the new schemes can match the exact spectrum more accurately over a broader range of wavenumbers.
Introduction
In computational fluid dynamics (CFD), researchers face a "conflicting demands" problem when simulating hyperbolic conservation laws. To capture shocks (discontinuities), a scheme requires enough numerical dissipation to prevent instability. However, to capture turbulence or high-frequency waves, the scheme needs very low dissipation and dispersion to avoid damping the signal. Classical Weighted Essentially Non-Oscillatory (WENO) schemes are the industry standard for shocks, but their spectral properties are often sub-optimal, effectively acting as low-pass filters that erase multiscale structures. This paper introduces a data-driven approach to optimize these weights dynamically.
Methodology
The authors propose a "compensation" strategy. Instead of replacing the mathematically rigorous WENO weights ($w^*$) with a black-box neural network, they define the final weight as the sum of the classical weight and a correction term $w^{NN}$ provided by a Fully Connected Neural Network (FCNN).
Spatial Discretization and Stencils
The fifth-order WENO scheme utilizes a five-point stencil to reconstruct values at cell interfaces. This large stencil is decomposed into three smaller candidate stencils ($S_0, S_1, S_2$), as shown below, which the network uses to determine the optimal weighting for reconstruction.
WENO5-NN Architecture
The proposed architecture integrates a "Delta layer" to process input fluxes before they enter the FCNN. This layer calculates local differences to help the network identify the regularity of the solution, distinguishing between smooth waves and sharp shocks. The network is trained using a physics-informed loss function that includes interface reconstruction error, TVD (Total Variation Diminishing) penalization for stability, and anti-dissipation penalization to prevent numerical blow-ups.
Key Results
The WENO5-NN scheme was evaluated against standard CFD benchmarks, demonstrating significant improvements over traditional methods:
- Superior Resolution: In the Shu-Osher and Titarev-Toro tests, the scheme identified significantly more high-frequency wave structures behind the shock front compared to standard WENO5-JS or WENO5-Z.
- Vortex Capture: In 2D simulations of Rayleigh-Taylor instability, the NN-optimized schemes captured intricate, small-scale vortical structures that were completely smoothed over by classical methods.
- Spectral Matching: Approximate Dispersion Relation (ADR) analysis showed that the new schemes match the exact physical spectrum over a much broader range of wavenumbers (frequencies).
- Shock Handling: Despite the increased sharpness, the TVD constraints ensured that the scheme handled strong shocks without producing spurious oscillations.
Conclusion
By treating the neural network as a correction to a classical scheme rather than a replacement, the authors maintain the robust foundation of WENO while gaining the flexibility of deep learning. While the computational cost of inference at every grid point is a factor, the gains in spectral accuracy offer a powerful new tool for high-fidelity turbulence modeling. Future work will explore extending this framework to unstructured grids common in industrial aerospace applications.
Summary updated