Slow down volume at specific area

   444   3   0
User Avatar
Member
14 posts
Joined: Nov. 2022
Online
Hi everyone,

could anyone give me an example or tip on how to slow down or stoppen a volume dringend sim time st a sprcific Spot?


Tanks!
User Avatar
Member
2537 posts
Joined: June 2008
Offline
Check out applying drag based upon distance.
https://forums.odforce.net/topic/32865-pyro-smoke-localised-drag/#comment-180541 [forums.odforce.net]
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
14 posts
Joined: Nov. 2022
Online
How would you do it with a complex shape and not a Single point?

int pnts = nearpoints(0, @P, 1);

foreach(int pnt; pnts){

float dis = distance(pnt, @P);

@vel *= fit(dis, 0, 2, 1, 0);

}



this gets rather slow with a few more points. Do you know a way to import a sop mask field into he sop pyro solver and use it for the damping force node?
Edited by D4uerrenner - Jan. 12, 2024 12:34:24
User Avatar
Member
14 posts
Joined: Nov. 2022
Online
Forget it, this works actually fine. I could also just import a vdb for distance measure
  • Quick Links