2d fluid simulation system
#1
As I understand it, TyTerrain uses a 2d simulation system to create surface maps and simulate erosion, rain, 2d liquid and the like, only with 2d simulation maps.

Would it be possible to use similar resources for future inclusion in TyFlow of a 2d fluid simulation system like the following examples?

Simulate fluids and diffusion effects through 2d maps but also be able to generate velocity data that can be used to guide particles on surfaces for example...



https://www.youtube.com/watch?v=Gt6wKDnG0xA

https://www.youtube.com/watch?v=XJLu0FhxIBY

https://www.youtube.com/watch?v=jFM8qlKXyp0

https://www.youtube.com/watch?v=VVnrUoH31WE
  Reply
#2
These are navier-stokes sims (likely implemented using Stam's Stable Fluids method), which are different than the shallow water sims of tyFlow's terrain system.

Both are implementable in a 2D grid and can be GPU accelerated, but the fluid sims you're referencing aren't really applicable for a terrain system since they don't take into account things like the slope or depth of a height field.

It's not out of the realm of possibility that I would someday implement 2D fluid like that in tyFlow, but it wouldn't be part of the terrain system.
  Reply
#3
I understand, the idea is not to be part of the terrain system, I just mentioned it as an example for simulating using maps, but I imagine something really separate that only works on flat surfaces, but allows these types of fluid simulations within Max, which is a resource that I haven't seen any plugins offer for Max yet.

Thanks for the answer Smile
  Reply
#4
(07-14-2023, 05:27 PM)ferabachini Wrote: I understand, the idea is not to be part of the terrain system, I just mentioned it as an example for simulating using maps, but I imagine something really separate that only works on flat surfaces, but allows these types of fluid simulations within Max, which is a resource that I haven't seen any plugins offer for Max yet.

Thanks for the answer Smile

2d fluid system(even 3D at certain extent) is possible right now with tyflow through VDB......its definitely not navier-stokes method but a straight Jos Stam's stable fluid method (or more like you can get good advection and vorticity).....the only drawback is that its not GPU accelerated, but it works beautifully....
you can check my RnDs...
https://www.facebook.com/727023891/video...035082471/

https://www.facebook.com/727023891/video...318357401/

trying to find time to make tutorials out of it......

Thank you
Nayan Bodawala
  Reply
#5
(08-10-2023, 06:13 AM)nayan Wrote:
(07-14-2023, 05:27 PM)ferabachini Wrote: I understand, the idea is not to be part of the terrain system, I just mentioned it as an example for simulating using maps, but I imagine something really separate that only works on flat surfaces, but allows these types of fluid simulations within Max, which is a resource that I haven't seen any plugins offer for Max yet.

Thanks for the answer Smile

2d fluid system(even 3D at certain extent) is possible right now with tyflow through VDB......its definitely not navier-stokes method but a straight Jos Stam's stable fluid method (or more like you can get good advection and vorticity).....the only drawback is that its not GPU accelerated, but it works beautifully....
you can check my RnDs...
https://www.facebook.com/727023891/video...035082471/

https://www.facebook.com/727023891/video...318357401/

trying to find time to make tutorials out of it......

Thank you
Nayan Bodawala

I only believe when I see your tutorial lol
  Reply


Forum Jump: