-
Graph Neural Networks and Differential Equations: A hybrid approach for data assimilation of fluid flows
Authors:
M. Quattromini,
M. A. Bucci,
S. Cherubini,
O. Semeraro
Abstract:
This study presents a novel hybrid approach that combines Graph Neural Networks (GNNs) with Reynolds-Averaged Navier Stokes (RANS) equations to enhance the accuracy of mean flow reconstruction across a range of fluid dynamics applications. Traditional purely data-driven Neural Networks (NNs) models, often struggle maintaining physical consistency. Moreover, they typically require large datasets to…
▽ More
This study presents a novel hybrid approach that combines Graph Neural Networks (GNNs) with Reynolds-Averaged Navier Stokes (RANS) equations to enhance the accuracy of mean flow reconstruction across a range of fluid dynamics applications. Traditional purely data-driven Neural Networks (NNs) models, often struggle maintaining physical consistency. Moreover, they typically require large datasets to achieve reliable performances. The GNN framework, which naturally handles unstructured data such as complex geometries in Computational Fluid Dynamics (CFD), is here integrated with RANS equations as a physical baseline model. The methodology leverages the adjoint method, enabling the use of RANS-derived gradients as optimization terms in the GNN training process. This ensures that the learned model adheres to the governing physics, maintaining physical consistency while improving the prediction accuracy. We test our approach on multiple CFD scenarios, including cases involving generalization with respect to the Reynolds number, sparse measurements, denoising and inpainting of missing portions of the mean flow. The results demonstrate significant improvements in the accuracy of the reconstructed mean flow compared to purely data-driven models, using limited amounts of data in the training dataset. The key strengths of this study are the integration of physical laws into the training process of the GNN, and the ability to achieve high-accuracy predictions with a limited amount of data, making this approach particularly valuable for applications in fluid dynamics where data is often scarce.
△ Less
Submitted 15 November, 2024; v1 submitted 14 November, 2024;
originally announced November 2024.
-
Enhancing Data-Assimilation in CFD using Graph Neural Networks
Authors:
Michele Quattromini,
Michele Alessandro Bucci,
Stefania Cherubini,
Onofrio Semeraro
Abstract:
We present a novel machine learning approach for data assimilation applied in fluid mechanics, based on adjoint-optimization augmented by Graph Neural Networks (GNNs) models. We consider as baseline the Reynolds-Averaged Navier-Stokes (RANS) equations, where the unknown is the meanflow and a closure model based on the Reynolds-stress tensor is required for correctly computing the solution. An end-…
▽ More
We present a novel machine learning approach for data assimilation applied in fluid mechanics, based on adjoint-optimization augmented by Graph Neural Networks (GNNs) models. We consider as baseline the Reynolds-Averaged Navier-Stokes (RANS) equations, where the unknown is the meanflow and a closure model based on the Reynolds-stress tensor is required for correctly computing the solution. An end-to-end process is cast; first, we train a GNN model for the closure term. Second, the GNN model is introduced in the training process of data assimilation, where the RANS equations act as a physics constraint for a consistent prediction. We obtain our results using direct numerical simulations based on a Finite Element Method (FEM) solver; a two-fold interface between the GNN model and the solver allows the GNN's predictions to be incorporated into post-processing steps of the FEM analysis. The proposed scheme provides an excellent reconstruction of the meanflow without any features selection; preliminary results show promising generalization properties over unseen flow configurations.
△ Less
Submitted 29 November, 2023;
originally announced November 2023.
-
Active learning of data-assimilation closures using Graph Neural Networks
Authors:
Michele Quattromini,
Michele Alessandro Bucci,
Stefania Cherubini,
Onofrio Semeraro
Abstract:
The spread of machine learning techniques coupled with the availability of high-quality experimental and numerical data has significantly advanced numerous applications in fluid mechanics. Notable among these are the development of data assimilation and closure models for unsteady and turbulent flows employing neural networks (NN). Despite their widespread use, these methods often suffer from over…
▽ More
The spread of machine learning techniques coupled with the availability of high-quality experimental and numerical data has significantly advanced numerous applications in fluid mechanics. Notable among these are the development of data assimilation and closure models for unsteady and turbulent flows employing neural networks (NN). Despite their widespread use, these methods often suffer from overfitting and typically require extensive datasets, particularly when not incorporating physical constraints. This becomes compelling in the context of numerical simulations, where, given the high computational costs, it is crucial to establish learning procedures that are effective even with a limited dataset. Here, we tackle those limitations by developing NN models capable of generalizing over unseen data in low-data limit by: i) incorporating invariances into the NN model using a Graph Neural Networks (GNNs) architecture; and ii) devising an adaptive strategy for the selection of the data utilized in the learning process. GNNs are particularly well-suited for numerical simulations involving unstructured domain discretization and we demonstrate their use by interfacing them with a Finite Elements (FEM) solver for the supervised learning of Reynolds-averaged Navier-Stokes equations. We consider as a test-case the data-assimilation of meanflows past generic bluff bodies, at different Reynolds numbers 50>=Re>=150, characterized by an unsteady dynamics. We show that the GNN models successfully predict the closure term; remarkably, these performances are achieved using a very limited dataset selected through an active learning process ensuring the generalization properties of the RANS closure term. The results suggest that GNN models trained through active learning procedures are a valid alternative to less flexible techniques such as convolutional NN.
△ Less
Submitted 8 January, 2025; v1 submitted 7 March, 2023;
originally announced March 2023.