Differences in convergence behaviour of ionic relaxation. How to get better force convergence?
Posted: Mon Dec 04, 2023 8:54 pm
Hi,
This is my first forum post so please let me know if I need to provide more information on my system to ensure that the question is up to community standards.
I am investigating hydrogenated amorphous carbon systems where I have prepared POSCAR files via a liquid quench technique. Each system has 128 total atoms composed of Carbon and Hydrogen, ranging from 0 to 64 Hydrogen atoms (0 to 50 at%). My end goal is to simply obtain the Bulk Modulii of the systems after a ionic relaxation (isif=3) using the method of energy vs volume Equation of State fitting and isif=4 with 20 ionic steps. I am using version 5.4.4. I have done convergence testing with pure amorphous carbon systems and have determined the appropriate settings for INCAR:
---------
#electronic minimzation
ISTART=0
ICHARG=2
PREC=Accurate
ENCUT=520
EDIFF=1E-8
EDIFFG=-0.02
NBANDS=322 #this keeps NBANDS constant when hydrogen is added into the system and is based on pure carbon system value
LREAL=Auto
LPLANE=.TRUE.
NCORE=16
LSCALU=.FALSE.
NSIM=4
LCHARG=.FALSE.
LWAVE=.FALSE.
#ionic minimization
NSW=999
IBRION=2
ISIF=3
#functional
GGA=PE
ISMEAR=0
SIGMA=0
---------
KPOINTS convergence testing showed 3x3x3 mesh is sufficient for pure carbon system.
For most pure carbon systems, I obtain convergence in easily under 300 ionic steps and the behaviour of the force convergence is always steadily 'getting better' meaning I see more particles having normed forces less than EDIFFG setting until converged (all have normed force below EDIFFG) (see fig 1).
I realize I shouldn't expect the same behaviour for completely different systems (adding in hydrogen), but I have found that most systems do not show the same behaviour of force convergence and instead 'struggle' to find the optimal adjustments necessary to reach the force convergence criterion. More specifically you can see in fig 3 (pure carbon) and fig 5 (hydrogen added) that the number of particles that are not converged increases back up to the maximum value (128), indicating an issue that the system cannot find the optimal arrangement. Runs in this fashion either stop due to exceeding NSW of 999 or take too long to converge and are terminated due to timing on a cluster.
I am not versed well enough in DFT yet to know if this is an byproduct of an algorithm (IBRION, IALGO settings), the functional (PBE), both, or neither.
My question follows from looking at the difference in behaviour of the convergence of some systems with respect to the force criteria. The ideal behaviour is that the system persists to lower the forces on each particle and eventually reaches the convergence criterion slowly but steadily. Why is it that in some of my systems (fig 5), it shows the system 'reverting' to a state where the forces become larger (worse)? Is this because it is still able to decrease the system energy? Is there a INCAR tag or any setting that I could implement to hopefully see better force convergence?
Thanks
This is my first forum post so please let me know if I need to provide more information on my system to ensure that the question is up to community standards.
I am investigating hydrogenated amorphous carbon systems where I have prepared POSCAR files via a liquid quench technique. Each system has 128 total atoms composed of Carbon and Hydrogen, ranging from 0 to 64 Hydrogen atoms (0 to 50 at%). My end goal is to simply obtain the Bulk Modulii of the systems after a ionic relaxation (isif=3) using the method of energy vs volume Equation of State fitting and isif=4 with 20 ionic steps. I am using version 5.4.4. I have done convergence testing with pure amorphous carbon systems and have determined the appropriate settings for INCAR:
---------
#electronic minimzation
ISTART=0
ICHARG=2
PREC=Accurate
ENCUT=520
EDIFF=1E-8
EDIFFG=-0.02
NBANDS=322 #this keeps NBANDS constant when hydrogen is added into the system and is based on pure carbon system value
LREAL=Auto
LPLANE=.TRUE.
NCORE=16
LSCALU=.FALSE.
NSIM=4
LCHARG=.FALSE.
LWAVE=.FALSE.
#ionic minimization
NSW=999
IBRION=2
ISIF=3
#functional
GGA=PE
ISMEAR=0
SIGMA=0
---------
KPOINTS convergence testing showed 3x3x3 mesh is sufficient for pure carbon system.
For most pure carbon systems, I obtain convergence in easily under 300 ionic steps and the behaviour of the force convergence is always steadily 'getting better' meaning I see more particles having normed forces less than EDIFFG setting until converged (all have normed force below EDIFFG) (see fig 1).
I realize I shouldn't expect the same behaviour for completely different systems (adding in hydrogen), but I have found that most systems do not show the same behaviour of force convergence and instead 'struggle' to find the optimal adjustments necessary to reach the force convergence criterion. More specifically you can see in fig 3 (pure carbon) and fig 5 (hydrogen added) that the number of particles that are not converged increases back up to the maximum value (128), indicating an issue that the system cannot find the optimal arrangement. Runs in this fashion either stop due to exceeding NSW of 999 or take too long to converge and are terminated due to timing on a cluster.
I am not versed well enough in DFT yet to know if this is an byproduct of an algorithm (IBRION, IALGO settings), the functional (PBE), both, or neither.
My question follows from looking at the difference in behaviour of the convergence of some systems with respect to the force criteria. The ideal behaviour is that the system persists to lower the forces on each particle and eventually reaches the convergence criterion slowly but steadily. Why is it that in some of my systems (fig 5), it shows the system 'reverting' to a state where the forces become larger (worse)? Is this because it is still able to decrease the system energy? Is there a INCAR tag or any setting that I could implement to hopefully see better force convergence?
Thanks