Trouble with move command

Dear LAMMPS Users, Developers,

I have the following input file in LAMMPS:

# Initialization
units       real
atom_style  charge
boundary    p p p

# Read the data file
read_data   raw_structure.data 

group surface1 id 13132 13175 13426

displace_atoms surface1 move 0.0 0.0 0.5 

run 0

# Output final configuration
write_data modified_surface.data

My goal is to move the selected atoms upwards by 0.5 Angstrom (on the top surface of the structure).
I selected the atoms in OVITO and checked the IDs but after I ran the simulation I can not observe any changes on the surface, like no atoms has been displaced.

Could the units be a problem or did I determine the distance in a bad way?
Why do I not see any changes?

I attached 2 pictures before, after the simulation.

Thank you for your help!

after_sim
before_sim

The human eye is not very sensitive to small changes in images. So your proof is not very convincing.

You have the “before” and “after” data files and the IDs of the atoms that you have moved.
It is trivial to check the actual numbers.

1 Like