hello,everyone
I am having problems with the "variable " command (lammps-13Jul11, serial). My work is studying droplet evaporation. I am trying to group the atoms those coordination number >=4 to Determine group liquid , but I cannot use the command variable and loop to realize it . I do not know how to solve it ,and hope you can help me.
I am using the following loop and the error sign is under it.
###########LOOP#############
compute 1 all coord/atom 1.5
dump 1 all custom 2000 dump0 id type x y z vx vy vz c_1
run 0
label loop
variable i loop 2682
variable x equal c_1[$i]
if “$x >= 4” then “print ‘group liquid id i’”
clear
next i
jump in.evaporation
variable id delete
variable x delete
run 100000