<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 class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 30, 2021 at 3:07 PM Lorenzo Paulatto <<a href="mailto:paulatz@gmail.com">paulatz@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" 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">valitzelar@hotmail.com</a>> wrote:</div><blockquote><div>   </div><div><div class="MsoNormal">Hello Lorenzo,</div><br><div class="MsoNormal">Thanks for your reply. This is also for the pw.x code, right?</div><br><div class="MsoNormal"> </div><br><div class="MsoNormal">Best,</div><br><div class="MsoNormal">Valeria</div><br><div class="MsoNormal"> </div><br><div><div class="MsoNormal"><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">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">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">users@lists.quantum-espresso.org</a></div><div><strong>Subject: </strong>Re: [QE-users] Atomic velocities units</div></div></div><div class="MsoNormal"> </div><br><div><div class="MsoNormal">It depends on which units you have specified for atomic positions. Regarding time,</div></div><div><div class="MsoNormal">1 a.u.=4.8378 * 10^-17 s</div></div><div class="MsoNormal"> </div><br><div><div class="MsoNormal">kind regards</div></div><div class="MsoNormal"> </div><br><div><div class="MsoNormal"><div>--</div><div><span style="color:gray"><font style="font-size:10pt">Lorenzo Paulatto - Paris</font></span></div></div></div><div><div class="MsoNormal">On Jul 29 2021, at 5:20 am, valeria arteaga muñiz <<a href="mailto:valitzelar@hotmail.com" target="_blank">valitzelar@hotmail.com</a>> wrote:</div></div><blockquote><div><div class="MsoNormal">  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 class="MsoNormal">Thanks for your time</div></div><div><div class="MsoNormal">_______________________________________________</div></div><div><div class="MsoNormal">Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" target="_blank">www.max-centre.eu</a>)</div></div><div><div class="MsoNormal">users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a></div></div><div><div class="MsoNormal"><a href="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div></div></blockquote><br><br><div class="MsoNormal"> </div></div><div>_______________________________________________</div><div>Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" target="_blank">www.max-centre.eu</a>)</div><div>users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a></div><div><a href="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div></blockquote><img alt="Sent from Mailspring" style="border: 0px none; width: 0px; height: 0px;" src="https://link.getmailspring.com/open/17A87165-F0AB-4C7C-9C86-AEE21336990C@getmailspring.com?me=ca1a67e4&recipient=dXNlcnNAbGlzdHMucXVhbnR1bS1lc3ByZXNzby5vcmc%3D" width="0" height="0">_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><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>