Energy range in band structure plotted with wannier

Question on input files/tags, interpreting output, etc.

Please check whether the answer to your question is given in the VASP online manual or has been discussed in this forum previously!

Moderators: Global Moderator, Moderator

Locked
Message
Author
wwlphys
Newbie
Newbie
Posts: 11
Joined: Wed Nov 13, 2019 12:54 am

Energy range in band structure plotted with wannier

#1 Post by wwlphys » Mon Aug 29, 2022 10:32 am

Hi, I am trying to plot band structure with wannier. The figure (attached "bs.png") shows the energies below the Fermi level (6.25 eV) only. How can I show those states in higher energy?

The calculation consists of four steps:
First step:

INCAR
ISMEAR = 0
SIGMA = 0.05
NCORE = 4
LOPTICS = .TRUE.
MAXMEM = 7848
LWAVE = .TRUE.
NBANDS = 126
Second step:

INCAR
ISMEAR = 0
SIGMA = 0.05
ALGO = NONE
NELM = 1
MAXMEM = 7848
NBANDS = 168
LWAVE = .FALSE.
LCHARG = .FALSE.
#LWANNIER90_RUN = .TRUE.
LWANNIER90=.TRUE.
LWANNIER90_AUTO_WINDOW=.TRUE.
LWANNIER90_WIN="
# disentanglement
dis_num_iter = 500
dis_conv_tol = 1e-8
#iterations
num_iter = 500
num_print_cycles = 50
conv_tol = 1e-4
"
LSCDM=.TRUE.
LWRITE_MMN_AMN=.FALSE.

Third step:

INCAR
ISMEAR = 0
SIGMA = 0.05
ALGO = NONE
NELM = 1
MAXMEM = 7848
NBANDS = 168
LWAVE = .FALSE.
LCHARG = .FALSE.
LWANNIER90_RUN = .TRUE.
LWANNIER90_AUTO_WINDOW=.TRUE.
LWANNIER90_WIN="
# disentanglement
dis_num_iter = 500
dis_conv_tol = 1e-8
#iterations
num_iter = 500
num_print_cycles = 50
conv_tol = 1e-4
"
LSCDM=.TRUE.
LWRITE_MMN_AMN=.FALSE.

wannier90.win
bands_plot = true

begin kpoint_path
R 0.50000000 0.50000000 0.50000000 G 0.00000000 0.00000000 0.00000000
G 0.00000000 0.00000000 0.00000000 X 0.50000000 0.00000000 0.00000000
X 0.50000000 0.00000000 0.00000000 M 0.50000000 0.50000000 0.00000000
M 0.50000000 0.50000000 0.00000000 G 0.00000000 0.00000000 0.00000000
end kpoint_path

# This part was generated automatically by VASP
num_bands = 168
num_wann = 34
dis_froz_max = 4.4032742
begin unit_cell_cart
4.7212242 0.0000000 0.0000000
0.0000000 4.7212242 0.0000000
0.0000000 0.0000000 3.2081362
end unit_cell_cart
begin atoms_cart
Sn 0.0000000 0.0000000 0.0000000
Sn 2.3606121 2.3606121 1.6040681
O 1.4432727 1.4432727 0.0000000
O 3.2779513 3.2779513 0.0000000
O 0.9173393 3.8038850 1.6040681
O 3.8038850 0.9173393 1.6040681
end atoms_cart
mp_grid = 6 6 8
begin kpoints
0.000000000000 0.000000000000 0.000000000000
0.166666666667 0.000000000000 0.000000000000
0.333333333333 0.000000000000 0.000000000000
0.500000000000 0.000000000000 0.000000000000
0.166666666667 0.166666666667 0.000000000000
0.333333333333 0.166666666667 0.000000000000
0.500000000000 0.166666666667 0.000000000000
0.333333333333 0.333333333333 0.000000000000
0.500000000000 0.333333333333 0.000000000000
0.500000000000 0.500000000000 0.000000000000
0.000000000000 0.000000000000 0.125000000000
0.166666666667 0.000000000000 0.125000000000
0.333333333333 0.000000000000 0.125000000000
0.500000000000 0.000000000000 0.125000000000
0.166666666667 0.166666666667 0.125000000000
0.333333333333 0.166666666667 0.125000000000
0.500000000000 0.166666666667 0.125000000000
0.333333333333 0.333333333333 0.125000000000
0.500000000000 0.333333333333 0.125000000000
0.500000000000 0.500000000000 0.125000000000
0.000000000000 0.000000000000 0.250000000000
0.166666666667 0.000000000000 0.250000000000
0.333333333333 0.000000000000 0.250000000000
0.500000000000 0.000000000000 0.250000000000
0.166666666667 0.166666666667 0.250000000000
0.333333333333 0.166666666667 0.250000000000
0.500000000000 0.166666666667 0.250000000000
0.333333333333 0.333333333333 0.250000000000
0.500000000000 0.333333333333 0.250000000000
0.500000000000 0.500000000000 0.250000000000
0.000000000000 0.000000000000 0.375000000000
0.166666666667 0.000000000000 0.375000000000
0.333333333333 0.000000000000 0.375000000000
0.500000000000 0.000000000000 0.375000000000
0.166666666667 0.166666666667 0.375000000000
0.333333333333 0.166666666667 0.375000000000
0.500000000000 0.166666666667 0.375000000000
0.333333333333 0.333333333333 0.375000000000
0.500000000000 0.333333333333 0.375000000000
0.500000000000 0.500000000000 0.375000000000
0.000000000000 0.000000000000 0.500000000000
0.166666666667 0.000000000000 0.500000000000
0.333333333333 0.000000000000 0.500000000000
0.500000000000 0.000000000000 0.500000000000
0.166666666667 0.166666666667 0.500000000000
0.333333333333 0.166666666667 0.500000000000
0.500000000000 0.166666666667 0.500000000000
0.333333333333 0.333333333333 0.500000000000
0.500000000000 0.333333333333 0.500000000000
0.500000000000 0.500000000000 0.500000000000
-0.166666666667 0.000000000000 0.000000000000
0.000000000000 0.166666666667 0.000000000000
0.000000000000 -0.166666666667 0.000000000000
-0.333333333333 0.000000000000 0.000000000000
0.000000000000 0.333333333333 0.000000000000
0.000000000000 -0.333333333333 0.000000000000
0.000000000000 0.500000000000 0.000000000000
-0.166666666667 -0.166666666667 0.000000000000
-0.166666666667 0.166666666667 0.000000000000
0.166666666667 -0.166666666667 0.000000000000
-0.333333333333 -0.166666666667 0.000000000000
0.166666666667 0.333333333333 0.000000000000
-0.166666666667 -0.333333333333 0.000000000000
-0.166666666667 0.333333333333 0.000000000000
0.166666666667 -0.333333333333 0.000000000000
-0.333333333333 0.166666666667 0.000000000000
0.333333333333 -0.166666666667 0.000000000000
-0.500000000000 -0.166666666667 0.000000000000
0.166666666667 0.500000000000 0.000000000000
-0.166666666667 -0.500000000000 0.000000000000
-0.333333333333 -0.333333333333 0.000000000000
-0.333333333333 0.333333333333 0.000000000000
0.333333333333 -0.333333333333 0.000000000000
-0.500000000000 -0.333333333333 0.000000000000
0.333333333333 0.500000000000 0.000000000000
-0.333333333333 -0.500000000000 0.000000000000
0.000000000000 0.000000000000 -0.125000000000
-0.166666666667 0.000000000000 -0.125000000000
-0.166666666667 0.000000000000 0.125000000000
0.166666666667 0.000000000000 -0.125000000000
0.000000000000 0.166666666667 -0.125000000000
0.000000000000 -0.166666666667 0.125000000000
0.000000000000 -0.166666666667 -0.125000000000
0.000000000000 0.166666666667 0.125000000000
-0.333333333333 0.000000000000 -0.125000000000
-0.333333333333 0.000000000000 0.125000000000
0.333333333333 0.000000000000 -0.125000000000
0.000000000000 0.333333333333 -0.125000000000
0.000000000000 -0.333333333333 0.125000000000
0.000000000000 -0.333333333333 -0.125000000000
0.000000000000 0.333333333333 0.125000000000
-0.500000000000 0.000000000000 -0.125000000000
0.000000000000 0.500000000000 -0.125000000000
0.000000000000 -0.500000000000 0.125000000000
-0.166666666667 -0.166666666667 -0.125000000000
-0.166666666667 -0.166666666667 0.125000000000
0.166666666667 0.166666666667 -0.125000000000
-0.166666666667 0.166666666667 0.125000000000
0.166666666667 -0.166666666667 -0.125000000000
0.166666666667 -0.166666666667 0.125000000000
-0.166666666667 0.166666666667 -0.125000000000
-0.333333333333 -0.166666666667 -0.125000000000
-0.333333333333 -0.166666666667 0.125000000000
0.333333333333 0.166666666667 -0.125000000000
0.166666666667 0.333333333333 -0.125000000000
-0.166666666667 -0.333333333333 0.125000000000
-0.166666666667 -0.333333333333 -0.125000000000
0.166666666667 0.333333333333 0.125000000000
-0.166666666667 0.333333333333 0.125000000000
0.166666666667 -0.333333333333 -0.125000000000
0.166666666667 -0.333333333333 0.125000000000
-0.166666666667 0.333333333333 -0.125000000000
-0.333333333333 0.166666666667 -0.125000000000
0.333333333333 -0.166666666667 0.125000000000
0.333333333333 -0.166666666667 -0.125000000000
-0.333333333333 0.166666666667 0.125000000000
-0.500000000000 -0.166666666667 -0.125000000000
-0.500000000000 -0.166666666667 0.125000000000
0.500000000000 0.166666666667 -0.125000000000
0.166666666667 0.500000000000 -0.125000000000
-0.166666666667 -0.500000000000 0.125000000000
-0.166666666667 -0.500000000000 -0.125000000000
0.166666666667 0.500000000000 0.125000000000
-0.333333333333 -0.333333333333 -0.125000000000
-0.333333333333 -0.333333333333 0.125000000000
0.333333333333 0.333333333333 -0.125000000000
-0.333333333333 0.333333333333 0.125000000000
0.333333333333 -0.333333333333 -0.125000000000
0.333333333333 -0.333333333333 0.125000000000
-0.333333333333 0.333333333333 -0.125000000000
-0.500000000000 -0.333333333333 -0.125000000000
-0.500000000000 -0.333333333333 0.125000000000
0.500000000000 0.333333333333 -0.125000000000
0.333333333333 0.500000000000 -0.125000000000
-0.333333333333 -0.500000000000 0.125000000000
-0.333333333333 -0.500000000000 -0.125000000000
0.333333333333 0.500000000000 0.125000000000
-0.500000000000 -0.500000000000 -0.125000000000
0.000000000000 0.000000000000 -0.250000000000
-0.166666666667 0.000000000000 -0.250000000000
-0.166666666667 0.000000000000 0.250000000000
0.166666666667 0.000000000000 -0.250000000000
0.000000000000 0.166666666667 -0.250000000000
0.000000000000 -0.166666666667 0.250000000000
0.000000000000 -0.166666666667 -0.250000000000
0.000000000000 0.166666666667 0.250000000000
-0.333333333333 0.000000000000 -0.250000000000
-0.333333333333 0.000000000000 0.250000000000
0.333333333333 0.000000000000 -0.250000000000
0.000000000000 0.333333333333 -0.250000000000
0.000000000000 -0.333333333333 0.250000000000
0.000000000000 -0.333333333333 -0.250000000000
0.000000000000 0.333333333333 0.250000000000
-0.500000000000 0.000000000000 -0.250000000000
0.000000000000 0.500000000000 -0.250000000000
0.000000000000 -0.500000000000 0.250000000000
-0.166666666667 -0.166666666667 -0.250000000000
-0.166666666667 -0.166666666667 0.250000000000
0.166666666667 0.166666666667 -0.250000000000
-0.166666666667 0.166666666667 0.250000000000
0.166666666667 -0.166666666667 -0.250000000000
0.166666666667 -0.166666666667 0.250000000000
-0.166666666667 0.166666666667 -0.250000000000
-0.333333333333 -0.166666666667 -0.250000000000
-0.333333333333 -0.166666666667 0.250000000000
0.333333333333 0.166666666667 -0.250000000000
0.166666666667 0.333333333333 -0.250000000000
-0.166666666667 -0.333333333333 0.250000000000
-0.166666666667 -0.333333333333 -0.250000000000
0.166666666667 0.333333333333 0.250000000000
-0.166666666667 0.333333333333 0.250000000000
0.166666666667 -0.333333333333 -0.250000000000
0.166666666667 -0.333333333333 0.250000000000
-0.166666666667 0.333333333333 -0.250000000000
-0.333333333333 0.166666666667 -0.250000000000
0.333333333333 -0.166666666667 0.250000000000
0.333333333333 -0.166666666667 -0.250000000000
-0.333333333333 0.166666666667 0.250000000000
-0.500000000000 -0.166666666667 -0.250000000000
-0.500000000000 -0.166666666667 0.250000000000
0.500000000000 0.166666666667 -0.250000000000
0.166666666667 0.500000000000 -0.250000000000
-0.166666666667 -0.500000000000 0.250000000000
-0.166666666667 -0.500000000000 -0.250000000000
0.166666666667 0.500000000000 0.250000000000
-0.333333333333 -0.333333333333 -0.250000000000
-0.333333333333 -0.333333333333 0.250000000000
0.333333333333 0.333333333333 -0.250000000000
-0.333333333333 0.333333333333 0.250000000000
0.333333333333 -0.333333333333 -0.250000000000
0.333333333333 -0.333333333333 0.250000000000
-0.333333333333 0.333333333333 -0.250000000000
-0.500000000000 -0.333333333333 -0.250000000000
-0.500000000000 -0.333333333333 0.250000000000
0.500000000000 0.333333333333 -0.250000000000
0.333333333333 0.500000000000 -0.250000000000
-0.333333333333 -0.500000000000 0.250000000000
-0.333333333333 -0.500000000000 -0.250000000000
0.333333333333 0.500000000000 0.250000000000
-0.500000000000 -0.500000000000 -0.250000000000
0.000000000000 0.000000000000 -0.375000000000
-0.166666666667 0.000000000000 -0.375000000000
-0.166666666667 0.000000000000 0.375000000000
0.166666666667 0.000000000000 -0.375000000000
0.000000000000 0.166666666667 -0.375000000000
0.000000000000 -0.166666666667 0.375000000000
0.000000000000 -0.166666666667 -0.375000000000
0.000000000000 0.166666666667 0.375000000000
-0.333333333333 0.000000000000 -0.375000000000
-0.333333333333 0.000000000000 0.375000000000
0.333333333333 0.000000000000 -0.375000000000
0.000000000000 0.333333333333 -0.375000000000
0.000000000000 -0.333333333333 0.375000000000
0.000000000000 -0.333333333333 -0.375000000000
0.000000000000 0.333333333333 0.375000000000
-0.500000000000 0.000000000000 -0.375000000000
0.000000000000 0.500000000000 -0.375000000000
0.000000000000 -0.500000000000 0.375000000000
-0.166666666667 -0.166666666667 -0.375000000000
-0.166666666667 -0.166666666667 0.375000000000
0.166666666667 0.166666666667 -0.375000000000
-0.166666666667 0.166666666667 0.375000000000
0.166666666667 -0.166666666667 -0.375000000000
0.166666666667 -0.166666666667 0.375000000000
-0.166666666667 0.166666666667 -0.375000000000
-0.333333333333 -0.166666666667 -0.375000000000
-0.333333333333 -0.166666666667 0.375000000000
0.333333333333 0.166666666667 -0.375000000000
0.166666666667 0.333333333333 -0.375000000000
-0.166666666667 -0.333333333333 0.375000000000
-0.166666666667 -0.333333333333 -0.375000000000
0.166666666667 0.333333333333 0.375000000000
-0.166666666667 0.333333333333 0.375000000000
0.166666666667 -0.333333333333 -0.375000000000
0.166666666667 -0.333333333333 0.375000000000
-0.166666666667 0.333333333333 -0.375000000000
-0.333333333333 0.166666666667 -0.375000000000
0.333333333333 -0.166666666667 0.375000000000
0.333333333333 -0.166666666667 -0.375000000000
-0.333333333333 0.166666666667 0.375000000000
-0.500000000000 -0.166666666667 -0.375000000000
-0.500000000000 -0.166666666667 0.375000000000
0.500000000000 0.166666666667 -0.375000000000
0.166666666667 0.500000000000 -0.375000000000
-0.166666666667 -0.500000000000 0.375000000000
-0.166666666667 -0.500000000000 -0.375000000000
0.166666666667 0.500000000000 0.375000000000
-0.333333333333 -0.333333333333 -0.375000000000
-0.333333333333 -0.333333333333 0.375000000000
0.333333333333 0.333333333333 -0.375000000000
-0.333333333333 0.333333333333 0.375000000000
0.333333333333 -0.333333333333 -0.375000000000
0.333333333333 -0.333333333333 0.375000000000
-0.333333333333 0.333333333333 -0.375000000000
-0.500000000000 -0.333333333333 -0.375000000000
-0.500000000000 -0.333333333333 0.375000000000
0.500000000000 0.333333333333 -0.375000000000
0.333333333333 0.500000000000 -0.375000000000
-0.333333333333 -0.500000000000 0.375000000000
-0.333333333333 -0.500000000000 -0.375000000000
0.333333333333 0.500000000000 0.375000000000
-0.500000000000 -0.500000000000 -0.375000000000
-0.166666666667 0.000000000000 -0.500000000000
0.000000000000 0.166666666667 -0.500000000000
0.000000000000 -0.166666666667 0.500000000000
-0.333333333333 0.000000000000 -0.500000000000
0.000000000000 0.333333333333 -0.500000000000
0.000000000000 -0.333333333333 0.500000000000
0.000000000000 0.500000000000 -0.500000000000
-0.166666666667 -0.166666666667 -0.500000000000
-0.166666666667 0.166666666667 0.500000000000
0.166666666667 -0.166666666667 -0.500000000000
-0.333333333333 -0.166666666667 -0.500000000000
0.166666666667 0.333333333333 -0.500000000000
-0.166666666667 -0.333333333333 0.500000000000
-0.166666666667 0.333333333333 0.500000000000
0.166666666667 -0.333333333333 -0.500000000000
-0.333333333333 0.166666666667 -0.500000000000
0.333333333333 -0.166666666667 0.500000000000
-0.500000000000 -0.166666666667 -0.500000000000
0.166666666667 0.500000000000 -0.500000000000
-0.166666666667 -0.500000000000 0.500000000000
-0.333333333333 -0.333333333333 -0.500000000000
-0.333333333333 0.333333333333 0.500000000000
0.333333333333 -0.333333333333 -0.500000000000
-0.500000000000 -0.333333333333 -0.500000000000
0.333333333333 0.500000000000 -0.500000000000
-0.333333333333 -0.500000000000 0.500000000000
end kpoints
Four step: gnuplot -persist wannier90_band.gnu

