[lammps-users] periodic boundary

hello, all,

how to add the periodic boundary into a simulation?

I input a coordinates file using the “read_data command”, and want to set the boundary periodic. However,when I use the “boundary p p p” command, I find that this command only acts on the boundary of the simulation box, which generates by the “create box” command. But my purpose is to act the boundary conditions on the boundary atoms, so what’s the matter of the “boundary” command.

Thank you!

Boundary p p p (the default) does implement PBC.
Boundary atoms will act as if the boundaries are periodic.

So I'm not sure what you're asking. What does the simulation
not do as you expect when using boundary p p p?

Steve

2009/7/23 unica111 <[email protected]...>: