PBI: Position-Based Dynamics Handles Updated Lagrangian Inelasticity

Chang Yu, Xuan Li, Lei Lan, Yin Yang, Chenfanfu Jiang · DOI

Abstract

PBD and its extension, XPBD, have been predominantly applied to compliant constrained elastodynamics, with their potential in finite strain (visco-) elastoplasticity remaining underexplored. XPBD is often perceived to stand in contrast to other meshless methods, such as the MPM. We revisit this perception by investigating the potential of XPBD in handling inelastic materials that are described with classical continuum mechanics-based yield surfaces and elastoplastic flow rules. By incorporating implicit inelastic constitutive relationships, we introduce a plasticity in-the-loop updated Lagrangian augmentation to XPBD. This enhancement enables the simulation of elastoplastic, viscoplastic, and granular substances following their standard constitutive laws. We demonstrate the effectiveness of our method through high-resolution and real-time simulations of diverse materials such as snow, sand, and plasticine.

Introduction: Bridging the Gap

In computer graphics, physical simulation typically falls into two categories. Position-Based Dynamics (PBD/XPBD) is the industry standard for real-time applications like games and VR due to its speed and stability with elastic materials. However, it struggles with inelasticity—permanent deformation seen in materials like wet sand or snow. Conversely, the Material Point Method (MPM) handles these materials accurately using continuum mechanics but is computationally expensive and prone to numerical dissipation or "artificial stickiness."

The proposed XPBI (eXtended Position-Based Inelasticity) framework bridges this gap, bringing MPM-style physics into a PBD-style solver to achieve high-fidelity inelastic simulations at real-time speeds.

Methodology: Updated Lagrangian Augmentation

The core innovation of XPBI is a shift in how deformation is tracked and solved. Instead of measuring deformation against a fixed "rest shape," XPBI tracks deformation relative to the previous time step.

Time-lapse of plasticine extrusion demonstrating the method's ability to handle large inelastic deformations.

Key technical components include:

  1. Velocity-Based Solving: XPBI re-parametrizes the solver to focus on velocities, allowing for a robust calculation of the velocity gradient.
  2. Meshless Smoothing Kernels: Using SPH-style smoothing kernels, particles compute deformation fields by sensing neighbors, allowing for smooth simulations even as materials split or merge.
  3. Implicit Plasticity Loop: By integrating "return mapping" operators directly into the XPBD solver loop, the method prevents the jittery or unnaturally stiff appearance common in post-processed plasticity.

Key Results and Performance

XPBI demonstrates remarkable versatility across various material types, including Drucker-Prager sand, NACC snow, and Von-Mises plasticine.

XPBI enables high-resolution simulations of diverse materials including plasticine, sand-water mixtures, and snow.
  • Visual Fidelity: The method successfully replicates complex behaviors like the specific friction-angle piling of sand, which standard XPBD cannot achieve.
  • Stability and Scalability: The system remains stable for stiff materials like aluminum under massive deformation. Utilizing a "colored Gauss-Seidel" solver on the GPU, the method exhibits superlinear scalability, handling up to 3 million particles on an RTX 4090.
  • Real-time Interaction: The efficiency of the solver allows for complex viscoelastic simulations at 30 FPS on mobile hardware like the Apple Vision Pro, enabling direct user interaction in spatial computing environments.

Conclusion

XPBI successfully integrates continuum mechanics into the position-based framework. By eliminating the need for a background grid, it avoids the stickiness issues of MPM while maintaining the performance benefits of PBD. Future work will explore porous media flow and further optimization for low-particle count simulations on mobile devices.

Summary updated

BibTeX
@inproceedings{yu2024pbi,
  author = {Chang Yu and Xuan Li and Lei Lan and Yin Yang and Chenfanfu Jiang},
  title = {{PBI: Position-Based Dynamics Handles Updated Lagrangian Inelasticity}},
  booktitle = {SIGGRAPH Asia},
  year = {2024},
  doi = {10.1145/3680528.3687577},
}
Figure