Efficient Optimal Control of Smoke using Spacetime Multigrid

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 PDE constrained spacetime optimization and computes locally optimal control forces as the stationary point of the Karush-Kuhn-Tucker conditions. In order to reduce the high complexity of multiple passes of fluid resimulation, we utilize the coherence between consecutive fluid simulation passes and update our solution using a novel spacetime full approximation scheme (STFAS). We demonstrate the benefits of our approach by computing accurate solutions on 2D and 3D benchmarks. In practice, we observe more than an order of magnitude improvement over prior methods.

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

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

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

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

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

[6]  Stephen J. Wright,et al.  Numerical Optimization , 2018, Fundamental Statistical Inference.

[7]  T. Corpetti,et al.  ADAPTATION OF STANDARD OPTIC FLOW METHODS TO FLUID MOTION , 2000 .

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

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

[10]  Dani Lischinski,et al.  Target-driven smoke animation , 2004, SIGGRAPH 2004.

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

[12]  Z. Popovic,et al.  Fluid control using the adjoint method , 2004, SIGGRAPH 2004.

[13]  Marcus A. Magnor,et al.  Image-based tomographic reconstruction of flames , 2004, SIGGRAPH '04.

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

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

[16]  Yongning Zhu,et al.  Animating sand as a fluid , 2005, SIGGRAPH 2005.

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

[18]  James F. O'Brien,et al.  Eurographics/acm Siggraph Symposium on Computer Animation (2007) Liquid Simulation on Lattice-based Tetrahedral Meshes , 2022 .

[19]  Hans-Peter Seidel,et al.  Time-resolved 3d capture of non-stationary gas flows , 2008, SIGGRAPH 2008.

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

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

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

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

[24]  Matthias Müller,et al.  Real-time Eulerian water simulation using a restricted tall cell grid , 2011, SIGGRAPH 2011.

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

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

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

[28]  Étienne Mémin,et al.  Divergence-Free Wavelets and High Order Regularization , 2013, International Journal of Computer Vision.

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

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

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

[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..