{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/graph-neural-networks-for-laminar-flow","title":"Graph neural networks for laminar flow prediction around random 2D shapes","arxiv_id":"2107.11529","date":"2021-07-20","proceeding":null,"authors":["Junfeng Chen","Elie Hachem","Jonathan Viquerat"],"abstract":"In the recent years, the domain of fast flow field prediction has been vastly dominated by pixel-based convolutional neural networks. Yet, the recent advent of graph convolutional neural networks (GCNNs) have attracted a considerable attention in the computational fluid dynamics (CFD) community. In this contribution, we proposed a GCNN structure as a surrogate model for laminar flow prediction around 2D obstacles. Unlike traditional convolution on image pixels, the graph convolution can be directly applied on body-fitted triangular meshes, hence yielding an easy coupling with CFD solvers. The proposed GCNN model is trained over a data set composed of CFD-computed laminar flows around 2,000 random 2D shapes. Accuracy levels are assessed on reconstructed velocity and pressure fields around out-of-training obstacles, and are compared with that of standard U-net architectures, especially in the boundary layer area.","url_abs":"https://arxiv.org/abs/2107.11529v2","url_pdf":"https://arxiv.org/pdf/2107.11529v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"graph-neural-networks-for-laminar-flow","repo_url":"https://github.com/jviquerat/gnn_laminar_flow","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"graph-neural-networks-for-laminar-flow","repo_url":"https://github.com/cfl-minds/gnn_laminar_flow","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2107.11529","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2107.11529"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/cfl-minds/gnn_laminar_flow","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jviquerat/gnn_laminar_flow","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":7},"by_repo_kind":{"official":{"samples":7,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"a9790cf1ca3f8d94","entry":"count_neighbour_edges","repo":"jviquerat/gnn_laminar_flow","repo_kind":"official","path":"training_utils.py","file_url":"https://github.com/jviquerat/gnn_laminar_flow/blob/HEAD/training_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a9790cf1ca3f8d94"}},{"code_sha256_prefix":"0e5c5f019fcd1851","entry":"lift_drag","repo":"jviquerat/gnn_laminar_flow","repo_kind":"official","path":"data_utils.py","file_url":"https://github.com/jviquerat/gnn_laminar_flow/blob/HEAD/data_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0e5c5f019fcd1851"}},{"code_sha256_prefix":"1c35b83c06e7881c","entry":"load_data","repo":"jviquerat/gnn_laminar_flow","repo_kind":"official","path":"data_utils.py","file_url":"https://github.com/jviquerat/gnn_laminar_flow/blob/HEAD/data_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1c35b83c06e7881c"}},{"code_sha256_prefix":"b8913be9e4152f50","entry":"loss_fn","repo":"jviquerat/gnn_laminar_flow","repo_kind":"official","path":"training_utils.py","file_url":"https://github.com/jviquerat/gnn_laminar_flow/blob/HEAD/training_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b8913be9e4152f50"}},{"code_sha256_prefix":"f1da1ff536af79a8","entry":"mean_absolute_error","repo":"jviquerat/gnn_laminar_flow","repo_kind":"official","path":"training_utils.py","file_url":"https://github.com/jviquerat/gnn_laminar_flow/blob/HEAD/training_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f1da1ff536af79a8"}},{"code_sha256_prefix":"6538ed73b176d1d5","entry":"update_node_features","repo":"jviquerat/gnn_laminar_flow","repo_kind":"official","path":"network_utils.py","file_url":"https://github.com/jviquerat/gnn_laminar_flow/blob/HEAD/network_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6538ed73b176d1d5"}},{"code_sha256_prefix":"61f7e92d65fba1d0","entry":"update_symmetry_edge_features","repo":"jviquerat/gnn_laminar_flow","repo_kind":"official","path":"network_utils.py","file_url":"https://github.com/jviquerat/gnn_laminar_flow/blob/HEAD/network_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"61f7e92d65fba1d0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}