<div>Dear Thomas,</div><div>thanks a lot for sharing that. I couldn't find eq. 23 in the provided paper, probably eq 20 ? <br>Also, about the ener file, both the printed temperature and kinetic energies seem strange and I still have not been able to figure out what they represent exactly.</div><div>Best regards,</div><div>Amin<br></div><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Monday, May 31, 2021 at 3:27:22 PM UTC+2 tkuehne wrote:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap:break-word;line-break:after-white-space">Dear Amin, <div><br></div><div>using the centroid viral estimator you compute the correct quantum kinetic energy. I suspect </div><div>that in the ener file the classical kinetic energy or the difference to the quantum kinetic energy </div><div>is printed. See for instance Eq. 23 of the appended paper. Also, let me add that the effective </div><div>temperature is P*T, where P is the number of beads … </div><div><br></div><div>Best, </div><div>Thomas</div><div><br></div><div>P.S. <a href="https://journals.aps.org/pre/abstract/10.1103/PhysRevE.93.043305" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://journals.aps.org/pre/abstract/10.1103/PhysRevE.93.043305&source=gmail&ust=1622575649682000&usg=AFQjCNEvcv2pGBycVslvs-DUf8VuqzX5gg">https://journals.aps.org/pre/abstract/10.1103/PhysRevE.93.043305</a><br><div><br><blockquote type="cite"></blockquote></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><blockquote type="cite"><div>Am 31.05.2021 um 14:51 schrieb amin....@<a href="http://gmail.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en&q=http://gmail.com&source=gmail&ust=1622575649683000&usg=AFQjCNEQ3fSLARXWuobJtZMRJkybttxo2w">gmail.com</a> <<a href data-email-masked rel="nofollow">am...@gmail.com</a>>:</div><br></blockquote></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><blockquote type="cite"><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">As an update, I could figure it. With Eq (5) in the provided paper, the virial kinetic energies and the values which CP2K would be equal if for the term 3/2KT the temperature T is always almost a fixed value and equal to the temperature at which the simulation is done.<span> </span><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">It means there should be some bug or different meaning for the temperature and kinetic energy which CP2K prints in the first three columns.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br></div><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div class="gmail_quote" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" class="gmail_attr">On Sunday, May 30, 2021 at 6:21:11 PM UTC+2 amin....@<a href="http://gmail.com/" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en&q=http://gmail.com/&source=gmail&ust=1622575649683000&usg=AFQjCNEIS_vRytteG45cpcZ2U3xox_GOsw">gmail.com</a><span> </span>wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br><p>Hi everyone,<span></span></p><p>In running some path integral MD simulation in cp2k I have observed some strange issues and would be grateful if someone can comment on that.<span></span></p><p>After running the attached input script main.inp, the energy terms are printed in a file named “md-01-energy-1.dat”.<span> </span><span></span></p><p>The first issue which I encountered is that the kinetic energy printed out in the third column can no way be related to the calculated temperatures printed in the 5<span>th</span><span> </span>column. Regardless of the degree of freedom and unit conversion factors, at least there should be a correlation between them which doesn’t exist here.<span></span></p><p>The second and more important issue: The calculated virial kinetic energy which is printed in the fourth column of “md-01-energy-1.dat” file also seems kind of strange. This value is calculated via the virial estimator written as equation (5) in the attached pdf file.<span> </span><span></span></p><p>To reproduce what CP2K prints, I manually calculated the second term in right hand side of eq (5) using the position of the centroids and beads printed out by the script and for the gradient of the potential energy required by eq(5) I also used the forces which CP2K prints.<span> </span><span></span></p><p>Something really surprising and unusual which I observed is that the second term in right hand side of eq (5) which I manually calculated *before* adding 3/2KT to it (as should be done based on the virial estimator) shows a perfect correlation with the total virial kinetic energy which CP2K prints (R=1.00) (although for this the virial kinetic energies which CP2K prints are ca. 438 times the values which I calculate and I couldn’t find the reason even with trying various possible unit conversions).<span> </span><span></span></p><p>If I also add the data I obtain with 3/2KT which should be done to yield the total kinetic energies, then the correlation coefficient dramatically reduced.<span> </span><span></span></p><p>I would highly appreciate your comments/helps.<span></span></p><p>Best regards,<span></span></p><p>Amin<span></span></p><div><span> </span><br></div></blockquote></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br></div></div></blockquote></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><blockquote type="cite"><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">--<span> </span></span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">You received this message because you are subscribed to the Google Groups "cp2k" group.</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">To unsubscribe from this group and stop receiving emails from it, send an email to<span> </span></span><a href style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" data-email-masked rel="nofollow">cp...@googlegroups.com</a><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">.</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">To view this discussion on the web visit<span> </span></span><a href="https://groups.google.com/d/msgid/cp2k/7252724d-1424-49b2-9930-b2dfb3dbc676n%40googlegroups.com?utm_medium=email&utm_source=footer" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://groups.google.com/d/msgid/cp2k/7252724d-1424-49b2-9930-b2dfb3dbc676n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1622575649684000&usg=AFQjCNFeDcF4krnO7Zl9vsbm0NdbCH58JQ">https://groups.google.com/d/msgid/cp2k/7252724d-1424-49b2-9930-b2dfb3dbc676n%40googlegroups.com</a><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">.</span></div></blockquote></div><br></div></div></blockquote></div>