Confused about ENCUT convergence test

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Locked
Message
Author
yujia_teng
Newbie
Newbie
Posts: 49
Joined: Thu May 25, 2023 6:24 pm

Confused about ENCUT convergence test

#1 Post by yujia_teng » Wed Oct 22, 2025 9:47 pm

I got confused about choice of ENCUT. On wiki I think it says ENCUT slightly larger than ENMAX is enough, except relaxation with cell shape/volume change. Also in the paper I'm referring to, they used the ENCUT following this rule. But convergence test with ENCUT is done also. So for all the online non-vasp-official tutorial about ENCUT and k-points convergence test I've seen, they are all about converging w.r.t total energy. But it's pointed out that it's not necessary and energy difference should be used The end of the thread and cut_off. I'm not sure which one is best to be used.

So I did the test with E-a method, which takes lots of time due to huge amount of jobs. I also plotted the dipole moment v.s. ENCUT, which is the quantity of interest. The result is attached in figure below (y axis value is the value relative to lowest ENCUT value).

And I have some observations/questions according to the test:
1. For ZrTe2 heterostructure, the convergence is clear from both energy plots. Looks like it's 400 eV from total energy and 250 eV from energy difference. The dipole moment is not clear, it oscillates a lot but varies about 1% of initial value.
2. The energy trend in graphene heterostructure is weird, first increase and then decrease, I think it's because the starting ENCUT is just ENMAX? And from energy, seems that graphene case doesn't converge until 800 eV, which is pretty high. Dipole moment change is also too small and can be viewed unchanged with ENCUT.

So from for ZrTe2, it should be clear, with slightly larger than ENMAX matches energy diff test. But I'm not sure in graphene case.

You do not have the required permissions to view the files attached to this post.

michael_wolloch
Global Moderator
Global Moderator
Posts: 209
Joined: Tue Oct 17, 2023 10:17 am

Re: Confused about ENCUT convergence test

#2 Post by michael_wolloch » Thu Oct 23, 2025 12:07 pm

Dear Yujia Teng,

Thanks for taking the time to make these plots. Just for the benefit of other readers, the plots are for an InSe layer intercalated between layers of graphene and ZrTe2, not for a single graphene sheet or bulk ZrTe2.

I think there are a few critical points to consider from the get-go.

  • What do you consider as converged? You will have to define a tolerance threshold for the quantity of interest before you start your calculations. E.g., you want to converge your lattice parameter within +- 1% or to within +-0.05 Angstroms. And you might want to consider convergence reached only if N datapoints in a row fall within the predefined threshold.

  • You need to be aware of other factors that can change your results. E.g., the choice of functional (PBE vs. PBEsol, for example) might have a larger effect on the lattice parameter than running with ENCUT=ENMAX, or ENCUT=2 ENMAX. Of course, your results need to be converged with respect to all computational parameters, but there are other sources of errors as well, and just turning up a parameter to change the result by 0.5% is wasteful if another error is in the range of 5%.

  • You need to start your convergence studies with somewhat lower energies to better grasp the behaviour. For ENCUT, I would recommend starting at EMIN rather than ENMAX and then increasing the cutoff by 25 or 50 eV in each step.

  • The total energy of a system is an arbitrary number in DFT. Only energy differences (e.g., the energy difference between two phases, the energy of formation, or a surface energy) are meaningful.

  • Converging just one parameter (like the plane-wave cutoff energy) is usually not enough. Convergence behaviour might look different at a different KPOINTS mesh. It is cumbersome to converge all relevant parameters for a given problem, and they can be interdependent. But it is necessary to get trustworthy results.

Now to your concrete questions:

1. For the ZrTe2 heterostructure, the convergence is clear from both energy plots. Looks like it's 400 eV from total energy and 250 eV from energy difference. The dipole moment is not clear; it oscillates a lot but varies by about 1% of the initial value.

I would argue against your point for the total energy plots. Convergence is not clear, and the energy is also not normalized with respect to system size. You should plot the energy in e.g., meV/atom. As for the lattice parameters of the graphene system, the changes are very small, both in absolute value and as a percentage of the lattice constant. For the dipole moment of both systems: They are 0. You are mainly plotting noise.

2. The energy trend in graphene heterostructure is weird, first increase and then decrease, I think it's because the starting ENCUT is just ENMAX? And from energy, seems that graphene case doesn't converge until 800 eV, which is pretty high. Dipole moment change is also too small and can be viewed unchanged with ENCUT.

Here, I have to agree that it is a bit strange for the total energy plot. The total energy is a variational quantity with respect to the plane-wave energy cutoff. The energy should decrease with increasing number of plane waves, and the converged solution should be approached from above. Maybe the situation would change if the k-point density is increased? I already commented on the dipole moments above.

So I did the test with E-a method, which takes lots of time due to huge amount of jobs.

Note that it is better to converge with respect to the quantity you want to calculate (e.g., interlayer distance in case of a slab) than to do the Equation of state fits. This is just a common approach to illustrate the advantage of converging with respect to energy differences.

I hope this helps to clear up your confusion. Please let me know if there are still things that are unclear.
Cheers, Michael


yujia_teng
Newbie
Newbie
Posts: 49
Joined: Thu May 25, 2023 6:24 pm

Re: Confused about ENCUT convergence test

#3 Post by yujia_teng » Sat Oct 25, 2025 7:43 pm

Dear Michael,
Thanks very much for the detailed explanation. It clears up my confusion and fixes my misunderstandings, especially the wrong idea about converging w.r.t total energy found in many online tutorial. I still need to think carefully which quantity should I use to do convergence test of my system.

Best,
Yujia


michael_wolloch
Global Moderator
Global Moderator
Posts: 209
Joined: Tue Oct 17, 2023 10:17 am

Re: Confused about ENCUT convergence test

#4 Post by michael_wolloch » Mon Oct 27, 2025 8:34 am

Dear Yujia,

I am glad that I could help. I will lock the topic now. But I thought it might be beneficial for you to know that the wiki entry on energy cutoff and FFT meshes has just been updated. It will help to understand the interaction of those two things better.

Cheers, Michael


Locked