Identification of vortex in unstructured mesh with graph neural networks

Lianfa Wang,Yvan Fournier,Jean-Francois Wald,Youssef Mesri
DOI: https://doi.org/10.1016/j.compfluid.2023.106104
2023-11-11
Abstract:Deep learning has been employed to identify flow characteristics from Computational Fluid Dynamics (CFD) databases to assist the researcher to better understand the flow field, to optimize the geometry design and to select the correct CFD configuration for corresponding flow characteristics. Convolutional Neural Network (CNN) is one of the most popular algorithms used to extract and identify flow features. However its use, without any additional flow field interpolation, is limited to the simple domain geometry and regular meshes which limits its application to real industrial cases where complex geometry and irregular meshes are usually used. Aiming at the aforementioned problems, we present a Graph Neural Network (GNN) based model with U-Net architecture to identify the vortex in CFD results on unstructured meshes. The graph generation and graph hierarchy construction using algebraic multigrid method from CFD meshes are introduced. A vortex auto-labeling method is proposed to label vortex regions in 2D CFD meshes. We precise our approach by firstly optimizing the input set on CNNs, then benchmarking current GNN kernels against CNN model and evaluating the performances of GNN kernels in terms of classification accuracy, training efficiency and identified vortex morphology. Finally, we demonstrate the adaptability of our approach to unstructured meshes and generality to unseen cases with different turbulence models at different Reynolds numbers.
Fluid Dynamics,Computer Vision and Pattern Recognition
What problem does this paper attempt to address?
### Problems Addressed by the Paper The paper aims to address the issue of vortex identification in computational fluid dynamics (CFD) using graph neural networks (GNN), particularly in the application on unstructured grids. #### Main Objectives 1. **Improving Vortex Identification Methods**: - Traditional vortex identification methods (such as Q-criterion, Δ-criterion, and λ2-criterion) are effective but have many false positives and false negatives, and require careful selection of appropriate thresholds to obtain valid results. - Vortex identification methods based on topological characteristics (such as Instantaneous Vorticity Deviation, IVD) are accurate but computationally expensive. - Machine learning methods can overcome the shortcomings of traditional methods, but most current machine learning algorithms are only applicable to regular grids and simple flow fields, limiting their application. 2. **Extending to Unstructured Grids**: - Convolutional neural networks (CNN) perform well on regular grids but are limited in their application to unstructured grids. - Propose a graph neural network (GNN) model based on the U-Net architecture to adapt to the complex geometries and unstructured grids common in industrial CFD. 3. **Automatically Labeling Datasets**: - Propose an automatic labeling method based on Biased Random Walking (BRW) to generate training datasets. 4. **Evaluating Model Performance**: - Compare the classification accuracy, training efficiency, and vortex identification effectiveness of different GNN kernel functions (such as GMM and SplineCNN) with CNN models. - Demonstrate the proposed method's adaptability to unstructured grids and its generalization ability to unseen datasets, including turbulent models at different Reynolds numbers. Through these studies, the paper aims to provide a more efficient, accurate method capable of handling complex industrial scenarios for identifying vortices in CFD.