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
mschramm | Sun, 05/03/2020 - 00:45
Size and packing
Hello, after the fist insert/pack, is there enough volume fraction to do the second insert?
Why are you using two fix insert packs instead of one with a distribution template that holds all particle templates?
tjleps | Sun, 05/03/2020 - 01:28
Apparently not
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.
Jacob.Z | Mon, 10/04/2021 - 07:32
Hi tjleps, I encontered the
Hi tjleps, I encontered the same issue. Have you figured it out?