Pressure and stress tensor

Total energy, geometry optimization, DFT+U, spin....

Moderator: bguster

Locked
vojtech.vlcek
Posts: 5
Joined: Fri Mar 16, 2012 11:48 am

Pressure and stress tensor

Post by vojtech.vlcek » Thu Jul 05, 2012 6:05 pm

Dear Sirs,

I have actually two questions concerning the pressure and stress tensor:
1) how the pressure and stress are actually calculated (is the implementation based on e.g. Nielsen&Martin, 1985);
2) and if it is possible to get a more verbose output about the contributions to the stress tensor (kinetic, hartree, xc contributions - e.g. like in VASP)

Thank you very much in advance!

Kind regards,

Vojtech

User avatar
jzwanzig
Posts: 504
Joined: Mon Aug 17, 2009 9:25 am

Re: Pressure and stress tensor

Post by jzwanzig » Sat Jul 07, 2012 1:45 pm

Hi,
from the comments of the code in stress.F90, where the stress is calculated:

!! NOTES
!! * Concerning the stress tensor:
!! See O. H. Nielsen and R. M. Martin, PRB 32, 3792 (1985).
!! Note that first term in equation (2) should have minus sign
!! (for kinetic energy contribution to stress tensor).
!! Normalizations in this code differ somewhat from those employed
!! by Nielsen and Martin.
!! For the stress tensor contribution from the nonlocal Kleinman-Bylander
!! separable pseudopotential, see D. M. Bylander, L. Kleinman, and
!! S. Lee, PRB 42, 1394 (1990).
!! Again normalization conventions differ somewhat.

Also, if you do your run with prtvol 10, all the contributions to the stress tensor will be output to the log file (not the main output file, just the log file).

Hope this helps--
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com

vojtech.vlcek
Posts: 5
Joined: Fri Mar 16, 2012 11:48 am

Re: Pressure and stress tensor

Post by vojtech.vlcek » Tue Jul 10, 2012 4:04 pm

Thanks a lot! It seems to be exactly what I was looking for.

Vojtech

Locked