<div dir="ltr">Dear Marcella,<div><br></div><div>thank you for your reply. I have made a run with restraints and it's working ok.<br><br>When you say it's not possible by the means of CV, I wonder if there is another way to apply constraints without CV?<br><br>Greetings,</div><div>Jim<br><br>Am Dienstag, 17. April 2018 11:10:49 UTC+2 schrieb meie...@gmail.com:<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>