GeoWarp: An automatically differentiable and GPU-accelerated implicit MPM framework for geomechanics based on NVIDIA Warp

Yidong Zhao, Xuan Li, Chenfanfu Jiang, Jinhyun Choo

TL;DR

GeoWarp is a new open-source framework that brings high-performance, GPU-accelerated implicit Material Point Method (MPM) simulations to geomechanics. By combining NVIDIA Warp’s automatic differentiation with a novel "sparse differentiation" algorithm, it allows researchers to simulate complex soil and rock behavior without the headache of manually deriving complicated mathematical operators.

What Problem Does This Paper Address?

In geomechanics, we often deal with "quasi-static" processes—things like soil consolidation or slow landslides—that happen over long periods. The Material Point Method (MPM) is great for these because it handles large deformations well. However, most MPM tools use "explicit" time integration, which requires tiny time steps to remain stable, making long-term simulations painfully slow.

"Implicit" MPM is the solution because it’s unconditionally stable even with large time steps. The catch? It requires a Jacobian matrix for its solvers. Deriving this matrix manually is a nightmare, especially for the complex, history-dependent "constitutive models" (the math describing how soil behaves) used in geomechanics. This difficulty has kept implicit MPM from becoming a mainstream tool.

Methods

The authors introduce GeoWarp, built on the NVIDIA Warp ecosystem. It features two major technical pillars:

  1. Automatic Differentiation (AD): Instead of researchers spending weeks deriving "consistent tangent operators" (the calculus needed for the Jacobian), GeoWarp uses reverse-mode AD to compute them automatically and exactly from the code itself.
  2. Sparse Differentiation Algorithm: Standard AD is computationally expensive for large systems. The authors realized that in MPM, interactions are local—a particle only influences a few nearby grid nodes. They developed a strategy to partition the grid into independent blocks (e.g., $5 \times 5$ blocks for common shape functions). This allows them to compute the entire Jacobian using a small, fixed number of AD passes (e.g., just 25 passes in 2D), regardless of how many millions of particles are in the simulation.

Datasets

As a computational mechanics paper, it focuses on verification benchmarks rather than training datasets. The authors evaluated GeoWarp using:

  • Stress-point triaxial compression: Using the complex Nor-Sand model to verify AD-based tangents.
  • Bar compaction under self-weight: Comparing results against known analytical solutions.
  • Cantilever beam bending: A standard benchmark to test accuracy and the efficiency of the sparse differentiation.
  • 1D consolidation: Testing coupled "poromechanics" (how water and soil interact) under both small and large strains.
  • Inverse Footing Indentation: A newly designed test case where the system must "guess" the soil's stiffness based on how a foundation sinks.

Key Insights and Ideas

  • Decoupling Complexity from Scale: The "aha moment" is that the cost of computing the Jacobian in GeoWarp depends on the mathematical support of the shape functions, not the total number of degrees of freedom. This makes the approach highly scalable for massive 3D problems.
  • Differentiable Physics for Geotechnics: Because the entire simulation is differentiable, you can perform "inverse analysis." If you have sensor data from a real-world site, you can run the simulation "backward" to automatically identify the material parameters (like stiffness or permeability) that best match the data.
  • Performance Parity: The authors show that using AD with their sparse algorithm is nearly as fast as using traditional, manually-coded solvers, but with a fraction of the development effort.

Key Results

  • Speedup: The sparse differentiation method achieved an 8x speedup in Jacobian construction compared to standard "dense" AD at high resolutions.
  • Accuracy: Numerical errors remained below $10^{-15}$ when compared to traditional methods, proving that AD provides exact gradients.
  • Scalability: The framework successfully handled a 3D simulation with over 512,000 particles, showing a much flatter runtime growth curve than non-sparse methods.
  • Inverse Modeling: In the footing example, the system successfully identified the correct Young’s modulus starting from a 10x incorrect guess in just 5 iterations.

Limitations and Future Work

  • Non-Differentiability: Some soil models (like Mohr-Coulomb) have "sharp corners" in their math (non-smooth yield surfaces). While GeoWarp supports AD, these mathematical discontinuities can still cause issues for gradient-based optimization.
  • Memory Constraints: Currently, the simulations must fit within the available GPU memory. For truly "city-scale" simulations, the authors suggest future work on domain decomposition (splitting the problem across multiple GPUs).
  • Solver Variety: The current version uses specific linear solvers; the authors plan to explore more advanced "block-preconditioned" solvers to further boost speed for complex water-soil coupled problems.

Check out the code: The framework is open-source and available on GitHub at choo-group/GeoWarp.

Summary updated

BibTeX
@article{zhao2026geowarp,
  author = {Yidong Zhao and Xuan Li and Chenfanfu Jiang and Jinhyun Choo},
  title = {{GeoWarp: An automatically differentiable and GPU-accelerated implicit MPM framework for geomechanics based on NVIDIA Warp}},
  journal = {Adv. Eng. Softw.},
  year = {2026},
  doi = {10.1016/j.advengsoft.2025.104072},
}
Figure