<div dir="ltr">Dear Jim,<div><br></div><div>in geo_opt constraint cannot be applied by means of CVs, but you could apply restraints.</div><div>regards</div><div>Marcella</div><div><br><br>On Tuesday, April 17, 2018 at 11:10:49 AM UTC+2, meie...@gmail.com wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Dear CP2K Users,
<br>
<br>I have a problem concerning geometry optimization and distance
constraints. I defined distance constraints between some atoms in my
simulation and using MD everything works fine. However if I run the same
system using GEO_OPT the constraints are ignored.
<br>
<br>Is this expected behaviour or am I doing something wrong? Should the
constraints work fine in a GEO_OPT ?
<br>
<br>For my input code concerning constraints:
<br>
<br>
<br>motion section....
<br>
<br>&CONSTRAINT
<br> CONSTRAINT_INIT TRUE
<br> &COLLECTIVE
<br> COLVAR 1
<br> INTERMOLECULAR
<br> TARGET [angstrom] 2.0
<br> &END COLLECTIVE
<br> &LAGRANGE_MULTIPLIERS
<br> COMMON_ITERATION_LEVELS 1
<br> &END
<br>
<br>&END CONSTRAINT
<br>
<br>
<br>
<br>
<br>subsys section.....
<br>
<br> &COLVAR
<br> &DISTANCE
<br> ATOMS 597 182
<br> &END DISTANCE
<br> &PRINT
<br> &END
<br> &END COLVAR
<br>
<br>
<br>Greetings,
<br>
<br>Jim <br></div></blockquote></div></div>