Regarding Particle insertion

Submitted by Rohith tvn on Thu, 05/16/2019 - 19:41

Hello,
As a part of my project, I need to insert particles of different range in different concentration (particle size distribution). How should I enter my code.
Thank you.

mschramm | Fri, 05/17/2019 - 18:29

Hello
You will need to make multiple template decorations.
Say you want to insert the same atom type particle but at 3 different sizes with the following probabilities [0.5 0.3 0.2]

#distributions for insertion
fix pts1 all particletemplate/sphere 15485863 atom_type 1 density constant 2500 radius constant 0.0015
fix pts2 all particletemplate/sphere 15485867 atom_type 1 density constant 2500 radius constant 0.0025
fix pts3 all particletemplate/sphere 32452867 atom_type 1 density constant 2500 radius constant 0.0035
fix pdd1 all particledistribution/discrete 32452843 3 pts1 0.5 pts2 0.3 pts3 0.2

Note that you can have as many pts fixes as you like

See the chute_wear example as that example inserts 2 particles