[Paper Review] MeshingNet: A New Mesh Generation Method based on Deep Learning
MeshingNet proposes a deep learning approach to predict optimal unstructured finite element mesh density distributions for arbitrary 2D geometries, bypassing expensive a posteriori error estimation. Trained on high-fidelity error estimates from FEM solutions, it generates high-quality, non-uniform meshes that outperform uniform and ZZ-refined meshes in accuracy, with potential for use as an initial mesh in adaptive workflows.
We introduce a novel approach to automatic unstructured mesh generation using machine learning to predict an optimal finite element mesh for a previously unseen problem. The framework that we have developed is based around training an artificial neural network (ANN) to guide standard mesh generation software, based upon a prediction of the required local mesh density throughout the domain. We describe the training regime that is proposed, based upon the use of \emph{a posteriori} error estimation, and discuss the topologies of the ANNs that we have considered. We then illustrate performance using two standard test problems, a single elliptic partial differential equation (PDE) and a system of PDEs associated with linear elasticity. We demonstrate the effective generation of high quality meshes for arbitrary polygonal geometries and a range of material parameters, using a variety of user-selected error norms.
Motivation & Objective
- To develop a data-driven method for automatic unstructured mesh generation that reduces reliance on iterative, computationally expensive a posteriori error estimation.
- To train a deep neural network to predict local mesh density based on geometry, boundary conditions, and material parameters.
- To generate high-quality, non-uniform meshes that achieve equidistributed error with fewer elements than uniform or traditional adaptive meshes.
- To enable faster mesh generation for PDEs by replacing error estimation with learned predictions from precomputed training data.
- To demonstrate the method's generalization across diverse geometries, material parameters, and error norms in 2D test problems.
Proposed method
- A deep neural network (MeshingNet) is trained to predict local mesh density from input features including domain geometry, boundary conditions, and material parameters.
- The training data consists of high-accuracy a posteriori error estimates from FEM solutions on coarse uniform meshes, used to generate optimal mesh density distributions.
- A fully convolutional network (FCN), residual networks (ResNet), and other architectures are evaluated for mesh density prediction performance.
- MeshingNet predicts mesh density distributions that guide standard mesh generators (e.g., Triangle) to produce non-uniform meshes without solving the PDE or computing error estimators at inference time.
- The method uses a differentiable loss function to train the network via gradient descent, minimizing the difference between predicted and ground-truth mesh density distributions.
- The framework is validated using two test problems: Poisson’s equation and linear elasticity, with performance measured via potential energy and error norms.
Experimental results
Research questions
- RQ1Can a deep neural network effectively learn to predict optimal mesh density distributions from geometric, material, and boundary condition inputs?
- RQ2How does MeshingNet’s mesh quality compare to uniform meshes and ZZ-refined meshes in terms of solution accuracy?
- RQ3To what extent can MeshingNet generalize across different polygonal geometries and material parameters?
- RQ4Does the network’s prediction of mesh density lead to equidistributed error and reduced computational cost compared to traditional adaptive methods?
- RQ5Can MeshingNet serve as an efficient initial mesh generator within a traditional adaptive meshing workflow?
Key findings
- MeshingNet-generated meshes yield finite element solutions with mean potential energy of -7.6813 (FCN), significantly closer to the highly accurate reference solution (HAS) than uniform meshes (-7.6030) or ZZ-refined meshes.
- The FCN variant of MeshingNet achieved a mean energy of -7.6813, outperforming ResNet1 (-7.6815) and ResNet2 (-7.6816), with ResNet models also reducing training time.
- MeshingNet-generated meshes produced lower FE error relative to the highly accurate solution than both uniform and ZZ-refined meshes across all test geometries.
- The method successfully accounts for complex interactions between geometry, boundary conditions, and material parameters in mesh density prediction, as shown by consistent performance across test cases.
- MeshingNet avoids the computational cost of a posteriori error estimation during inference while still producing meshes with error distributions close to optimal.
- The approach demonstrates strong generalization across different polygonal domains and material parameters, with the traction-to-density ratio being a key influence on mesh non-uniformity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.