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