[lammps-users] create random atoms

Hi all ,

i have create two cylinders and then i intersect them . I then fill the new region with a create_atoms randomly. However i see that only the half of the new region is filled with atoms.

lattice fcc 5.21 or lattice bcc 4.32 # i have tried several things here.

region inner cylinder y 273 273 60 140 415 side out units box
region outer cylinder y 273 273 62 140 415 side in units box
region 3 intersect 2 inner outer
create_atoms 2 random 1000 38790 3

Regards
Nelson

Assuming your simulation box encloses the entire cylinder, it
will work fine. For example, these lines seems to fill
the entire space bewteen the concentric cylinders:

lattice fcc 5.21

region bigbox block 200 400 100 500 200 400
create_box 2 bigbox

region inner cylinder y 273 273 60 140 415 side out units box
region outer cylinder y 273 273 62 140 415 side in units box
region 3 intersect 2 inner outer
create_atoms 2 random 1000 38790 3

Steve