Abstract
Traditional simulation of complex mechanical systems relies on numerical solvers of Partial Differential Equations (PDEs), e.g., using the Finite Element Method (FEM). The FEM solvers frequently suffer from intensive computation cost and high running time. Recent graph neural network (GNN)-based simulation models can improve running time meanwhile with acceptable accuracy. Unfortunately, they are hard to tailor GNNs for complex mechanical systems, including such disadvantages as ineffective representation and inefficient message propagation (MP). To tackle these issues, in this paper, with the proposed Up-sampling-only and Adaptive MP techniques, we develop a novel hierarchical Mesh Graph Network, namely UA-MGN, for efficient and effective mechanical simulation. Evaluation on two synthetic and one real datasets demonstrates the superiority of the UA-MGN. For example, on the Beam dataset, compared to the state-of-the-art MS-MGN, UA-MGN leads to 40.99% lower errors but using only 43.48% fewer network parameters and 4.49% fewer floating point operations (FLOPs).
Introduction
Simulating the physical response of mechanical systems to external forces is a cornerstone of engineering. Traditionally, this is achieved through numerical solvers like the Finite Element Method (FEM). While highly accurate, FEM is computationally expensive and must be re-executed for every change in geometry or boundary conditions. GNN-based simulators offer a promising alternative by learning to approximate these physical fields much faster. However, standard GNNs face challenges in representing complex geometries and managing message propagation (MP) efficiently across large meshes.
Challenges in Mesh-based GNNs
Existing GNN simulators often suffer from two primary issues:
- Ineffective Representation: Uniform treatment of nodes fails to capture the significance of boundary nodes where forces are applied.
- Inefficient Message Propagation: Mesh graphs often have uniform node degrees. Excessive MP steps lead to "over-smoothing," where node features become indistinguishable, while insufficient steps prevent force effects from propagating globally.
Current hierarchical approaches, such as U-Net-like architectures, attempt to mitigate these issues through down-sampling and up-sampling. However, these methods often incur high computational overhead and redundant calculations.
The UA-MGN Framework
To address these limitations, we propose the Up-sampling-only and Adaptive Mesh-based GNN (UA-MGN). The framework is built on three core innovations:
Up-sampling-only Architecture
Unlike traditional U-shaped networks, UA-MGN begins at the coarsest mesh level ($G^1$). By performing MP at the top level first, the model captures global structural features before progressively up-sampling to finer meshes ($G^R$). This approach ensures that global context is integrated early and reduces the total number of MP steps required.
Adaptive Message Propagation
Mechanical stress does not propagate uniformly in all directions. UA-MGN employs Adaptive MP, which clusters mesh edges into groups based on their spatial orientation using K-means. The number of MP steps for each group is dynamically tuned based on the "diameter" of connected components within local sub-areas, allowing for deeper propagation along critical paths while avoiding over-smoothing elsewhere.
Encoder-Processor-Decoder
The model utilizes an encoder to create latent embeddings using relative coordinates for spatial invariance. The processor handles the hierarchical MP across levels, and a decoder produces the final physical response, such as a stress field.
Experimental Results
The UA-MGN was evaluated on three datasets: a synthetic 2D Beam (generated via ABAQUS), a real-world 3D SteeringWheel (solved via LS-DYNA), and a synthetic 2D CylinderFlow.
- Accuracy and Efficiency: On the Beam dataset, UA-MGN achieved a 40.99% lower RMSE compared to the state-of-the-art MS-MGN, while requiring 43.48% fewer parameters and 4.49% fewer FLOPs.
- Real-world Performance: For the SteeringWheel dataset, which involves complex hybrid meshes (hexa-, penta-, and tetra-hedral), the model provided predictions in 201.8 milliseconds, compared to 20 minutes for a traditional FEM solver.
- Convergence: The model demonstrates superior convergence, outperforming competitors with significantly fewer MP steps (e.g., 10 steps vs. 30+ steps).
Conclusion
UA-MGN represents a significant step forward in efficient physical simulation. By replacing redundant hierarchical structures with an up-sampling-only approach and introducing adaptive, direction-aware message propagation, the model achieves superior accuracy and speed. Future work will focus on integrating automated mesh generation—currently dependent on external tools like Delaunay triangulation—and scaling the architecture to massive graphs with tens of millions of nodes.
Summary updated