[Paper Review] Generalizable data-driven turbulence closure modeling on unstructured grids with differentiable physics
This paper presents a differentiable large eddy simulation (LES) framework on unstructured grids that integrates a multi-scale graph neural network (GNN) to learn a sub-grid scale (SGS) turbulence closure. By enabling end-to-end training via automatic differentiation, the method achieves LES accuracy comparable to a 10x more expensive fine-grid simulation while generalizing to unseen Reynolds numbers and geometry, demonstrating a 10x effective speedup.
Differentiable physical simulators are proving to be valuable tools for developing data-driven models for computational fluid dynamics (CFD). In particular, these simulators enable end-to-end training of machine learning (ML) models embedded within CFD solvers. This paradigm enables novel algorithms which combine the generalization power and low cost of physics-based simulations with the flexibility and automation of deep learning methods. In this study, we introduce a framework for embedding deep learning models within a finite element solver for incompressible Navier-Stokes equations, specifically applying this approach to learn a subgrid-scale (SGS) closure with a graph neural network (GNN). We first demonstrate the feasibility of the approach on flow over a two-dimensional backward-facing step, using it as a proof of concept to show that solver-consistent training produces stable and physically meaningful closures. Then, we extend this to a turbulent flow over a three-dimensional backward-facing step. In this setting, the GNN-based closure not only attains low prediction errors, but also recovers key turbulence statistics and preserves multiscale turbulent structures. We further demonstrate that the closure can be identified in data-limited learning scenarios as well. Overall, the proposed end-to-end learning paradigm offers a viable pathway toward physically consistent and generalizable data-driven SGS modeling on complex and unstructured domains.
Motivation & Objective
- To develop a differentiable CFD solver compatible with unstructured meshes for end-to-end training of ML-based turbulence models.
- To address the lack of generalization in purely data-driven CFD models by embedding a learnable SGS closure within a physics-informed framework.
- To demonstrate that a GNN-based SGS model can generalize across Reynolds numbers and geometry changes in complex flows like the backward-facing step.
- To achieve high accuracy at reduced computational cost by learning a closure that enables coarser grid simulations.
Proposed method
- The framework uses the FEniCS finite element environment to solve the Navier-Stokes equations with an incremental pressure correction scheme (IPCS) implemented in PyTorch for differentiability.
- A multi-scale graph neural network (GNN) is trained to predict both the eddy viscosity and nonlinear SGS stress contributions using local velocity gradients and pressure fields as input.
- The GNN is trained end-to-end by minimizing the L² error between the predicted and ground-truth velocity fields over multiple timesteps using automatic differentiation.
- A custom discrete adjoint solver is implemented to compute gradients through the PDE solve, enabling backpropagation through the entire simulation pipeline.
- The closure model is embedded within a LES formulation using a functional form that includes both linear and nonlinear SGS stress components.
- The method is evaluated on 2D backward-facing step flows with varying Reynolds numbers and step heights to test generalization.
Experimental results
Research questions
- RQ1Can a differentiable LES framework on unstructured grids enable effective end-to-end training of a data-driven SGS closure model?
- RQ2How well does a GNN-based SGS model generalize to unseen Reynolds numbers and new geometry in turbulent flows?
- RQ3To what extent can a learned closure reduce computational cost while maintaining accuracy comparable to high-resolution LES?
- RQ4Can the integration of a GNN into a finite element PDE solver preserve physical consistency while enabling efficient, differentiable training?
Key findings
- The GNN-based closure model achieves LES accuracy on par with a 10x more expensive fine-grid simulation, demonstrating an effective 10x speedup in computational cost.
- The model generalizes to higher Reynolds numbers and new step heights not seen during training, showing robustness beyond the training distribution.
- The learned SGS model outperforms traditional LES closure models in terms of velocity profile accuracy and POD mode representation.
- The framework successfully enables end-to-end training of a turbulence model via automatic differentiation on unstructured meshes, a capability previously limited to structured grids.
- The L² error between predicted and ground-truth velocity fields is significantly reduced compared to baseline models, with consistent improvement across multiple metrics.
- The method maintains physical consistency, such as incompressibility and momentum conservation, due to the underlying PDE solver.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.