Hello, I also try to calculate the elctronic workfunction with the plane average potential for pure Aluminium, using the LOCPOT file from VASP. The value given when taking the plane average effective potential of the vacuum minus E-f (given in the OUTCAR) is 2.2 eV, which is very bad. When I open the same LOCPOT with another software, vesta and I do the same, I obtain 3.98 eV, a value in good fit with experiment. There is something not clear.
Other LOCPOT files with other interfaces give me sometimes correct and sometimes uncorrect values. Does anyone has an explanation? Thank you in advance! Dominique