Today Nvidia released a video demonstrating its "Flow" technology, joining the GameWorks suite to simulate combustible fluid, fire and smoke.

If you want the nitty-gritty technical explanation on top of the impressive visuals, you can find it below:

"NVIDIA Flow is a realtime fluid simulation - in this demo, simulating fire and smoke. The simulation is based on an adaptive sparse voxel grid, allowing the simulation to focus compute and memory resources around regions of interest, and track shifts in the region of interest over time.

With the fire, the combustion process is simulated per voxel, generating elevated temperatures and smoke, which influences the visual appearance and produces buoyancy and expansion effects on the fluid simulation.

An adaptive sparse voxel grid is also used to compute self-shadowing on the smoke, increasing both the realism and visualizing the structure of the smoke. The fluid simulation supports real time collision with objects in the environment, along with fuel emitters than can be modified in real time, making the simulation fully interactive."

You can check out the video below, running in DirectX 12, even if the tech works in DirectX 11 as well. It will be implemented in Unreal Engine 4 in Q2 2017.