POSCAR, KPOINTS and POTCAR are attached.
You do not have the required permissions to view the files attached to this post.

merzuk.kaltak
Administrator
Administrator
Posts: 277
Joined: Mon Sep 24, 2018 9:39 am

Re: Energy range in band structure plotted with wannier

#2 Post by merzuk.kaltak » Fri Sep 02, 2022 2:37 pm

Dear wwlphys,

You should post your problems with Wannier90 at the official support website.
We usually don't give support with problems concerning a third party software.

However, I have recalculated the bands using vasp-6.3.2 and wannier90-3.1.0.
It seems that wannier90 produces following line in wannier90_band.gnu

Code: Select all

set yrange [********* :  6.66492]
After replacing this line with the following one

Code: Select all

set yrange [-16 :  6.66492]
I obtain the plot in the attachment
You do not have the required permissions to view the files attached to this post.

wwlphys
Newbie
Newbie
Posts: 11
Joined: Wed Nov 13, 2019 12:54 am

Re: Energy range in band structure plotted with wannier

#3 Post by wwlphys » Sat Sep 03, 2022 12:58 am

Dear Merzuk,
Thank you for your reply. Can you plot the bands above 6.25 eV (the Fermi level)?

merzuk.kaltak
Administrator
Administrator
Posts: 277
Joined: Mon Sep 24, 2018 9:39 am

