optimal choice of PROCESSORS

Submitted by rob1 on Fri, 03/10/2017 - 11:55

Hello,
I am simulating the filling of a box with a large number of particles (10^5 to 10^6): first I insert the particles in a bigger volume and then I let them pack under the action of gravity.

Which is the best choice of processors to parallelize it? I would like that the Z axis is divided into non-constant grid sizes... e.g., so that more processors compute the particles at the bottom of the box and only 1-2 at the top (when the particles will stay for only a short time before packing).

Do you have any suggestion?
Thanks a lot,

rob1