How to randomly create 2 types of atoms using command create_atoms

Hi all,

I want to randomly create 2 types of atoms in simulation box using the command create_atoms:

create_atoms 1 random 2500 766125 NULL units box

create_atoms 2 random 5000 769525 NULL units box

However, the second create_atoms command resulted in an error:

Invalid atom type in create_atoms command

Can anyone tell me how to randomly create 2 types of atoms by create_atoms?

Kind regards,

MC

The create_box command determines how many atom types you
can have - I am guessing you only said 1, hence the error.

You can then use create_atoms as many times as you wish
with whatever types you want to create different sets of atoms.

Steve