Graph neural network simulators

AI-accelerated generalizable surrogate models for efficient physics simulations using graph neural networks.

Graph neural network simulators for granular flows

Accurate simulation of granular flow dynamics is essential for assessing geotechnical hazards such as landslides and debris flows. Granular flows involve dynamic particle rearrangement and exhibit complex solid–fluid-like behavior. Traditional numerical methods are often limited by computational cost at large scales or when repetitive analyses are required, while conventional machine learning surrogates typically do not capture the governing physics of granular flows. As a result, these surrogates are not generalizable or require prohibitively large amounts of training data.

We address these limitations with a graph neural network (GNN) simulator (GNS) (Choi & Kumar, 2024). Graphs represent the state of dynamically evolving granular flows, and the GNN learns local interaction laws (e.g., energy and momentum exchange between grains) that govern the dynamics. Given the current flow state, GNS predicts the next state through Euler explicit integration. We implement a multi-GPU PyTorch framework based on distributed data parallelism (DDP) that supports different material types.

The open-source code and data are available on GitHub.

Demonstration

We train GNS on a limited set of granular flow trajectories and evaluate it on granular column collapse. GNS accurately predicts flow dynamics for column collapses with different aspect ratios and friction angles not seen during training.

GNS prediction compared to MPM for the collapse of short granular column with friction angle of 21° (left) and tall granular column with friction angle of 42° (right).

The model is trained on granular masses with an aspect ratio of 1.0 but generalizes to configurations with markedly different flow behavior.

Generalizability of GNS: the model is trained on the granular mass with aspect ratio of 1.0, but can be generalized to various aspect ratios not seen during training, which have different flow dynamics.

GNS also captures granular flow interaction with barriers. Training data include cube-shaped granular masses interacting with one or two barriers. We demonstrate generalization by upscaling geometry size and testing unseen barrier configurations—the GNS reproduces ground-truth behavior from high-fidelity material point method (MPM) simulations.

Graph neural network-based simulator (GNS) prediction on granular flow interacting with barriers (GNS vs MPM). Original demo: [YouTube](https://www.youtube.com/watch?v=VL74gzi--OQ).

Computational efficiency

We compare rollout time per timestep between MPM and GNS for varying numbers of material points. For the 2D column-collapse model and the 3D barrier-flow model, GNS achieves up to a few thousand times speedup over high-fidelity MPM simulation while maintaining predictive accuracy on held-out configurations.

Computation time of MPM and GNS rollout per timestep for varying number of material points. The 2D model is the one used for simulating granular column collapse, and the 3D model is for the flow with barriers.

Case history validation

GNS simulation of a Lower San Fernando Dam (1971) (Choi & Macedo, 2026).

Broader applications

Beyond granular flows, GNN-based approaches extend to fluid flow and solid mechanics problems.

Cylinder flow with GNS (Kumar & Choi, 2023). GNS is orders of magnitude faster than conventioanl CFD
A Hybrid GNN–FEM Framework for Phase-Field Fracture Simulation: full FEM (top) compared with hybrid GNN-FEM with physics-informed domain decomposition (bottom) (Moon et al., 2026).
Flow through porous media simulated with GNS (ongoing work).

References

2026

  1. Differentiable Graph Neural Network Simulator for the Back-Analysis of Post-Liquefaction Residual Strength from Flow Failure Runout
    Yongjin Choi and Jorge Macedo
    arXiv preprint arXiv:2602.11621, 2026
  2. A Hybrid GNN-FEM Framework for Phase-Field Fracture Simulation. Physics-Preserving Hybridization for Generalizable Surrogate Modeling
    Hyeonbin Moon, Yongjin Choi, and Seunghwa Ryu
    arXiv preprint arXiv:2606.19378, 2026

2024

  1. Graph neural network-based surrogate model for granular flows
    Yongjin Choi and Krishna Kumar
    Computers and Geotechnics, 2024

2023

  1. Accelerating particle and fluid simulations with differentiable graph networks for solving forward and inverse problems
    Krishna Kumar and Yongjin Choi
    In Proceedings of the SC’23 Workshops of The International Conference on High Performance Computing, Network, Storage, and Analysis, 2023