rewrite_group

Hi all ! I just would like to use same name of group but for different atom ID’s and when i use it like this

Hi all ! I just would like to use same name of group but for different
atom ID's and when i use it like this
#############################
label checking
variable k loop 20
group check id $k
fix...................
next k
jump SELF checking
##############################
atom IDs have been added to the group check instead rewrite this ... is it
available in LAMMPS to use one group name for different atom ID's ? Thank
you !

​yes. it is. only you have to delete the group in between. please re-read
the documentation on the group command.

axel.