Sitni Sati Forums
maximum particle amount for emitter - Printable Version

+- Sitni Sati Forums (https://forum.afterworks.com)
+-- Forum: Products (https://forum.afterworks.com/forumdisplay.php?fid=4)
+--- Forum: FumeFX [max] (https://forum.afterworks.com/forumdisplay.php?fid=8)
+--- Thread: maximum particle amount for emitter (/showthread.php?tid=1103)



maximum particle amount for emitter - Bandu - 12-17-2010

Hallo,

I'm emitting smoke from particles and see that huge amount of particles slows down the simulation a lot and for the most time FFX is using only one CPU to calculate the voxels.
It takes very long as fume is showing me this message "Vmax=14,540, dtReg=0,32, steps=1, CFL`=15,54" an another more time to "Build voxels for 232655 particles"

Can somebody explain what this numbers means and why FFX is not multi threaded on this??

Thank You,
Bandu


Re: maximum particle amount for emitter - sitnisati - 12-17-2010

Hello,

Applying of sources cannot be multithreaded as they write to voxels in random ways (so to speak) and their operation overlap (reading/writing to the same voxel many times).

CFL' means used CFL number based on the velocity in grid and simulation steps.

Kresimir


Re: maximum particle amount for emitter - Bandu - 12-18-2010

oh... yes, I see...

but you could sort the particles before applying the forces so every voxel knows how many particles it keeps inside? (btw, every particle could have its own density/velocity ect. value driven by particle attribute - on the end this values get just averaged )
after sorting should be not a problem for multi threading

just a thought...

cheers,
Bandu


Re: maximum particle amount for emitter - sitnisati - 12-19-2010

Writing to voxels cannot be at the same time, which is what is performed for most of the time. I will check if there is a room for optimization.

Thanks

Kresimir