Rapid, stable fluid dynamics for computer graphics
- 1 September 1990
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGGRAPH Computer Graphics
- Vol. 24 (4) , 49-57
- https://doi.org/10.1145/97880.97884
Abstract
We present a new method for animating water based on a simple, rapid and stable solution of a set of partial differential equations resulting from an approximation to the shallow water equations. The approximation gives rise to a version of the wave equation on a height-field where the wave velocity is proportional to the square root of the depth of the water. The resulting wave equation is then solved with an alternating-direction implicit method on a uniform finite-difference grid. The computational work required for an iteration consists mainly of solving a simple tridiagonal linear system for each row and column of the height field. A single iteration per frame suffices in most cases for convincing animation.Like previous computer-graphics models of wave motion, the new method can generate the effects of wave refraction with depth. Unlike previous models, it also handles wave reflections, net transport of water and boundary conditions with changing topology. As a consequence, the model is suitable for animating phenomena such as flowing rivers, raindrops hitting surfaces and waves in a fish tank as well as the classic phenomenon of waves lapping on a beach. The height-field representation prevents it from easily simulating phenomena such as breaking waves, except perhaps in combination with particle-based fluid models. The water is rendered using a form of caustic shading which simulates the refraction of illuminating rays at the water surface. A wetness map is also used to compute the wetting and drying of sand as the water passes over it.Keywords
This publication has 12 references indexed in Scilit:
- Globular dynamics: A connected particle system for animating viscous fluidsComputers & Graphics, 1989
- Adaptation methods for a new Navier-Stokes algorithmAIAA Journal, 1989
- Generalized stochastic subdivisionACM Transactions on Graphics, 1987
- Modeling and rendering waves: wave-tracing using beta-splines and reflective and refractive texture mapping.ACM Transactions on Graphics, 1987
- A simple model of ocean wavesPublished by Association for Computing Machinery (ACM) ,1986
- Modeling waves and surfPublished by Association for Computing Machinery (ACM) ,1986
- Finite difference simulation of nonlinear waves generated by ships of arbitrary three-dimensional configurationJournal of Computational Physics, 1985
- An image synthesizerPublished by Association for Computing Machinery (ACM) ,1985
- Vectorized procedural models for natural terrainPublished by Association for Computing Machinery (ACM) ,1981
- Long crested wave modelsComputer Graphics and Image Processing, 1980