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
- Host: GitHub
- URL: https://github.com/embersarc/fluid2d
- Owner: EmbersArc
- License: mit
- Created: 2020-09-14T15:21:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-16T19:23:02.000Z (over 4 years ago)
- Last Synced: 2025-02-12T13:56:00.289Z (3 months ago)
- Language: Python
- Size: 348 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 1070FPS 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|