<div dir="ltr"><div>Thank you, Teodoro. I have looked at this section. How can I define the function to make sure Cl- in MM section.</div><div>Best regards,</div><div>Junbo</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-08 17:05 GMT+08:00 Teodoro Laino <span dir="ltr"><<a href="mailto:teodor...@gmail.com" target="_blank">teodor...@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">please have a look at the section : <a href="https://manual.cp2k.org/cp2k-3_0-branch/CP2K_INPUT/FORCE_EVAL/EXTERNAL_POTENTIAL.html" target="_blank">https://manual.cp2k.org/<wbr>cp2k-3_0-branch/CP2K_INPUT/<wbr>FORCE_EVAL/EXTERNAL_POTENTIAL.<wbr>html</a><div><div class="h5"><div><div><br><div><blockquote type="cite"><div>On 8 Nov 2017, at 08:51, Junbo Lu <<a href="mailto:luju...@gmail.com" target="_blank">luju...@gmail.com</a>> wrote:</div><br class="m_5343014369248293819Apple-interchange-newline"><div><div dir="ltr"><div>Dear Teodoro,</div><div>    Thank you for your good suggestion. In option 3, you mean I can apply a physical restraint. Then how can I apply this spherical wall? By which keyword in input file?</div><div>    Best regards,</div><div>    Junbo </div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-08 15:22 GMT+08:00 Teodoro Laino <span dir="ltr"><<a href="mailto:teodor...@gmail.com" target="_blank">teodor...@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Dear Junbo,<div><br></div><div>first of all many thanks for having posted your request here: more people will be able to benefit of the on-going discussion.</div><div><br></div><div>Let me explain my point of view regarding your problem, with the understanding that they are very much in-line with Juerg’s comment.</div><div><br></div><div>First of all as you already realised, the ADBF QM/MM needs to have a constant charge and the charge is not allowed to change during the run. There is a <u>very good reason</u> for that: if you change the charge of the QM region you are changing the zero reference for your calculations during MD and this makes the analysis of your simulations less trivial.</div><div><br></div><div>Therefore, this is not about an "unimplemented feature” (*ignore the recommandation received in a separate list, to implement this functionality*), rather a protection to prevent users from running non-sense simulations.</div><div><br></div><div>Once we agree that we need to use the ADBF system with this “limitation", let’s move on to your questions.</div><div><br></div><div>(1) QM/MM runs do not have to be necessarily neutral. You can run QM/MM of QM charged systems (both fully periodic and non-periodic) being extremely careful to how you are decoupling the periodic images (in case of fully non-periodic calculations). You may have the corresponding counterion in the classical (MM) portion and the interaction would still be computed correctly (again be careful to decouple the QM part properly), in case QM+MM is neutral. You could also have the QM+MM charged and this would still work ok.</div><div><br></div><div><b>Option 1</b>: I<u>f you believe that the Cl- is not important for your simulation you can freely decide to remove it from the entire system and run instead a simulation that is overall (QM+MM) charged (2+).</u></div><div><br></div><div><b>Option 2</b>: <u>If you decide to treat the Cl- classically, be sure that the Cl- is always far from your Zn2+ center enough (at least 2 solvation shells) to avoid any interaction between the two ions that could not be treated classically (electrostatic+non-bonded).</u> In this case your overall system (QM+MM) is neutral, with your QM region being 2+ and the MM one 2-. Please, use a decoupling to be sure that the strong electrostatic coupling between the QM periodic replicas is dumped. </div><div><br></div><div>(2) Using ADBF QM/MM for both option 1 and 2 is trivial as your QM charge is not changing (and again, for fundamental reasons it should not!).</div><div><b>Option 3</b>: If you start with Option 2, you may notice instead that Cl- may play a fundamental role in your simulations or you may already know before starting your simulations that you are interested in mapping the interaction between the Cl- and  Zn2+.</div><div>In this case, there is only one thing that you can do.<u> If you believe that the Cl- is an important part of the QM center, then you’ll have to include the Cl- into the QM region since the very beginning of your simulations.</u> This will have the major drawback that Cl- may leave the Zn2+ center with the drawback of being forced to use very large QM boxes. </div><div>Still, there is nothing lost or wasted in life (and in simulations too): you can apply a physical restraint (i.e. spherical wall) to prevent the Cl- from flying far and subsequently  reweight the calculated free energy (assuming you are interested in free energies) for the additional constraint. This will help you in containing the size of  your QM box even for extended simulation times (several hundreds of ps).</div><div><br></div><div>Personally, I like option 3.. but depending on your understanding of the system you may decide (equally good) to go for option 2 or option 1. … Possibly even for another option not necessarily considered here….</div><div><br></div><div>Hope this helps and good luck!</div><div>Best,</div><div>Teo</div><div><br></div><div><br></div><div><br><div><blockquote type="cite"><span><div>On 4 Nov 2017, at 17:07, <a href="mailto:luju...@gmail.com" target="_blank">luju...@gmail.com</a> wrote:</div><br class="m_5343014369248293819m_8090505173029907274Apple-interchange-newline"></span><div><span><div dir="ltr"><div style="max-height:10000px"><div dir="ltr">Hi, I want to do a simulation of hydration of Zn2+ by QM/MM MD of CP2K. But there are several problems for my simulation:<br>(1). I do not know whether we should neutralize the system by minus ion in CP2K, such as Cl-. We can also not neutralize the system, is it right?<br>(2). If we add some minus ions into system, how can we define the charge of dynamic QM region in adbf QM/MM MD calculation? When a charged molecule enter the QM region, such as Cl- ion, the total charge of dynamic QM region will change. I have read the CP2K manual, I find it can not change the charge of QM region when doing MD. So this is a problem.<br>Can you help me for these two problems? I will be very appreciated!<br>With my best regards,<br>Junbo<br></div></div><a class="m_5343014369248293819m_8090505173029907274gwt-Anchor" style="display:none">显示删减掉的内容</a> <div class="m_5343014369248293819m_8090505173029907274F0XO1GC-nb-P" style="display:none"><div></div></div><div></div><div></div><div style="display:none"></div><div style="display:none"></div><div><div class="m_5343014369248293819m_8090505173029907274F0XO1GC-ed-a"></div></div><div class="m_5343014369248293819m_8090505173029907274F0XO1GC-nb-b"><div class="m_5343014369248293819m_8090505173029907274F0XO1GC-nb-a m_5343014369248293819m_8090505173029907274F0XO1GC-nb-cb"><div><div style="display:inline-block"><div style="display:none"></div></div> </div></div></div></div><div><br class="m_5343014369248293819m_8090505173029907274webkit-block-placeholder"></div>

