It's been many years since I last used PLUMED with gromacs and there bits that I have forgotten about and some new features etc., that I am a little unsure of.
For now, I would just like to sanity check a basic PLUMED input file. Imagine two proteins (a dimer) in water. I just want to output their bias along a straight distance collective variables (together-apart). I am a little uncertain about the PERIODIC and GRID features.
UNITS LENGTH=nm
cA: COM ATOMS=6763-6833
cB: COM ATOMS=6834-6904
d: DISTANCE ATOMS=cA,cB COMPONENTS
dz: COMBINE ARG=d.z PERIODIC=-5,5
UPPER_WALLS ARG=dz AT=4.8 KAPPA=150.0 EXP=2 EPS=2 OFFSET=0 LABEL=uwall
LOWER_WALLS ARG=dz AT=0.0 KAPPA=150.0 EXP=2 EPS=2 OFFSET=0 LABEL=lwall
metad: METAD ARG=dz SIGMA=0.1 HEIGHT=0.1 PACE=200 GRID_BIN=250 GRID_MIN=0 GRID_MAX=5
PRINT ARG=dz,metad.bias STRIDE=100 FILE=COLVAR
My concerns:
1) The only example given regarding periodicity as a function of distance was a unit cell of 20nm, so the example had PERIODIC=-10,10. I've used the same approach but for a unit cell of 10nm in z. How does this factor in fluctuations for unit cell dimensions under pressure?
2) Should the grid size (MAX, MIN) be defined by the possibly z-distance path that the two peptides can take? So should this then be 10nm? I kept it to 5 as my wall limit is just under 5.
3) Given that I defined a lower and upper wall of 5nm, how is this covered on the Grid?
4) Testing with the above parameters, I am getting negative dz (distance in z) values during the simulation run. How can I be getting a negative distance?
I am testing for a GRID_MAX = 10 at the moment.