• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
maximum particle amount for emitter
#1
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
  Reply
#2
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
  Reply
#3
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
  Reply
#4
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
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)