"dump command"

Dear lammps Users:

I would like to dump atoms in the specific region which as a part of the whole simulation box.
During the simulation, the atom initial in the specific region will move out the specific region and some atom initial out of the specific region will enter the specific region.
I would like to know whether it is possible for lammps only dump the atoms initial in the specific region no matter how far its move at time t.

Thank you very much

Best wishes

Liyi

Hi,

I recommend you look at the group command page in the documentation. The group command by default is static - so atoms that are initially in your region will be defined as that group for the whole simulation. If you want it to periodically check and reevaluate the groups you can use the group dynamic command which will periodically update the atoms in the groups.

Best,

Zeke​

Hi Zeke,

Thank you very much for your suggestion.
I did it by following your advice.

Have a nice day

Liyi

Mailtrack Sender notified by
Mailtrack 03/16/19, 6:45:43 PM

Piskulich, Ezekiel Ashe <[email protected]…2988…> 于2019年3月16日周六 上午12:07写道: