collective variable restraint

Sun Tao taosun... at gmail.com
Sun Mar 5 23:29:59 UTC 2017


Dear All:

I am trying to do umbrella sampling for a system. My collective variable is 
defined as a linear combination of the z-coordinates of some atoms, as the 
following:

        FUNCTION 
CV8+CV9+CV10+CV11+CV12+CV13+CV14+CV15+CV16+CV17+CV18+CV19+CV20+CV21+CV22-2*CV1-2*CV2-2*CV3-2*CV4-2*CV5-2*CV6-2*CV7
        VARIABLES CV1 CV2 CV3 CV4 CV5 CV6 CV7 CV8 CV9 CV10 CV11 CV12 CV13 
CV14 CV15 CV16 CV17 CV18 CV19 CV20 CV21 CV22 
        ERROR_LIMIT 1.0E-8

and add one harmonic potential to the defined collective variable:

 &CONSTRAINT
  &COLLECTIVE
    TARGET [bohr] 40.0
    INTERMOLECULAR .TRUE.
    COLVAR 1
    &RESTRAINT
      K [kcalmol] 10.0
    &END
  &END COLLECTIVE
 &END CONSTRAINT

Somehow the simulation failed with "CPASSERT failed" information, and by 
checking the trajectory, I find many atoms are flying away out of scope. I 
guess this is due to  "INTERMOLECULAR .TRUE." statement? Shall I include 
all the atoms involved in the collective variable into a defined molecule 
in the input file? The input files are attached in the information. Please 
take a look and any feedback would definitely help me to figure it out.

Thank very much !

Tao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20170305/53cd51b8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new_complete.cp2k.inp
Type: chemical/x-gamess-input
Size: 7718 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20170305/53cd51b8/attachment.inp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: total_cnt_water.xyz
Type: chemical/x-xyz
Size: 52491 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20170305/53cd51b8/attachment.xyz>


More information about the CP2K-user mailing list