Ok right, it looks like a v1.3 file. I haven't used this. So, if I get this correctly:
- You can start the simulation without problems. The error pops up after a while (some period of time):
- CV2 and CV3 are dihedrals and periodic, and so should never exit the grid. This leaves CV1.
- Your KAPPAs... Ah, they may be too small. KAPPA is the force constant in V_wall=kappa(x-x0)^EXP, and is measured in the units of your MD engine for PLUMED 1.3. (e.g. kJ mol^-1 nm^-2 for linear ones, and radians for dihedral ones.) If you check the manual, the values can be 3000, 10000, etc. - this is typical of GROMACS, with nm as their internal unit. NAMD would use Angstroms, and are therefore 100x smaller.
(PLUMED 2.0 standardises itself into nm unless you change it in the plumed.dat file.)
The grid needs to be bigger than the walls anyway, because walls are one-sided polynomial potentials. The problem should be with MIN/MAX limits and not NBIN at all: can you check COLVARS just before the simulation stops? Is CV1 moving outside 0-20? Or CV2/CV3 moving outside +-pi? The best case scenario is that it's simply moving outside R=20, and you should increase KAPPA for CV1. The other possibilities means there's something direly wrong.
- P.