Hello
Iam an amateur LAMMPS user i have build a simulation box with 32000 atoms with the elements CoFeNiPd I want to set each type of element to have 8000 atoms in the simulation box which makes the alloy equi atomic in composition,The following is my code.The problem iam facing is that the majority of the elements in the simulation box are just palladium So may i know what to do to get a simulation box consisting of 25%of each element
clear
units metal
dimension 3
boundary p p p
atom_style atomic
atom_modify map array
---------- Create Atoms ---------------------
lattice fcc 4
region box block 0 20 0 20 0 20 units lattice
create_box 4 box
lattice fcc 4 orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
create_atoms 4 box
#replicate 20 20 20
set region box type/fraction 1 0.25 12541567
set region box type/fraction 2 0.25 12543796
set region box type/fraction 3 0.25 12541522
set region box type/fraction 4 0.25 12145