raul_l wrote:For a converged calculation, they should be the same. Otherwise, it depends on the input file. How much do they differ in your case? Under Gap info, you can see the coordinates of the k-points that Abinit is considering as band extrema:
Code: Select all
Top of valence bands at :
Bottom of conduction at :
If these coincide with the true band extrema of your system, then the reported fundamental gap should be correct. Otherwise, you might need to increase or shift your k-mesh. Alternatively, you can extract the band gap from the calculated band structure if the k-path passes the correct band extrema. If you wish, we can investigate your input file to find the source of discrepancy.
Dear Sir
As per your comment, I am attaching the input file that I used for calculating the band structure of a 2by2 graphene supercell with two boron heteroatoms:
acell 9.7633499650E+00 9.7633499650E+00 1.8897160000E+01 Bohr
rprim 0.86602540378 -0.5 0.0
0.86602540378 0.5 0.0
0.0 0.0 1.0
chkprim 0
ntypat 2
znucl 5 6
natom 8
typat 2 1 2 2 2 2 1 2
xred 1.5818669120E-01 1.5818669120E-01 7.3814456430E-37
3.3333333333E-01 3.3333333333E-01 7.3814456430E-37
1.5818669120E-01 6.8362661760E-01 7.3814456430E-37
3.1637338240E-01 8.4181330880E-01 7.3814456430E-37
6.8362661760E-01 1.5818669120E-01 7.3814456430E-37
8.4181330880E-01 3.1637338240E-01 7.3814456430E-37
6.6666666667E-01 6.6666666667E-01 7.3814456430E-37
8.4181330880E-01 8.4181330880E-01 -5.1670119501E-36
ecut 15
nstep 60
ndtset 2
kptopt1 1
nshiftk1 1
shiftk1 0.0 0.0 0.0
ngkpt1 6 6 1
prtden1 1
toldff1 5.0d-6
iscf2 -2
getden2 -1
kptopt2 -3
nband2 40
ndivk2 20 20 20
kptbounds2 0.0 0.0 0.0
1/3 2/3 0.0
1/2 1/2 0.0
0.0 0.0 0.0
tolwfr2 1.0d-12
enunit2 1
The relaxed acell and xred values are used in the input file. The band structure obtained is attached along with this. From the plot attached, what I understand is that bandgap is zero, at the point B in the band structure (K-point of the Briolluin zone) . The "Gap info" in the log file is as follows:
=== Gap info ===
>>>> For spin 1
Minimum optical gap = 1.5544 [eV], located at k-point : 0.1667 0.0000 0.0000
Fundamental gap = 0.6696 [eV], Top of valence bands at : 0.0000 0.0000 0.0000
Bottom of conduction at : 0.5000 0.0000 0.0000
In the gap information, they have selected the top of valence band at 0, 0, 0 and bottom of conduction band at 0.5, 0, 0 and thus calculated the band gap. I would like to know out of this which one is correct. I would like to know whether my understanding is wrong.
I am experiencing the same problem for other simulations too, so it would be of great help if you could correct me.
I would greatly appreciate if you could help me to analyse the band gap from the band structure plot attached.
Hope to hear from you favourably,
Thanks and Regards
Seba