Energy change during optimization

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
hfruchtl
Newbie
Newbie
Posts: 10
Joined: Fri Jul 13, 2007 9:59 am

Energy change during optimization

#1 Post by hfruchtl » Wed Jan 30, 2008 11:18 am

Probably a stupid question from a beginner... I am trying to optimize the geometry of GaAs with a cubic unit cell. I tried different algorithms, optimizing all positions or just the cell volume, and I always get roughly the same final energy, so I assume the result is correct. But if I grep the output for TOTEN, then the final value is not the lowest one. Is this not the value that's minimized?

Thanks in advance,

Herbert
Last edited by hfruchtl on Wed Jan 30, 2008 11:18 am, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

Energy change during optimization

#2 Post by admin » Wed Jan 30, 2008 1:58 pm

it depends on how EDIFFG is set: if >0, the total energy is minimized (please rather look at the 'energy without entropy' term or the sigma--> 0 term than for TOTEN). Please, in any case take care that the convergence criterium for electronic convergence (EDIFF) has to be at least one order of magnitude more accurate than EDIFFG.
if EDIFFG<0 the forces (and stress tensors) are minimized.
Actually, if you are in the equilibrium, both, the forces and the total energy should be at their minimum.
please also take care of the following
-- is each ionic step really converged electronically before the forces are calculated or did the electronic convergence procedure stop after the default number of el. steps (60)
-- if you do automatic geometry optimization (ISIF), please mind that you have to use high accuracy to get reliable results (PREC=accurate, ENCUT = at least 1.3*max(ENMAX) of the POTCARs you use
-- please also check for k-point convergence before you optimize the geometry.
Last edited by admin on Wed Jan 30, 2008 1:58 pm, edited 1 time in total.

Post Reply