Abstract
Geomechanical simulations of quasi-static processes, such as soil consolidation and slow-moving landslides, require robust numerical frameworks capable of handling large deformations over long temporal scales. While the Material Point Method (MPM) is well-suited for such problems, traditional explicit formulations suffer from strict stability constraints. Implicit MPM offers unconditional stability but is hindered by the mathematical complexity of deriving Jacobian matrices for non-linear, history-dependent constitutive models. We introduce GeoWarp, an open-source, GPU-accelerated framework built on NVIDIA Warp. GeoWarp utilizes automatic differentiation (AD) and a novel sparse differentiation algorithm to automate Jacobian construction, significantly reducing development overhead while maintaining high performance and scalability.
Introduction
In geomechanics, the analysis of long-term processes like soil consolidation or slope stability often necessitates "quasi-static" simulations. The Material Point Method (MPM) has emerged as a powerful tool for these applications due to its ability to manage large deformations by utilizing both Lagrangian particles and a background Eulerian grid. However, the majority of existing MPM implementations rely on explicit time integration, which requires extremely small time steps to maintain numerical stability, rendering long-term simulations computationally prohibitive.
Implicit MPM schemes provide a solution by being unconditionally stable, allowing for much larger time steps. The primary obstacle to their widespread adoption is the requirement of a Jacobian matrix for the non-linear solvers. Manually deriving and implementing these matrices—especially for complex constitutive models like Nor-Sand—is a labor-intensive and error-prone process. GeoWarp addresses this challenge by integrating automatic differentiation into the MPM workflow.
Methodology
GeoWarp is developed within the NVIDIA Warp ecosystem, leveraging its high-performance Python-based kernels for GPU acceleration. The framework is built upon two core technical innovations:
Automatic Differentiation (AD)
Rather than requiring researchers to manually derive "consistent tangent operators," GeoWarp employs reverse-mode AD. This allows the framework to compute exact gradients directly from the source code of the constitutive models. This "differentiable physics" approach ensures that any new material model implemented in the framework is immediately compatible with the implicit solver.
Sparse Differentiation Algorithm
Standard "dense" AD scales poorly with the number of degrees of freedom. GeoWarp optimizes this process by exploiting the local nature of MPM interactions. Since a particle only influences grid nodes within the support of its shape function, the global Jacobian is inherently sparse.
The authors developed a strategy to partition the grid into independent blocks. For common shape functions, this allows the entire Jacobian to be constructed in a fixed number of AD passes (e.g., 25 passes in 2D), regardless of the total number of particles or grid nodes. This decoupling of mathematical complexity from problem scale is key to the framework's efficiency.
Verification and Benchmarking
The accuracy and performance of GeoWarp were evaluated through a series of rigorous benchmarks:
- Stress-point triaxial compression: Verified the AD-computed tangents against the complex Nor-Sand constitutive model.
- Bar compaction under self-weight: Validated against analytical solutions for gravity-driven deformation.
- Cantilever beam bending: Assessed the accuracy and efficiency of the sparse differentiation method in a standard structural benchmark.
- 1D consolidation: Tested poromechanical coupling (soil-water interaction) across both small and large strain regimes.
- Inverse Footing Indentation: Demonstrated the framework's capability for inverse analysis by identifying soil stiffness parameters from simulated displacement data.
Key Results
GeoWarp demonstrates significant improvements in both developer productivity and computational performance:
- Efficiency: The sparse differentiation method achieved an 8x speedup in Jacobian construction compared to the dense AD baseline at high resolutions.
- Precision: Numerical errors were maintained below $10^{-15}$, confirming that AD provides exact gradients equivalent to analytical derivations.
- Scalability: The framework successfully executed 3D simulations with over 512,000 particles, exhibiting a runtime growth curve significantly flatter than non-sparse AD methods.
- Inverse Analysis: In the footing indentation test, the system correctly identified the target Young’s modulus within just 5 iterations, even when starting from a 10x initial error.
Conclusion and Future Work
GeoWarp represents a significant step forward in making high-performance implicit MPM accessible to the geomechanics community. By automating the most difficult aspects of solver implementation, it allows researchers to focus on material modeling and physical insights.
Future development will focus on addressing the challenges of non-differentiable yield surfaces (e.g., Mohr-Coulomb) which can hinder gradient-based optimization. Additionally, the authors plan to implement domain decomposition to overcome single-GPU memory constraints and explore advanced block-preconditioned solvers to further enhance performance for complex multi-phase problems.
The GeoWarp framework is open-source and available at github.com/choo-group/GeoWarp.
Summary updated