Queries about input and output files, running specific calculations, etc.
Moderators: Global Moderator, Moderator
-
yujia_teng
- Newbie

- Posts: 49
- Joined: Thu May 25, 2023 6:24 pm
#1
Post
by yujia_teng » Thu Sep 04, 2025 7:33 pm
The potential profile from LVHAR = .True. has a slope in vacuum even with dipole correction for a slab. I'm studying different kinds of heterostructures, and only this one has this problem. I've never encountered this problem before and couldn't figure out where I did wrong here. All settings are consistent with my previous calculations.
All input files and some output files are attached.
You do not have the required permissions to view the files attached to this post.
-
manuel_engel1
- Global Moderator

- Posts: 269
- Joined: Mon May 08, 2023 4:08 pm
#2
Post
by manuel_engel1 » Fri Sep 05, 2025 9:21 am
Hello,
Thanks for posting on the VASP forum. From what I can see, there doesn't seem to be an obvious error in the input files. However, there are two things I would suggest to see if they make the difference:
Increase ENCUT. The default in this case is very low and your 300 eV is just barely above the it. This will make the calculation more expensive but it's good to check if it is converged.
Increase the vacuum size. Compared to the vacuum, your slab is pretty wide. It's possible that there is still some spurious interaction happening in the vacuum layer.
Let me know what you find.
Manuel Engel
VASP developer
-
yujia_teng
- Newbie

- Posts: 49
- Joined: Thu May 25, 2023 6:24 pm
#3
Post
by yujia_teng » Fri Sep 05, 2025 2:19 pm
Dear manuel,
Thanks very much for you suggestions. Both increasing ENCUT from 300 to 400 eV and vacuum region from 20 to 25 Å works.
Since usually 20Å vacuum region is enough, and here ENCUT is relatively small, which is just slightly larger than ENMAX, so I think increasing ENCUT is better here.
Last edited by
yujia_teng on Fri Sep 05, 2025 2:20 pm, edited 1 time in total.