increasing force and stress after optimization

Total energy, geometry optimization, DFT+U, spin....

Moderator: bguster

Locked
shima123
Posts: 5
Joined: Tue Jun 11, 2019 12:25 pm

increasing force and stress after optimization

Post by shima123 » Tue Jun 11, 2019 12:51 pm

Hi,
I use abinit 8.2.3. Now I am running some calculations for optimizing my crystal using these parameters:
nspinor 2
optcell 2
ionmov 2
ntime 1000
dilatmx 1.15
ecutsm 0.5
tolmxf 5.0d-8
nstep 1000
diemac 12.0
toldfe 1.0d-22
and xred, etc

When I looked at output file, force is converged as I had requested. Also the order of stress is -11 (in hartree/bohr^3 ).

Then I used these optimized parameters to run a scf cycle:
acell, angdeg, xred from the end of output.
Also, I use these items for scf cycles:
nstep 1000
diemac 12.0
toldfe 1.0d-22

After, running scf, I see that the force and stress have increased! The order of force and stress are -6 in hartree/bohr and -5 in hartree/bohr^3, respectively.

I'd appreciate if you could guide me what to do to solve this problem.
I should mention that my structure is Rhomohedral and I am using optimized value for kpoint grid and ecut, i.e. 8*8*8 and 16 Ha, respectively.

Thank you so much!

Regards,
Shima
Last edited by shima123 on Tue Jun 11, 2019 1:23 pm, edited 2 times in total.

ebousquet
Posts: 469
Joined: Tue Apr 19, 2011 11:13 am
Location: University of Liege, Belgium

Re: increasing force and stress after optimization

Post by ebousquet » Mon Jun 17, 2019 10:34 am

Dear Shima,
This is because when you do a relaxation, there are smearing on the number of plane waves (see description of ecutsm and dilatmx).
Your dilatmx is quite large, I would command to re run a relaxation (from your previous relaxed structure) but with a reduced dilatmx to 1.02/1.01 or so.
Then when you do a single point calculation you have to keep ecutsm to preserve the same number of plane wave and if it is too troublesome (mostly for the stresses that are very sensitive) you might have to keep the same fft grid (ngfft).
Best wishes,
Eric

PS: 16 Ha sounds at the lower limit, be careful that you are well converged with ecut.

shima123
Posts: 5
Joined: Tue Jun 11, 2019 12:25 pm

Re: increasing force and stress after optimization

Post by shima123 » Fri Jun 21, 2019 12:05 pm

ebousquet wrote:Dear Shima,
This is because when you do a relaxation, there are smearing on the number of plane waves (see description of ecutsm and dilatmx).
Your dilatmx is quite large, I would command to re run a relaxation (from your previous relaxed structure) but with a reduced dilatmx to 1.02/1.01 or so.
Then when you do a single point calculation you have to keep ecutsm to preserve the same number of plane wave and if it is too troublesome (mostly for the stresses that are very sensitive) you might have to keep the same fft grid (ngfft).
Best wishes,
Eric

PS: 16 Ha sounds at the lower limit, be careful that you are well converged with ecut.



Hi Eric,
I tested the smaller amount for dilatmx and it works. That was perfect. Thank you about that.
Just I was checking abinit variables for ecutsm to see if there is a possibility to set that to zero. It was written that it is dangerous!!
I'd appreciate if you could tell me what is the reason.
I found out that the smallest possible value is 1.0d-8Ha. Then, isn't it possible to set zero?
And what is your suggested amount for that? I would not like to keep ecutsm after optimization process. Actually, I prefer to do my calculation at a fixed cutoff.

Thank you very much in advanced!

Best,
Shima

ebousquet
Posts: 469
Joined: Tue Apr 19, 2011 11:13 am
Location: University of Liege, Belgium

Re: increasing force and stress after optimization

Post by ebousquet » Fri Jun 28, 2019 6:43 pm

Dear Shima,
I would recommand you to use ecutsm=0.5 and keep it in all your future input when doing relaxation of the cell.
ecutsm is compulsory when doing structural relaxation to smooth the discontinuities in the energy that can appear due a change of reciprocal space shape and volume.
Best wishes,
Eric

Locked