Re: Energy range in band structure plotted with wannier

#4 Post by merzuk.kaltak » Tue Sep 06, 2022 1:29 pm

To plot states above the Fermi level, set NUM_WANN to a larger value than the default value (which is 34).
For instance, I have used following INCAR to produce the plot below

Code: Select all

ISMEAR = 0 
SIGMA = 0.05
ALGO = NONE
NELM = 1 
MAXMEM = 7848
NBANDS = 168 
LWAVE = .FALSE.
LCHARG = .FALSE.
LWANNIER90_RUN = .TRUE.

# plot more than 34 bands 
NUM_WANN = 48
LWANNIER90_AUTO_WINDOW=.TRUE.
WANNIER90_WIN="
bands_plot = true

begin kpoint_path
R 0.50000000 0.50000000 0.50000000 G 0.00000000 0.00000000 0.00000000
G 0.00000000 0.00000000 0.00000000 X 0.50000000 0.00000000 0.00000000
X 0.50000000 0.00000000 0.00000000 M 0.50000000 0.50000000 0.00000000
M 0.50000000 0.50000000 0.00000000 G 0.00000000 0.00000000 0.00000000
end kpoint_path

# disentanglement switched off
dis_num_iter = 0 
dis_conv_tol = 1e-8

#maximal localization also switched off
num_iter = 0 
num_print_cycles = 50
conv_tol = 1e-4
"
LSCDM=.TRUE.
LWRITE_MMN_AMN=.FALSE.
You do not have the required permissions to view the files attached to this post.

wwlphys
Newbie
Newbie
Posts: 11
Joined: Wed Nov 13, 2019 12:54 am

Re: Energy range in band structure plotted with wannier

#5 Post by wwlphys » Sun Sep 11, 2022 3:21 am

Dear Merzuk,
Thank you. It works.

Locked