G-Adaptivity: optimised graph-based mesh relocation for finite element methods

James Rowbottom, Georg Maierhofer, Teo Deveney, Eike Mueller, Alberto Paganini +4 more
7/5/2024
cs.LGmath.NA

No official code found. Best implementation: JRowbottomGit/g-adaptivity (14 stars, Apache-2.0, last commit 2025-07-11).

Abstract

We present a novel, and effective, approach to achieve optimal mesh relocation in finite element methods (FEMs). The cost and accuracy of FEMs is critically dependent on the choice of mesh points. Mesh relocation (r-adaptivity) seeks to optimise the mesh geometry to obtain the best solution accuracy at given computational budget. Classical r-adaptivity relies on the solution of a separate nonlinear "meshing" PDE to determine mesh point locations. This incurs significant cost at remeshing, and relies on estimates that relate interpolation- and FEM-error. Recent machine learning approaches have focused on the construction of fast surrogates for such classical methods. Instead, our new approach trains a graph neural network (GNN) to determine mesh point locations by directly minimising the FE solution error from the PDE system Firedrake to achieve higher solution accuracy. Our GNN architecture closely aligns the mesh solution space to that of classical meshing methodologies, thus replacing classical estimates for optimality with a learnable strategy. This allows for rapid and robust training and results in an extremely efficient and effective GNN approach to online r-adaptivity. Our method outperforms both classical, and prior ML, approaches to r-adaptive meshing. In particular, it achieves lower FE solution error, whilst retaining the significant speed-up over classical methods observed in prior ML work.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A GNN based approach to adaptive mesh refinement

142GLSL, PythonJun 22, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{rowbottom2024gadaptivity,
  title  = {G-Adaptivity: optimised graph-based mesh relocation for finite element methods},
  author = {James Rowbottom and Georg Maierhofer and Teo Deveney and Eike Mueller and Alberto Paganini and Katharina Schratz and Pietro Liò and Carola-Bibiane Schönlieb and Chris Budd},
  year   = {2024},
  eprint = {2407.04516},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.04516v3},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.04516.svg)](https://codeofpaper.com/paper/2407.04516)

Discussion