Small steps in physics simulation

In this paper we re-examine the idea that implicit integrators with large time steps offer the best stability/performance trade-off for stiff systems. We make the surprising observation that performing a single large time step with n constraint solver iterations is less effective than computing n smaller time steps, each with a single constraint solver iteration. Based on this observation, our approach is to split every visual time step into n substeps of length Δt/n and to perform a single iteration of extended position-based dynamics (XPBD) in each such substep. When compared to a traditional implicit integrator with large time steps we find constraint error and damping are significantly reduced. When compared to an explicit integrator we find that our method is more stable and robust for a wider range of stiffness parameters. This result holds even when compared against more sophisticated implicit solvers based on Krylov methods. Our method is straightforward to implement, and is not sensitive to matrix conditioning nor is it to overconstrained problems.

[1]  Matthias Müller,et al.  XPBD: position-based simulation of compliant constrained dynamics , 2016, MIG.

[2]  J. Marsden,et al.  Discrete mechanics and variational integrators , 2001, Acta Numerica.

[3]  W. Straßer,et al.  Magnets in motion , 2008, SIGGRAPH 2008.

[4]  Kwang-Jin Choi,et al.  Stable but responsive cloth , 2002, SIGGRAPH Courses.

[5]  J. Marsden,et al.  Variational Integrators and the Newmark Algorithm for Conservative and Dissipative Mechanical Systems , 2000 .

[6]  Demetri Terzopoulos,et al.  Deformable models , 2000, The Visual Computer.

[7]  Raanan Fattal,et al.  Efficient simulation of inextensible cloth , 2007, SIGGRAPH 2007.

[8]  Tae-Yong Kim,et al.  Fast Simulation of Inextensible Hair and Fur , 2012, VRIPHYS.

[9]  Bernd Eberhardt,et al.  Implicit-Explicit Schemes for Fast Animation with Particle Systems , 2000, Computer Animation and Simulation.

[10]  Mark Pauly,et al.  Projective dynamics , 2014, ACM Trans. Graph..

[11]  Jos Stam,et al.  Nucleus: Towards a unified dynamics solver for computer graphics , 2009, 2009 11th IEEE International Conference on Computer-Aided Design and Computer Graphics.

[12]  Ronald Fedkiw,et al.  Simulation of clothing with folds and wrinkles , 2003, SCA '03.

[13]  Matthias Müller,et al.  Position based dynamics , 2007, J. Vis. Commun. Image Represent..

[14]  Martin Servin,et al.  Interactive simulation of elastic deformable materials. , 2006 .

[15]  J. Marsden,et al.  Asynchronous Variational Integrators , 2003 .

[16]  Markus H. Gross,et al.  Implicit Contact Handling for Deformable Objects , 2009, Comput. Graph. Forum.

[17]  C. Karen Liu,et al.  Stable Proportional-Derivative Controllers , 2011, IEEE Computer Graphics and Applications.

[18]  Mathieu Desbrun,et al.  Interactive Animation of Structured Deformable Objects , 1999, Graphics Interface.

[19]  Matthias Müller,et al.  Hierarchical Position Based Dynamics , 2008, VRIPHYS.

[20]  H. H. Rachford,et al.  The Numerical Solution of Parabolic and Elliptic Differential Equations , 1955 .

[21]  Matthias Harders,et al.  Element-wise mixed implicit-explicit integration for stable dynamic simulation of deformable objects , 2011, SCA '11.

[22]  Nuttapong Chentanez,et al.  Long range attachments - a method to simulate inextensible clothing in computer games , 2012, SCA '12.

[23]  Miles Macklin,et al.  Position based fluids , 2013, ACM Trans. Graph..

[24]  Wolfgang Straßer,et al.  Asynchronous Cloth Simulation , 2008 .

[25]  David Harmon,et al.  Asynchronous contact mechanics , 2009, SIGGRAPH 2009.

[26]  Yijing Li,et al.  Asynchronous implicit backward Euler integration , 2016, Symposium on Computer Animation.

[27]  Ladislav Kavan,et al.  Stabilizing Integrators for Real-Time Physics , 2018, ACM Trans. Graph..

[28]  Nathan M. Newmark,et al.  A Method of Computation for Structural Dynamics , 1959 .

[29]  Andrew P. Witkin,et al.  Large steps in cloth simulation , 1998, SIGGRAPH.

[30]  DOMINIK L. MICHELS,et al.  Exponential integrators for stiff elastodynamic problems , 2014, ACM Trans. Graph..

[31]  John C. Platt,et al.  Elastically deformable models , 1987, SIGGRAPH.

[32]  Tae-Yong Kim,et al.  Unified particle physics for real-time applications , 2014, ACM Trans. Graph..

[33]  Craig Schroeder,et al.  Optimization Integrator for Large Time Steps , 2014, IEEE Transactions on Visualization and Computer Graphics.

[34]  Jerrold E. Marsden,et al.  Geometric, variational integrators for computer animation , 2006, SCA '06.