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.

КОМЕНТАРІ • 10

  • @basit.ganie02
    @basit.ganie02 5 місяців тому

    3 years.

    • @hilmiyafia
      @hilmiyafia  5 місяців тому

      Yes it has been 3 years

  • @gexometilentriperoxiddiamin
    @gexometilentriperoxiddiamin 3 роки тому

    Lattice Boltzmann Method ?(D2Q9)

    • @hilmiyafia
      @hilmiyafia  3 роки тому

      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...

    • @gexometilentriperoxiddiamin
      @gexometilentriperoxiddiamin 3 роки тому

      @@hilmiyafia I understood. It's just that the movement of the particles seemed to me like movement on a grid

    • @hilmiyafia
      @hilmiyafia  3 роки тому

      @@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. 😊

  • @zihasoo
    @zihasoo 3 роки тому

    It is very awesome!
    Can you give the program's raw code??
    I wonder how they are work.

    • @hilmiyafia
      @hilmiyafia  3 роки тому

      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

    • @zihasoo
      @zihasoo 3 роки тому

      @@hilmiyafia thx!!!

    • @hilmiyafia
      @hilmiyafia  3 роки тому

      @@zihasoo You are welcome! 😄