Enhancing Graph U-Nets for Mesh-Agnostic Spatio-Temporal Flow Prediction

Sunwoong Yang, Ricardo Vinuesa, Namwoo KangarXiv 2024 · DOI

Abstract

Predicting complex, unsteady fluid dynamics in real-time is a significant challenge for traditional Computational Fluid Dynamics (CFD). While deep learning offers a faster alternative, standard Convolutional Neural Networks (CNNs) are restricted to structured grids. This paper introduces an enhanced Graph U-Net architecture designed for unstructured meshes. By incorporating Gaussian-mixture-model (GMM) convolutions and strategic noise injection, the model achieves up to a 95% reduction in prediction error compared to baseline Graph Convolutional Networks (GCNs). The architecture demonstrates robust performance in both transductive and inductive learning scenarios, effectively capturing multi-scale flow features while mitigating rollout errors in long-term simulations.

Introduction

The ability to predict fluid flow in real-time is critical for the development of engineering digital twins. However, traditional CFD methods are often too computationally expensive for live applications. While CNNs have been employed to accelerate these predictions, they are fundamentally limited by their requirement for structured, rectangular grids. Real-world engineering problems typically involve "unstructured meshes"—irregular webs of points that conform to complex geometries like turbine blades or automotive components.

Graph Neural Networks (GNNs) provide a natural framework for handling such irregular data. Nonetheless, standard GNNs often struggle with the multi-scale nature of fluid dynamics—where small-scale turbulence influences large-scale pressure fields—and "rollout error," where minor inaccuracies in iterative time-step predictions accumulate over time. This work addresses these challenges by adapting the U-Net architecture to the graph domain.

Methodology

The proposed architecture leverages an encoder-decoder structure with skip connections, similar to the image-based U-Net, to capture features across multiple spatial resolutions.

Architecture of the Graph U-Net featuring encoding and decoding paths with skip connections and pooling operations.

Key Architectural Innovations

  1. GMM Convolutional Operator: Standard GCNs often treat all neighboring nodes equally. In contrast, this model utilizes a Gaussian Mixture Model (GMM) as a learnable weight function. This allows the network to learn the importance of spatial relationships, such as distance and direction, more effectively than standard operators.
  2. Noise Injection: To combat rollout error during auto-regressive inference (where the output at time $t$ is used as input for $t+1$), Gaussian noise is intentionally added to the training data. This forces the model to learn a mapping that is robust to the small errors encountered during long-term simulations.
  3. Graph Pooling (gPool) and Unpooling: The model employs a projection-based pooling mechanism to coarsen the graph, enabling it to capture global flow patterns before reconstructing fine-grained details in the decoding stage.
Algorithm for the Graph Pooling (gPool) operation used to coarsen the graph structure.

Experimental Setup

The model was evaluated using a benchmark dataset of unsteady vortex shedding behind a 2D circular cylinder. The experiments covered two main scenarios:

  • Transductive Learning: Training and testing on a single mesh with 1,946 nodes and 11,208 edges.
  • Inductive Learning: Testing generalization on three unseen mesh scenarios with varying cylinder diameters, inlet velocities, and mesh densities.

Results and Discussion

The enhanced Graph U-Net demonstrated significant performance gains over vanilla GCN architectures.

Accuracy and Stability

The optimized model achieved a Mean Squared Error (MSE) of $0.005 \times 10^{-3}$ for standard rollouts. The transition from a standard GCN to a GMM operator alone resulted in a 95% reduction in error, highlighting the importance of flexible spatial aggregation in physics-based tasks. Furthermore, noise injection reduced long-term rollout errors by 86%, maintaining physical realism over 200+ time steps.

The Pooling Paradox

An interesting finding emerged regarding the role of pooling in generalization. While graph pooling (gPool) improved performance in transductive settings (single mesh), omitting pooling led to better results in inductive settings (unseen meshes). This suggests that preserving the raw mesh structure may be more beneficial when the model needs to adapt to the unique geometric "fingerprints" of new environments.

Normalization

Layer Normalization (LN) was found to be superior to Graph Normalization (GN). By normalizing features for each node across time, LN preserves the temporal "pulse" of the fluid flow, which is often lost when using GN.

Conclusion

This research demonstrates that Graph U-Nets, when enhanced with GMM convolutions and noise injection, are a powerful tool for mesh-agnostic flow prediction. Future work will focus on scaling the architecture to 3D industrial flows and exploring "physics-informed" pooling mechanisms that prioritize regions of high physical interest, such as areas with significant vorticity or pressure gradients.

Summary updated

BibTeX
@misc{yang2024enhancing,
  author = {Sunwoong Yang and Ricardo Vinuesa and Namwoo Kang},
  title = {{Enhancing Graph U-Nets for Mesh-Agnostic Spatio-Temporal Flow Prediction}},
  year = {2024},
  eprint = {2406.03789},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.03789},
}
Figure