[lammps-users] moving Boundary

Hi Ganesh,
You can use fix the centre of mass of the top and bottom slab with a spring with small force constant. This should keep the positioning os the slab as you want.

Regards,
Vikas