[CP2K-user] [CP2K:21877] Inquiry about constrained MD in CP2K

Jianzhi jzxu0322 at gmail.com
Sun Oct 5 14:58:49 UTC 2025


 I am running a constrained MD simulation where atom A is driven to 
approach atom B, with atom B fixed during the simulation. The relevant 
parts of my input are as follows: 
    &COLVAR
      &DISTANCE
        ATOMS 289 674
      &END DISTANCE
    &END COLVAR
......
  &CONSTRAINT
    &FIXED_ATOMS
      COMPONENTS_TO_FIX XYZ
      LIST 289
    &END FIXED_ATOMS
    &COLLECTIVE
      INTERMOLECULAR T
      COLVAR 1
      TARGET [angstrom] 31.9081
      TARGET_GROWTH [angstrom*fs^-1] -0.0008
    &END COLLECTIVE
    &LAGRANGE_MULTIPLIERS ON
       COMMON_ITERATION_LEVELS 1
       FILENAME ./lagrange.dat
    &END LAGRANGE_MULTIPLIERS
    SHAKE_TOLERANCE 0.00001
  &END CONSTRAINT
.......
*Question 1*: Why do the Shake Lagrangian multipliers appear with four 
components, for example:  
Shake  Lagrangian Multipliers:             0.188781938    0.000000000   
 0.000000000    0.000000000
In another test case I ran, only a single value was printed. What 
determines whether the output has one or multiple components? 
*Question 2*: Are the units of the Shake Lagrangian multipliers given in 
Hartree/Bohr, regardless of the fact that the TARGET and TARGET_GROWTH 
values were specified in angstroms and angstrom/fs? I am asking because the 
free energy obtained from integrating the Shake Lagrangian multipliers 
appears to be unphysically large.

-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/bb9cc9fb-f204-4f30-bd78-0b17586bf34bn%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20251005/a1fd696a/attachment.htm>


More information about the CP2K-user mailing list