IntroductionΒΆ

Nvidia Flow is a GPU-based dynamic grid fluid simulation library for real-time applications.

Flow leverages D3D11.3 Volume Tiled Resources (hardware sparse texture) when available to accelerate fluid simulation. Due to hardware limits, current tiles are 64 KB. With typical data formats, this means that Flow allocates simulation blocks consisting of 32x16x16 cells. These blocks are dynamically made active/resident in regions of interest, optimizing performance and allowing domains larger than possible with fully resident grids.

Volume rendering is used to visualize simulation results. In the current implementation, the density and temperature fields are ray marched. A color map is used to control color and opacity as a function of temperature. Density combines with the color map opacity result to determine final sample opacity.