Python Smoothed-Particle Hydrodynamics
Вставка
- Опубліковано 26 вер 2024
- The most time consuming part of this simulation is the collision detection part. I'm planning on porting this simulation to Unity. I could use compute shader to increase the speed of the simulation.
3 years.
Yes it has been 3 years
Lattice Boltzmann Method ?(D2Q9)
Oh no, this one is not a Lattice Boltzmann simulation... It's a Smoothed-Particle Hydrodynamics simulation (SPH). I didn't use grid, but each dot you see is an instance of the particle object...
@@hilmiyafia I understood. It's just that the movement of the particles seemed to me like movement on a grid
@@gexometilentriperoxiddiamin Ohh, I think I get it. Yes you're right, the movements are not smooth, right? That's because the resolution of the display is really small. The simulation itself isn't that coarse. 😊
It is very awesome!
Can you give the program's raw code??
I wonder how they are work.
Thanks! 😄 My code is an implementation of MiorSoft's VB6 code. You can check his code on his video's description: ua-cam.com/video/ML_PNMCUp5Q/v-deo.html
@@hilmiyafia thx!!!
@@zihasoo You are welcome! 😄