[lammps-users] How to create a free surface on top and fixed at the bottom

Hi,

Just use boundary p s p. Then, define some region (some layers of atoms) at the bottom of your box, and then use a command like
"fix myFreeze myRegion setforce 0.0 0.0 0.0"
to "freeze" them.
See more here: http://lammps.sandia.gov/doc/fix_setforce.html

Next time, please read a little more in the documentation before asking - this is very easily found after a little bit of searching around in the documentation.

Hope this helps.

Sincerely,
Christer H. Ersland.