<div dir="ltr"><div>Dear all,<br><br></div>I am trying to obtain the "Schottky barrier heights" (or their equivalent) of metal-metal interfaces using the potential line up method. From my knowledge, the "Schottky barrier" should be nearly 0 eV for all metals. However, so far I am obtaining values higher than 0.2 eV. In other cases, the calculation fails to converge even if electron_maxtep = 200. Here is the input file for an Al-Ag interface superlattice with no vacuum in the superlattice. This input fails to converge in the first scf cycle even after electron_maxstep= 200. Most of the input that I have tried is similar to this one. What am I doing wrong ? I would appreciate any feedback. <br><br><br>&CONTROL<br>calculation = 'vc-relax'<br>restart_mode = 'from_scratch'<br>tstress = .true.<br>tprnfor = .true.<br>outdir = '/home/files/metal-metal'<br>pseudo_dir = '/home/espresso-5.4.0/pseudo'<br>prefix = '001_6x6_Al-Ag'<br>nstep = 100<br>/<br>&SYSTEM<br>ibrav = 6<br>a = 4.04<br>c = 48.36<br>ecutwfc = 40<br>ecutrho = 400<br>degauss = 0.03<br>ntyp = 2<br>nat = 48<br>nbnd = 230<br>/<br>&ELECTRONS<br>electron_maxstep = 200<br>mixing_mode = 'local-TF'<br>diagonalization = 'david'<br>conv_thr = 1.D-7<br>mixing_beta = 0.2<br>/<br>&IONS<br>/<br>&CELL<br>/<br>ATOMIC_SPECIES<br>Al  27   Al.pbe-n-rrkjus_psl.0.1.UPF<br>Ag  108  Ag.pbe-dn-rrkjus_psl.0.1.UPF<br>ATOMIC_POSITIONS {angstrom}<br>Al    0.000000    0.000000    0.000000<br>Al    0.000000    2.020000    2.020000<br>Al    2.020000    0.000000    2.020000<br>Al    2.020000    2.020000    0.000000<br>Al    0.000000    0.000000    4.040000<br>Al    0.000000    2.020000    6.060000<br>Al    2.020000    0.000000    6.060000<br>Al    2.020000    2.020000    4.040000<br>Al    0.000000    0.000000    8.080000<br>Al    0.000000    2.020000   10.100000<br>Al    2.020000    0.000000   10.100000<br>Al    2.020000    2.020000    8.080000<br>Al    0.000000    0.000000   12.120000<br>Al    0.000000    2.020000   14.139999<br>Al    2.020000    0.000000   14.139999<br>Al    2.020000    2.020000   12.120000<br>Al    0.000000    0.000000   16.160000<br>Al    0.000000    2.020000   18.180000<br>Al    2.020000    0.000000   18.180000<br>Al    2.020000    2.020000   16.160000<br>Al    0.000000    0.000000   20.200001<br>Al    0.000000    2.020000   22.220001<br>Al    2.020000    0.000000   22.220001<br>Al    2.020000    2.020000   20.200001<br>Ag    0.000000    0.000000   24.480000<br>Ag    0.000000    2.040000   26.520000<br>Ag    2.040000    0.000000   26.520000<br>Ag    2.040000    2.040000   24.480000<br>Ag    0.000000    0.000000   28.559999<br>Ag    0.000000    2.040000   30.599998<br>Ag    2.040000    0.000000   30.599998<br>Ag    2.040000    2.040000   28.559999<br>Ag    0.000000    0.000000   32.639999<br>Ag    0.000000    2.040000   34.680000<br>Ag    2.040000    0.000000   34.680000<br>Ag    2.040000    2.040000   32.639999<br>Ag    0.000000    0.000000   36.720001<br>Ag    0.000000    2.040000   38.760002<br>Ag    2.040000    0.000000   38.760002<br>Ag    2.040000    2.040000   36.720001<br>Ag    0.000000    0.000000   40.799999<br>Ag    0.000000    2.040000   42.840000<br>Ag    2.040000    0.000000   42.840000<br>Ag    2.040000    2.040000   40.799999<br>Ag    0.000000    0.000000   44.879997<br>Ag    0.000000    2.040000   46.919998<br>Ag    2.040000    0.000000   46.919998<br>Ag    2.040000    2.040000   44.879997<br>K_POINTS {automatic}<br>8 8 2 0 0 0<br><br></div>