slab creation

Hi lammps users
I want to define surface energy of fcc copper metal
so i need to define cohesive energy of slab with 2 dimensional periodic boundary condition
but i don’t know how to create the slab
a

A slab (with two surfaces) can be easily created by changing the boundary condition from periodic to non-periodic.

Please see boundary keyword of the change_box command (http://lammps.sandia.gov/doc/change_box.html) for more info.

Ray