Efficient Solver for Spacetime Control of Smoke

We present a novel algorithm to control the physically-based animation of smoke. Given a set of keyframe smoke shapes, we compute a dense sequence of control force fields that can drive the smoke shape to match several keyframes at certain time instances. Our approach formulates this control problem as a spacetime optimization constrained by partial differential equations. In order to compute the locally optimal control forces, we alternatively optimize the velocity fields and density fields using an alternating direction method of multiplier (ADMM) optimizer. In order to reduce the high complexity of multiple passes of fluid resimulation during velocity field optimization, we utilize the coherence between consecutive fluid simulation passes. We demonstrate the benefits of our approach by computing accurate solutions on 2D and 3D benchmarks. In practice, we observe up to an order of magnitude improvement over prior optimal control methods.

[1]  F. Harlow,et al.  Numerical Calculation of Time‐Dependent Viscous Incompressible Flow of Fluid with Free Surface , 1965 .

[2]  B. P. Leonard,et al.  A stable and accurate convective modelling procedure based on quadratic upstream interpolation , 1990 .

[3]  Adrien Treuille,et al.  Fluid control using the adjoint method , 2004, ACM Trans. Graph..

[4]  Duc Quang Nguyen,et al.  Directable photorealistic liquids , 2004, SCA '04.

[5]  Derek Nowrouzezahrai,et al.  Eurographics/ Acm Siggraph Symposium on Computer Animation (2006) a Controllable, Fast and Stable Basis for Vortex Based Smoke Simulation , 2022 .

[6]  Achi Brandt,et al.  Multigrid Techniques: 1984 Guide with Applications to Fluid Dynamics, Revised Edition , 2011 .

[7]  J. Marsden,et al.  Structure-preserving discretization of incompressible fluids , 2009, 0912.3989.

[8]  Matthias Müller,et al.  Real-time Eulerian water simulation using a restricted tall cell grid , 2011, ACM Trans. Graph..

[9]  D K Smith,et al.  Numerical Optimization , 2001, J. Oper. Res. Soc..

[10]  Michael Bang Nielsen,et al.  Improved Variational Guiding of Smoke Animations , 2010, Comput. Graph. Forum.

[11]  Yizhou Yu,et al.  Taming liquids for rapidly changing targets , 2005, SCA '05.

[12]  Zoran Popovic,et al.  Discovery of complex behaviors through contact-invariant optimization , 2012, ACM Trans. Graph..

[13]  Robert Bridson,et al.  Animating sand as a fluid , 2005, ACM Trans. Graph..

[14]  Ronald Fedkiw,et al.  Visual simulation of smoke , 2001, SIGGRAPH.

[15]  Greg Turk,et al.  Controlling liquids using meshes , 2012, SCA '12.

[16]  H. Bock,et al.  A Multiple Shooting Algorithm for Direct Solution of Optimal Control Problems , 1984 .

[17]  A. Borzì,et al.  Experiences with a space–time multigrid method for the optimal control of a chemical turbulence model , 2005 .

[18]  Edward H. Adelson,et al.  PYRAMID METHODS IN IMAGE PROCESSING. , 1984 .

[19]  Stefan Turek,et al.  A Space-Time Multigrid Method for Optimal Flow Control , 2012, Constrained Optimization and Optimal Control for Partial Differential Equations.

[20]  Ronald Fedkiw,et al.  Simulating free surface flow with very large time steps , 2012, SCA '12.

[21]  Stephen P. Boyd,et al.  Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers , 2011, Found. Trends Mach. Learn..

[22]  Dani Lischinski,et al.  Target-driven smoke animation , 2004, ACM Trans. Graph..

[23]  Robert Bridson,et al.  Guide shapes for high resolution naturalistic liquid simulation , 2011, ACM Trans. Graph..

[24]  S. P. Vanka,et al.  Fully Coupled Calculation of Fluid Flows with Limited Use of Computer Storage , 1983 .

[25]  R. Herzog,et al.  Algorithms for PDE‐constrained optimization , 2010 .

[26]  Wolfgang Heidrich,et al.  From capture to simulation , 2014, ACM Trans. Graph..

[27]  H. Michalska,et al.  Receding horizon control of nonlinear systems , 1988, Proceedings of the 28th IEEE Conference on Decision and Control,.

[28]  Adrien Treuille,et al.  Keyframe control of smoke simulations , 2003, ACM Trans. Graph..

[29]  Hujun Bao,et al.  Interactive localized liquid motion editing , 2013, ACM Trans. Graph..

[30]  Rahul Narain,et al.  ADMM ⊇ projective dynamics: fast simulation of general constitutive models , 2016, Symposium on Computer Animation.

[31]  Jorge Nocedal,et al.  A Limited Memory Algorithm for Bound Constrained Optimization , 1995, SIAM J. Sci. Comput..

[32]  Robert Bridson,et al.  A PPPM fast summation method for fluids and beyond , 2014, ACM Trans. Graph..

[33]  Greg Turk,et al.  Blending liquids , 2014, ACM Trans. Graph..