<div dir="ltr"><div>Append 'H2O' as the 5th column in the XYZ coordinates for waters. You can provide a connectivity file or allow CP2K to generate one, see https://manual.cp2k.org/trunk/CP2K_INPUT/FORCE_EVAL/SUBSYS/TOPOLOGY.html#list_CONN_FILE_FORMAT. You can then modify this file to define 'H2O'. The automatic generation will probably mess up on your close contact, so be sure to double check that. The bit below will function to hold the bonds constant but it needs to know what 'H2O' is in your model. Change the distances to reflect the water model you're using.<br></div><div><br></div><div style="background-color: rgb(250, 250, 250); border-color: rgb(187, 187, 187); border-style: solid; border-width: 1px; overflow-wrap: break-word;" class="prettyprint"><code class="prettyprint"><div class="subprettyprint"><div><span style="color: #008;" class="styled-by-prettify"><within</span><span style="color: #000;" class="styled-by-prettify"> </span><span style="color: #606;" class="styled-by-prettify">CONSTRAINTS</span><span style="color: #008;" class="styled-by-prettify">></span><span style="color: #000;" class="styled-by-prettify"><br>    &G3X3</span></div><span style="color: #000;" class="styled-by-prettify">       DISTANCES [angstrom] 1.0 [angstrom] 1.0 [angstrom] 1.63298<br>      MOLNAME H2O<br>      ATOMS 1 2 3<br>    &END G3X3</span></div></code></div><br><br><br><br>On Monday, May 6, 2019 at 12:58:22 PM UTC-3, ni...@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">Hi everyone,<div><br></div><div>I am running the MD using the FIST method for a cell including one CaF and 61 H2O. To avoid the decomposition of water molecule, I want to constraint the O-H bond of 61 water molecules using G3X3. However, it seems that there has some bugs in the input file. I have attached the input file. Would you please to have a look? Any points are welcome.</div><div><br></div><div>Best,</div><div><br></div><div>Ning</div></div></blockquote></div>