<div dir="auto">It is a trivial fix, but I'm away from my pc for a couple of weeks. It is fixed in my gitlab fork<div dir="auto"><br></div><div dir="auto"><a href="https://gitlab.com/paulatz/q-e/-/commit/2c1e1d3d8b5c47639ba1af3842d187d5903115c5">https://gitlab.com/paulatz/q-e/-/commit/2c1e1d3d8b5c47639ba1af3842d187d5903115c5</a></div><div dir="auto"><br><div data-smartmail="gmail_signature" dir="auto">-- <br>Lorenzo Paulatto</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 2, 2021, 17:18 valeria arteaga muñiz <<a href="mailto:valitzelar@hotmail.com">valitzelar@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="auto" style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black">
Thank you both for your replies. <br>
</div>
<div dir="auto" style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black">
Okay, I will take that into consideration. Actually I wanted to use the atomic velocities together with the svr thermostat, do you suggest any other method since that one doesn't work well with the atomic velocities?<br>
<br>
</div>
<div dir="auto" style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black">
Best,<br>
</div>
<div dir="auto" style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black">
Valeria<span id="m_4381395769214802527ms-outlook-android-cursor"></span><br>
<br>
</div>
<div dir="auto" style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black">
<span id="m_4381395769214802527OutlookSignature">
<div dir="auto" style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black">
Valeria</div>
</span><br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_4381395769214802527divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> users <<a href="mailto:users-bounces@lists.quantum-espresso.org" target="_blank" rel="noreferrer">users-bounces@lists.quantum-espresso.org</a>> on behalf of Paolo Giannozzi <<a href="mailto:p.giannozzi@gmail.com" target="_blank" rel="noreferrer">p.giannozzi@gmail.com</a>><br>
<b>Sent:</b> Monday, August 2, 2021 8:47:07 AM<br>
<b>To:</b> Quantum ESPRESSO users Forum <<a href="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noreferrer">users@lists.quantum-espresso.org</a>><br>
<b>Subject:</b> Re: [QE-users] Atomic velocities units</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>From a quick look at the code, it seems to me that the documentation is correct for both pw.x and cp.x. For cp.x, the velocities are given with the same logic as for the atomic positions (in A, Bohr, units of lattice parameter, crystal units) divided
by time in hartree a.u. (2.4189*10^-17 s) ; for pw.x, the velocities are always given in Bohr divided by Rydberg a.u. for time (4.8378*10^-17 s). I am rather puzzled by the cp.x logic, but this is how it works right now</div>
<div><br>
</div>
<div>Paolo<br>
</div>
</div>
<br>
<div>
<div dir="ltr">On Fri, Jul 30, 2021 at 3:07 PM Lorenzo Paulatto <<a href="mailto:paulatz@gmail.com" target="_blank" rel="noreferrer">paulatz@gmail.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>I'm not sure, actually the time conversion I gave you is for pw.x, as cp.x use Hartree units instead of Rydberg for the energy there is a possible factor 2 difference (the base to find out this conversion is keep in mind that [ħ]=J·s=1 in atomic units.</div>
<br>
<div>The input manual says that pw.x velocities are just "atomic units", no conversion is done in the code as far as I could see.</div>
<br>
<div>Also keep in mind that ATOMIC_VELOCITIES is a seldom used feature, and may have bugs (i.e. I recently found out that it does not work with svr thermostat because of a little bug)</div>
<br>
<div>hth</div>
<br>
<div><u></u>--<br>
<span style="font-size:0.9em;color:gray">Lorenzo Paulatto - Paris<span></span></span><u></u></div>
<div>On Jul 29 2021, at 8:17 pm, valeria arteaga muñiz <<a href="mailto:valitzelar@hotmail.com" target="_blank" rel="noreferrer">valitzelar@hotmail.com</a>> wrote:</div>
<blockquote>
<div> </div>
<div>
<div>Hello Lorenzo,</div>
<br>
<div>Thanks for your reply. This is also for the pw.x code, right?</div>
<br>
<div> </div>
<br>
<div>Best,</div>
<br>
<div>Valeria</div>
<br>
<div> </div>
<br>
<div>
<div>
<div><strong>From: </strong><a href="https://link.getmailspring.com/link/17A87165-F0AB-4C7C-9C86-AEE21336990C@getmailspring.com/0?redirect=mailto%3Apaulatz%40gmail.com&recipient=dXNlcnNAbGlzdHMucXVhbnR1bS1lc3ByZXNzby5vcmc%3D" title="mailto:paulatz@gmail.com" target="_blank" rel="noreferrer">Lorenzo
Paulatto</a></div>
<div><strong>Sent: </strong>Thursday, July 29, 2021 11:18 AM</div>
<div><strong>To: </strong><a href="https://link.getmailspring.com/link/17A87165-F0AB-4C7C-9C86-AEE21336990C@getmailspring.com/1?redirect=mailto%3Ausers%40lists.quantum-espresso.org&recipient=dXNlcnNAbGlzdHMucXVhbnR1bS1lc3ByZXNzby5vcmc%3D" title="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noreferrer">Quantum
ESPRESSO users Forum</a></div>
<div><strong>Cc: </strong><a href="https://link.getmailspring.com/link/17A87165-F0AB-4C7C-9C86-AEE21336990C@getmailspring.com/2?redirect=mailto%3Ausers%40lists.quantum-espresso.org&recipient=dXNlcnNAbGlzdHMucXVhbnR1bS1lc3ByZXNzby5vcmc%3D" title="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noreferrer">users@lists.quantum-espresso.org</a></div>
<div><strong>Subject: </strong>Re: [QE-users] Atomic velocities units</div>
</div>
</div>
<div> </div>
<br>
<div>
<div>It depends on which units you have specified for atomic positions. Regarding time,</div>
</div>
<div>
<div>1 a.u.=4.8378 * 10^-17 s</div>
</div>
<div> </div>
<br>
<div>
<div>kind regards</div>
</div>
<div> </div>
<br>
<div>
<div>
<div>--</div>
<div><span style="color:gray"><font style="font-size:10pt">Lorenzo Paulatto - Paris</font></span></div>
</div>
</div>
<div>
<div>On Jul 29 2021, at 5:20 am, valeria arteaga muñiz <<a href="mailto:valitzelar@hotmail.com" target="_blank" rel="noreferrer">valitzelar@hotmail.com</a>> wrote:</div>
</div>
<blockquote>
<div>
<div> Hello everyone. I am trying to perform a MD run using the pw.x code. I'd like to use the atomic positions and also velocities from another run in Angstroms and Å/picoseconds to the QE input, but I am not sure about the units I need
to use. In the documentation, there says it should be atomic units, and when I read the co.c documentation it was the same, but in the description they mentioned we needed to use the units as they're in the atomic positions card and time in a.u. does anyone
have an idea of what convertion should I use?</div>
</div>
<div>
<div>Thanks for your time</div>
</div>
<div>
<div>_______________________________________________</div>
</div>
<div>
<div>Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" target="_blank" rel="noreferrer">www.max-centre.eu</a>)</div>
</div>
<div>
<div>users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noreferrer">
users@lists.quantum-espresso.org</a></div>
</div>
<div>
<div><a href="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank" rel="noreferrer">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div>
</div>
</blockquote>
<br>
<br>
<div> </div>
</div>
<div>_______________________________________________</div>
<div>Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" target="_blank" rel="noreferrer">www.max-centre.eu</a>)</div>
<div>users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noreferrer">
users@lists.quantum-espresso.org</a></div>
<div><a href="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank" rel="noreferrer">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div>
</blockquote>
<img alt="Sent from Mailspring" src="https://link.getmailspring.com/open/17A87165-F0AB-4C7C-9C86-AEE21336990C@getmailspring.com?me=ca1a67e4&recipient=dXNlcnNAbGlzdHMucXVhbnR1bS1lc3ByZXNzby5vcmc%3D" width="0" height="0" style="border:0px none;width:0px;height:0px">_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noreferrer">
users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>
Univ. Udine, via delle Scienze 206, 33100 Udine, Italy<br>
Phone +39-0432-558216, fax +39-0432-558222<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noreferrer">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div>