Hostname: page-component-76d6cb85b7-s74w7 Total loading time: 0 Render date: 2026-07-12T09:06:42.950Z Has data issue: false hasContentIssue false

Mean flow data assimilation using physics-constrained graph neural networks

Published online by Cambridge University Press:  25 September 2025

Michele Quattromini*
Affiliation:
Dipartimento di Meccanica, Matematica e Management, Politecnico di Bari , Bari, Italy LISN-CNRS, Université Paris-Saclay, Orsay, France
Michele Alessandro Bucci
Affiliation:
Digital Sciences and Technologies Department, SafranTech, Magny-Les-Hameaux, France
Stefania Cherubini
Affiliation:
Dipartimento di Meccanica, Matematica e Management, Politecnico di Bari , Bari, Italy
Onofrio Semeraro
Affiliation:
LISN-CNRS, Université Paris-Saclay, Orsay, France
*
Corresponding author: Michele Quattromini; Email: michele.quattromini@poliba.it

Abstract

Despite their widespread use, purely data-driven methods often suffer from overfitting, lack of physical consistency, and high data dependency, particularly when physical constraints are not incorporated. This study introduces a novel data assimilation approach that integrates Graph Neural Networks (GNNs) with optimization techniques to enhance the accuracy of mean flow reconstruction, using Reynolds-averaged Navier–Stokes (RANS) equations as a baseline. The method leverages the adjoint approach, incorporating RANS-derived gradients as optimization terms during GNN training, ensuring that the learned model adheres to physical laws and maintains consistency. Additionally, the GNN framework is well-suited for handling unstructured data, which is common in the complex geometries encountered in computational fluid dynamics. The GNN is interfaced with the finite element method for numerical simulations, enabling accurate modeling in unstructured domains. We consider the reconstruction of mean flow past bluff bodies at low Reynolds numbers as a test case, addressing tasks such as sparse data recovery, denoising, and inpainting of missing flow data. The key strengths of the approach lie in its integration of physical constraints into the GNN training process, leading to accurate predictions with limited data, making it particularly valuable when data are scarce or corrupted. Results demonstrate significant improvements in the accuracy of mean flow reconstructions, even with limited training data, compared to analogous purely data-driven models.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press
Figure 0

Figure 1. Sketch of the computational domain geometry, where the diameter of the circumscribed circle around the bluff body, along with the height and length of the domain, are provided in nondimensional units.

Figure 1

Figure 2. (a) Streamwise component of the mean flow, $ \overline{\mathbf{u}} $, and vorticity isolines, $ \omega =\nabla \times \mathbf{u} $, for the flow past a cylinder at $ \mathit{\operatorname{Re}}=150 $. (b) For the same case, the streamwise component of the closure term, $ \mathbf{f} $, is shown. In both cases, only a portion of the domain is displayed.

Figure 2

Figure 3. The overall framework of our GNN training process. $ {MP}^k $ denotes the message passing algorithms, $ {D}^{(k)} $ are the $ k $ decoders, which are trainable MLPs, $ {A}^k $ are the $ k $ matrices containing the embedded states of each node, and $ G $ is the vector containing the input injected into the GNN. The figure is inspired by Donon et al. (2020).

Figure 3

Figure 4. End-to-end training loop: $ \overline{\mathbf{u}} $ is the GNN’s input mean flow, $ \hat{\mathbf{f}} $ is the GNN’s predicted forcing stress term, $ \boldsymbol{\theta} $ represents the GNN’s trainable parameters, and $ \mathcal{J}\left(\overline{\mathbf{u}}\right) $ is the cost function to minimize. For simplicity of notation, we consider the case where the ground truth corresponds to the entire flow field.

Figure 4

Figure 5. Training dataset: one mean flow-forcing pair ($ \mathit{\operatorname{Re}}=150 $); the GNN input of the mean flow from the ground truth is shown in (a). (b) Loss curves for the pure supervised approach (orange line), the proposed PhyCo-GNN method (blue line), and the pretraining phase (red line). Shadow colors highlight standard deviations computed over five independent training runs with different parameter initializations. The two horizontal dotted lines indicate the minimum values of the supervised and proposed methods. (c) Reconstructed mean flow obtained with the PhyCo-GNN approach. (d) Contour plot of the reconstruction error difference between the pure supervised approach and PhyCo-GNN.

Figure 5

Figure 6. Training dataset: one mean flow-forcing pair at $ \mathit{\operatorname{Re}}=90 $; the mean flow is shown in (a) and is used as GNN input; legend for (b)–(d) are as in Figure 5.

Figure 6

Figure 7. Generalization test—training dataset: three mean flow-forcing pairs at $ \mathit{\operatorname{Re}}=\left[\mathrm{90,110,130}\right] $; validation dataset: $ 2 $ mean flow-forcing pairs at $ \mathit{\operatorname{Re}}=\left[\mathrm{120,150}\right] $. (a) ground truth mean flow at $ \mathit{\operatorname{Re}}=120 $ from the validation dataset, used as GNN input; legend for (b)–(d) are as in Figure 5.

Figure 7

Figure 8. Sparse measurements—training dataset: 250 randomly distributed probes on $ 6 $ mean flow-forcing pairs at $ \mathit{\operatorname{Re}}=\left[\mathrm{90,110,130}\right] $, with two instances for each $ \mathit{\operatorname{Re}} $). (a) Random probes positioning on the mean flow; legend for (b)–(d) are as in Figure 5.

Figure 8

Figure 9. Denoising—training dataset: three mean flow-forcing pairs at $ \mathit{\operatorname{Re}}=\left[\mathrm{90,110,130}\right] $, perturbed with Gaussian noise; (a) mean flow at $ \mathit{\operatorname{Re}}=130 $; legend for (b)–(d) are as in Figure 5.

Figure 9

Figure 10. Inpainting—training dataset: three mean flow-forcing pairs at $ \mathit{\operatorname{Re}}=\left[\mathrm{90,110,130}\right] $, with randomly located patching masks; (a) mean flow at $ \mathit{\operatorname{Re}}=110 $; legend for (b)–(d) are as in Figure 5.

Figure 10

Table 1. Summary of the reconstruction errors for each test considered in Section 6. The cases listed correspond to those presented in Figures 5–10. For each case, a comparison is made between the baseline method based on supervised learning and the performance of PhyCo-GNN, with the errors reported as relative errors in the $ 2 $-norm

Submit a response

Comments

No Comments have been published for this article.