Learning Effective Dynamics across Spatio-Temporal Scales of Complex Flows

Han Gao, Sebastian Kaltenbach, Petros Koumoutsakos · DOI

Introduction

Simulating complex fluid flows across multiple scales is a cornerstone of modern engineering, from aerodynamics to climate modeling. However, high-fidelity simulations using traditional solvers like OpenFOAM are computationally exhaustive, often requiring massive supercomputing resources. While Reduced-Order Models (ROMs) offer a faster alternative, standard techniques like Proper Orthogonal Decomposition (POD) frequently struggle with the non-linearities of turbulence and the unstructured, non-uniform meshes common in engineering applications.

Furthermore, while Graph Neural Networks (GNNs) have emerged as a powerful tool for handling unstructured grids, they often suffer from "rollout instability." In these models, small errors at a single time step accumulate rapidly, causing long-term predictions to drift into physical nonsense. This paper introduces Graph-LED, a framework designed to overcome these challenges by decoupling spatial compression from temporal forecasting.

Methodology: The Graph-LED Framework

The authors propose a two-stage framework called Graph-based Learning of Effective Dynamics (Graph-LED). This architecture combines the spatial processing power of GNNs with the long-range temporal modeling capabilities of Transformers.

The Graph-LED architecture: A GNN-based autoencoder handles spatial compression, while a Transformer-based model (GPT-2 framework) predicts temporal evolution in the latent space.

1. Spatial Dimension Reduction

The model utilizes a GNN-based encoder to compress high-dimensional flow data (such as velocity and pressure) from an unstructured mesh into a compact, low-dimensional latent vector. A corresponding decoder maps these vectors back to the original mesh. To handle transitions between different mesh resolutions, the framework employs a nearest-neighbor interpolation method. This allows the GNN to perform dimensionality reduction on non-Euclidean grids, effectively mimicking the pooling operations seen in standard Convolutional Neural Networks (CNNs).

Representation of the unstructured mesh as a graph, where nodes represent physical locations and edges represent spatial relationships within Voronoi-like cells.

2. Temporal Forecasting

Rather than using a GNN for iterative time-stepping—which is prone to instability—Graph-LED employs an attention-based autoregressive model following the GPT-2 framework. This Transformer learns the "effective dynamics" by analyzing a sliding window of previous latent states to predict future states.

Decoupled Training: A critical technical innovation is the separate training of the spatial and temporal models. This approach reduces memory overhead and allows the Transformer to focus exclusively on the temporal evolution of compressed features, leading to significantly higher stability without the need for the "noise injection" typically required by GNN-based simulators.

Experimental Evaluation

The framework was evaluated on two challenging fluid dynamics benchmarks:

  • Flow Past a Cylinder ($Re = 696$): The system was reduced from 27,127 mesh points to 1,024 latent points.
  • Flow Over a Backward-Facing Step ($Re = 5000$): A complex turbulent case involving pipe flow and recirculation, reduced from 20,480 points to 2,048.

Key Results and Insights

Graph-LED demonstrates significant improvements over state-of-the-art baselines like MeshGraphNet and NNGraphNet:

  • Efficiency: The model achieved a 900x speedup for the cylinder flow and a 100x speedup for the backward-facing step compared to traditional numerical solvers. Storing states in latent form reduced memory requirements from 40MB to just 2MB per state.
  • Accuracy: Graph-LED produced 10 times less error across key variables (velocity, pressure, and vorticity) compared to GNN-only baselines.
  • Stability: The autoregressive attention mechanism proved naturally robust to error accumulation, maintaining physical fidelity over long-term rollouts without specialized stabilization techniques.
  • Mesh Agnosticism: The model successfully handled non-uniform grids where node density varies significantly, such as dense clusters near a cylinder and sparse nodes in the far wake.

Conclusion and Future Work

Graph-LED represents a significant step toward real-time, high-fidelity fluid simulation on complex geometries. By moving the "physics" of time into a latent space governed by a Transformer, the model captures long-range dependencies that iterative GNNs miss. Future research will explore adaptive refinement strategies, allowing the graph to change dynamically to track moving physical features like vortices, and addressing the "offline" cost of generating high-fidelity training data for new physical regimes.

Summary updated

BibTeX
@inproceedings{gao2025learning,
  author = {Han Gao and Sebastian Kaltenbach and Petros Koumoutsakos},
  title = {{Learning Effective Dynamics across Spatio-Temporal Scales of Complex Flows}},
  booktitle = {CPAL (Proceedings Track)},
  year = {2025},
  url = {https://openreview.net/forum?id=TU9e5yChcU},
}
Figure