[QE-users] Calculation of kinetic energy

ALFONSO GALLO BUENO gallo at uniovi.es
Tue Jun 24 14:03:17 CEST 2025


Dear all,
I am using QE - 7.2 compiled with libxc to calculate the kinetic energy through the pp.x code and plot_num=22.
Before this calculation I perform a SCF calculation with norm-conserving PPs.
As specified for plot_num=22, in order for the kinetic energy density to be calculated I need a meta-GGA and XDM calculation.

However, if I use both a meta-GGA functional (e.g.: scan) together with vdw_corr='xdm', it fails with 'not implemented' message.
If I do not use vdw_corr, just the scan funcional, the calculation finishes successfully but pp.x prints an empty (all zeros) kinetic energy cube. Tried with other metaGGA and non-metaGGA functional, also with empty kinetic output.

Attached input files for both the pw.x and pp.x calculations for urea crystal.

Thanks a lot for your help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20250624/04f271e4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3_pw.inp
Type: application/octet-stream
Size: 1365 bytes
Desc: 3_pw.inp
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20250624/04f271e4/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4-22_pp.inp
Type: application/octet-stream
Size: 103 bytes
Desc: 4-22_pp.inp
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20250624/04f271e4/attachment-0001.obj>


More information about the users mailing list