-- <br></span>
You received this message because you are subscribed to the Google Groups "cp2k" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+uns...@googlegroups.com" target="_blank">cp2k+unsubscribe@googlegroups.<wbr>com</a>.<span><br>
To post to this group, send email to <a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br>
Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank">https://groups.google.com/grou<wbr>p/cp2k</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/op<wbr>tout</a>.<br>
</span></div></blockquote></div><br></div></div><div class="m_5343014369248293819HOEnZb"><div class="m_5343014369248293819h5"><div><br class="m_5343014369248293819webkit-block-placeholder"></div>

-- <br>
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/cp2k/0YL4lM9Rqj8/unsubscribe" target="_blank">https://groups.google.com/d/to<wbr>pic/cp2k/0YL4lM9Rqj8/unsubscri<wbr>be</a>.<br>
To unsubscribe from this group and all its topics, send an email to <a href="mailto:cp2k+uns...@googlegroups.com" target="_blank">cp2k+unsubscribe@googlegroups.<wbr>com</a>.<br>
To post to this group, send email to <a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br>
Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank">https://groups.google.com/grou<wbr>p/cp2k</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/op<wbr>tout</a>.<br>
</div></div></blockquote></div><br></div><div><br class="m_5343014369248293819webkit-block-placeholder"></div>

-- <br>
You received this message because you are subscribed to the Google Groups "cp2k" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+uns...@googlegroups.com" target="_blank">cp2k+unsubscribe@googlegroups.<wbr>com</a>.<br>
To post to this group, send email to <a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br>
Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank">https://groups.google.com/<wbr>group/cp2k</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/<wbr>optout</a>.<br>
</div></blockquote></div><br></div></div></div></div></div><div class="HOEnZb"><div class="h5">

<p></p>

-- <br>
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/cp2k/0YL4lM9Rqj8/unsubscribe" target="_blank">https://groups.google.com/d/<wbr>topic/cp2k/0YL4lM9Rqj8/<wbr>unsubscribe</a>.<br>
To unsubscribe from this group and all its topics, send an email to <a href="mailto:cp2k+uns...@googlegroups.com" target="_blank">cp2k+unsubscribe@googlegroups.<wbr>com</a>.<br>
To post to this group, send email to <a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br>
Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank">https://groups.google.com/<wbr>group/cp2k</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/<wbr>optout</a>.<br>
</div></div></blockquote></div><br></div>