Extracting dielectric properties data from GW and BSE calculations

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Locked
Message
Author
nicholas_dimakis1
Newbie
Newbie
Posts: 21
Joined: Tue Sep 15, 2020 3:36 pm

Extracting dielectric properties data from GW and BSE calculations

#1 Post by nicholas_dimakis1 » Sat Jun 18, 2022 11:05 pm

Hello

I run the calculations shown at https://www.vasp.at/wiki/index.php/Diel ... _using_BSE. The input and output files are included. All calculations run successfully. However, I cannot extract the dielectric function information from the vasprun.xml files. The script extract_chi.sh

awk 'BEGIN{i=0} /HEAD OF MICRO/,\
/\/real/ \
{if ($1=="<r>") {a=$2 ; b=$3 ; c=$4 ; d=$5 ; i=i+1}} \
END{for (j=0;j<i/2;j++) print a[j],b[j],b[j+i/2]}' vasprun.xml > chi0.dat

awk 'BEGIN{i=0} /INVERSE MACRO/,\
/\/real/ \
{if ($1=="<r>") {a=$2 ; b=$3 ; c=$4 ; d=$5 ; i=i+1}} \
END{for (j=0;j<i/2;j++) print a[j],b[j],b[j+i/2]}' vasprun.xml > chi.dat

does not produce any files.

Thank you-Nick
You do not have the required permissions to view the files attached to this post.

martin.schlipf
Global Moderator
Global Moderator
Posts: 542
Joined: Fri Nov 08, 2019 7:18 am

Re: Extracting dielectric properties data from GW and BSE calculations

#2 Post by martin.schlipf » Mon Jun 20, 2022 5:55 am

This data is found in the GW output. If you apply the same commands to the vasprun.GW0.xml files, you will get the output.

Martin Schlipf
VASP developer


Locked