Hi, all. I am trying to use plumed 2 by using 1 CV( difference of coordination number ).
I am familiar with plumed 1 so I usually use UPPER(LOWER)_WALL commands to constraint the maximum/minimum distance of interatomic distance to prevent undesirable reactions.
In plumed 2, I am trying to use like below:
distcn1: DISTANCE ATOMS=238,235
distcn2: DISTANCE ATOMS=235,199
RESTRAINT ARG=distcn1 KAPPA=100 AT=2.1
RESTRAINT ARG=distcn2 KAPPA=100 AT=2.7
in order not to make atoms diffuse away from the reactive sites.
In this case, the "RESTRAINT" command is proper? I tried to use UPPER_WALLS ARG=distcn1.max AT=2.14 KAPPA=100 but it seems like not working well.
Thanks in advance.