filmov
tv
GPU Fluid Dynamics

Показать описание
Implemented basic fluid dynamics solver on the GPU.
The process is fairly straight forward.
1) We advect ink and velocity through the fluid field (and apply mouse force)
2) We calculate the divergence of the fluid velocity
3) We calculate the pressure using Jacobi iteration
4) We subtract the gradient of the pressure from the divergent velocity
3) We render the ink.
The process is fairly straight forward.
1) We advect ink and velocity through the fluid field (and apply mouse force)
2) We calculate the divergence of the fluid velocity
3) We calculate the pressure using Jacobi iteration
4) We subtract the gradient of the pressure from the divergent velocity
3) We render the ink.