[lammps-users] How to create atoms for a binary alloy


I’m a beginner to use LAMMPS. I wonder if anyone could help me to give any advice on my establishment of a Al-Cu alloy structure. What i did is to set up a 0 10 0 10 0 10 fcc box, and then try to use create_atoms in this box for 96%Al-4%Cu. The distribution of these two kinds of atoms are unknown in this box, so can anybody here know the best way to set it up? Any help is greatly appreciated!



If you want to change 4% of the atoms to a different type, randomly,
then I'd use create_atoms to populate the lattice with one type
of atom, then the "set" command to change 4% of them randomly
to another type.