insert/pack

Submitted by tjleps on Sat, 05/02/2020 - 07:20

I'm trying to insert two populations of particles in the same region using:

fix insS all insert/pack seed 179426369 distributiontemplate pddS &
insert_every once overlapcheck yes all_in yes volumefraction_region $(v_fillIniS) region &
reg
fix insL all insert/pack seed 32453423 distributiontemplate pddL &
insert_every once overlapcheck yes all_in yes volumefraction_region $(v_fillIniL) region &
reg

However the second insertion always inserts 0% of particles. I've tried using two different overlapping regions, and two different group IDs as well, with the same result. I've also tried running one time step between the insertions, but I still get the same problem. The final packing fraction after both insertions should be 5%, so it's not running out of space and the second insertion runs properly if the first is commented out.

Thanks,
Thomas

tjleps | Sun, 05/03/2020 - 01:28

I thought for sure there was enough space, since the total volume fraction was only 5% however it appears that was the problem. After I reduced the radii by a factor of two they all fit. I surprised that not a single one was able to be inserted with the original radii but all 10,000 fit with the radii halved.

I'm using two insertions to make it easy to change the ratios of the two distributions.