Dear Soungmin,
we figured out the problem. I created a known issue: https://www.vasp.at/wiki/index.php/Known_issues :
EFIELD tag and symmetries: When applying an EFIELD the inversion symmetry along the EFIELD direction specified via IDIPOL is not removed if present and no dipole moment can form. Results of such calculations are wrong and manually removing symmetries via ISYM=0 is strongly advised.
So the problem is actually that the calculation that you successfully converged with the POSCAR-perfect is giving wrong results. This can be quickly verified by checking the reported dipolemoment in the OUTCAR file which is 0 . This is clearly wrong, since applying an electric field, even in a symmetric slab, should create a dipolemoment. What happens when you split your atomic species in two groups is that this breaks symmetry of the slab and the wrongly assumed inversion symmetry along the field direction is removed. I realized this when performing a calculation of the "perfect" POSCAR with ISYM=0. This gives the same results as POSCAR-02! Then I realized that ALGO=ALL incorrectly signaled convergence here, which led you to believe the calculation is okay.
I attach corrected input files that should be performed in the following order:
run folder 1. which uses now ALGO=Normal with adjusted mixing for best convergence. Copy the resulting WAVECAR file to folder 2-...
run folder 2. which now activates dipole corrections. Here the dipole moment is 0, since the slab is symmetric along axis b. Copy WAVECAR to folder 3-
run folder 3. which activates additionally the e field. This has now a dipole moment that converges slowly to 1.15... copy WAVECAR to folder 4
run folder 4. which is the same as 3 but holds the changes to the POSCAR (note that here is no ISYM=0 tag in the INCAR), this calculation should now converge quickly to the same result as folder 3
Here is the plotted locpot from these calculations:
locpot_fix.png
You can see a stark difference between POS0 (perfect) ISYM=2 and ISYM=0 results. ISYM=2 is the default and what you found. In contrast the potential is much weaker (but still tilted!) with ISYM=0. Now also POS0 and POS2 results lay on top of each other.
Let me know if this makes sense to you. We internally implementing a fix that automatically will remove the symmetry along the efield direction in the upcoming VASP version. Thank you again for bringing this to our attention!
Best,
Alex
You do not have the required permissions to view the files attached to this post.