[lammps-users] question regarding the compression


I am running a molecular static simulation. System is plates placed on the sphere. I have to compress the sphere and then relax it. Plz suggest, which command should I exactly for the step of compression. I am confused between - displace_box/velocity. Let me know which one will be more suitable between these two or suggest any other command if there is any.

Thanks and regards,

I don’t know what plates placed on a sphere means. If you want
flat walls to compress your atoms, then you could use one of the fix/wall
options. If you want walls made of atoms, then you can build them and
move them in a static way into your dynamic atoms. If you have a periodic
system and want to squash it, you can you use fix deform.