An open API service indexing awesome lists of open source software.

https://github.com/embersarc/fluid2d

Fluid simulation with Numpy, Pytorch and Eigen
https://github.com/embersarc/fluid2d

Last synced: about 2 months ago
JSON representation

Fluid simulation with Numpy, Pytorch and Eigen

Awesome Lists containing this project

README

        

# fluid2d
Fluid simulation with Numpy, Pytorch and Eigen



[Higher Quality Video](https://gfycat.com/heartfelthopefuldiscus)

Based on [Real-Time Fluid Dynamics for Games](https://www.researchgate.net/publication/2560062_Real-Time_Fluid_Dynamics_for_Games) by Jos Stam

## Performance Comparison
CPU: Intel Core i5-6600K
GPU: GeForce GTX 1070

FPS values for different grid sizes:
| N | Numpy | Pytorch (CUDA) | Eigen |
|---|-------|---------|-------|
|128|160|60|**320**|
|256|40|75|**85**|
|512|8|**65**|15|
|1024|1.5|**30**|2.5|