Using the nparticles keyword with fix insert/rate/region

Submitted by ktduclos on Sun, 07/14/2013 - 16:35

I am trying to use the insert/rate/region command to create a cylinder filled with particles. I have not been able to figure out what role the nparticles keyword plays in determining the number of particles added. I thought that the total number would be limited to "nparticles", but when I run the simulation new particles keep being added after reaching "nparticles". How do I create a region with a fixed number of particles? The code is below. Thanks in advance for your help.

fix ins all insert/rate/region seed 3645 distributiontemplate pdd nparticles 100000 particlerate 1000000 insert_every 1000 overlapcheck no region factory

AttachmentSize
in.scratch_1.txt2.32 KB
log.liggghts_3.txt213.24 KB