A robust and stable hybrid neural network/finite element method for 2D flows that generalizes to different geometries
Robert Jendersie, Nils Margenberg, Christian Lessig, Thomas Richter
TL;DR
This work advances a robust, hybrid neural network–multigrid solver (DNN-MG) for the 2D incompressible Navier–Stokes equations, coupling a coarse finite element solver with neural corrections on finer grids. Key contributions include stability enhancements via replay buffers, exploration of MLP, RNN, and Transformer architectures, and probabilistic training to model correction uncertainty on unstructured meshes. The authors demonstrate improved generalization across geometries and Reynolds numbers, with significantly reduced time-local errors and practical GPU-enabled speedups, while identifying limitations in highly sensitive or symmetric flow regimes. The approach offers a scalable path to efficient, accurate, and geometry-generalizable fluid simulations, with potential extensions to transport-dominated and probabilistic forecasting tasks.
Abstract
The deep neural network multigrid solver (DNN-MG) combines a coarse-grid finite element simulation with a deep neural network that corrects the solution on finer grid levels, thereby improving the computational efficiency. In this work, we discuss various design choices for the DNN-MG method and demonstrate significant improvements in accuracy and generalizability when applied to the solution of the instationary Navier-Stokes equations. We investigate the stability of the hybrid simulation and show how the neural networks can be made more robust with the help of replay buffers. By retraining on data derived from the hybrid simulation, the error caused by the neural network over multiple time-steps can be minimized without the need for a differentiable numerical solver. Furthermore, we compare multiple neural network architectures, including recurrent neural networks and Transformers, and study their ability to utilize more information from an increased temporal and spatial receptive field. Transformers allow us to make use of information from cells outside the predicted patch even with unstructured meshes while maintaining the locality of our approach. This can further improve the accuracy of DNN-MG without a significant impact on performance.
