文摘
Physically based fluid simulation requires much time in numerical calculation to solve Navier–Stokes equations. Especially in grid-based fluid simulation, because of iterative computation, the projection step is much more time-consuming than other steps. In this paper, we propose a novel data-driven projection method using an artificial neural network to avoid iterative computation. Once the grid resolution is decided, our data-driven method could obtain projection results in relatively constant time per grid cell, which is independent of scene complexity. Experimental results demonstrated that our data-driven method drastically speeded up the computation in the projection step. With the growth of grid resolution, the speed-up would increase strikingly. In addition, our method is still applicable in different fluid scenes with some alterations, when computational cost is more important than physical accuracy. Copyright