[size=16]T/F Flags in Constrained Optimization: doubts[/size]
Posted: Mon Jun 16, 2008 5:18 pm
Dear List,
I am a newbie in VASP calculations, studying the chemisorption of CH4 on Ni(111) , where I used a 3 layer Nickel slab, 12 A vaccum, 2x2 unitcell, (8 8 1) auto. k points, PBE functional, etc. (please see POSCAR/INCAR) and conjugate-gradient algorithm for the minimization.
PROBLEM:
I found a problem with my constrained geometry optimization at PAW-DFT:
I used flags “F� OR “T� in the POSCAR file, to make the constraints on the x, y, z positions during the optimization; But it seems to be working properly ONLY to some atoms. In this case – all the nickel atoms are freezed, (as per the< F F F >, flags) and some other coordinates- for ex. Cz [< F > flag – which remains at 3.5 A, in all optimization steps], But all other coordinates of the CH4, which is attached by < F > flag is moving!
I changed several parameters EXCEPT ibrion, which I kept to < 2 > always, shows the same tendency – it relaxes the coordinate with < F > flag !!.
Does anyone have some idea about this behavior? Did someone experience with this?
Or if possible, How can I do a constrained optimization in a safe way in VASP ?
DETAILS OF THE FILES:
INCAR:
--------------------------------------------------------------
SYSTEM = NI-CH4
ISTART = 0
ISIF=2
IBRION=2
EDIFF = 1E-3
EDIFFG = -1E-2
POTIM = 0.01
NSW=40
GGA=91
VOSKOWN=1
ISPIN=1
LREAL=A
PREC= Accurate
Electronic minimisation
ENCUT =400 eV
DOS related values
ISMEAR = -5;
POSCAR
--------------------------------------------------------------
Ni-CH4
1.0000
4.36130393 -2.518 0.0
4.36130393 2.518 0.0
0.0 0.0 16.0540126
12 1 4
Selective dynamics
Cartesian
.00000000 .00000000 -.02858610 F F F
2.18065197 1.25900000 -.02858610 F F F
2.18065197 -1.25900000 -.02858610 F F F
4.36130393 .00000000 -.02858610 F F F
1.45376813 .0000000 -2.05580070 F F F
3.63442009 1.2590000 -2.05580070 F F F
3.63442009 -1.2590000 -2.05580070 F F F
5.81507206 .0000000 -2.05580070 F F F
2.90753593 .00000000 -4.08264189 F F F
5.08818789 1.25900000 -4.08264189 F F F
5.08818789 -1.25900000 -4.08264189 F F F
7.26883986 .00000000 -4.08264189 F F F
-.00134965 .00000000 3.50000000 T F F
.51772049 .89768008 3.86520453 T T T
.51772049 -.89768008 3.86520453 T T T
-1.03852359 .00000000 3.86458322 T F T
-.00021200 .00000000 2.39768919 T F T
And CONTCAR, after optimizing:
--------------------------------------------------------------
…
12 1 4
Selective dynamics
Direct
0.0000000000000000 0.0000000000000000 0.9982193797455992 F F F
0.0000000005732232 0.5000000005732232 0.9982193797455992 F F F
0.5000000005732232 0.0000000005732232 0.9982193797455992 F F F
0.5000000000000000 0.5000000000000000 0.9982193797455992 F F F
0.1666666842455058 0.1666666842455058 0.8719447435839172 F F F
0.1666666836722825 0.6666666836722825 0.8719447435839172 F F F
0.6666666836722825 0.1666666836722825 0.8719447435839172 F F F
0.6666666842455058 0.6666666842455058 0.8719447435839172 F F F
0.3333333306582915 0.3333333306582915 0.7456933670277550 F F F
0.3333333300850683 0.8333333300850683 0.7456933670277550 F F F
0.8333333300850683 0.3333333300850683 0.7456933670277550 F F F
0.8333333306582915 0.8333333306582915 0.7456933670277550 F F F
-0.0001041249026444 0.9998452698984437 0.2180140309594591 T F F
0.8809668931150955 0.2372702363703456 0.2403813670624553 T T T
0.2373494594146753 0.8811139022113522 0.2403553853450800 T T T
0.8813215482685608 0.8809388652260211 0.2402658310105120 T F T
0.9999317248378382 0.9999756953421013 0.1493458263930275 T F T
…
So I guessed that, VASP catches the flags CORRECTLY but somehow the corresponding coordinates with < F > are changing !
The above geometry in the Cartesian coordinates which I took from the last “POSITION� data from the OUTCAR file is
(final) POSITION
-----------------------------------------------------
0.00000 0.00000 16.02543
2.18065 1.25900 16.02543
2.18065 -1.25900 16.02543
4.36130 0.00000 16.02543
1.45377 0.00000 13.99821
3.63442 1.25900 13.99821
3.63442 -1.25900 13.99821
5.81507 0.00000 13.99821
2.90754 0.00000 11.97137
5.08819 1.25900 11.97137
5.08819 -1.25900 11.97137
7.26884 0.00000 11.97137
4.36017 2.51787 3.50000
4.87697 -1.62083 3.85909
4.87796 1.62100 3.85867
7.68575 -0.00096 3.85723
8.72220 0.00011 2.39760
-------------------------------------------------------
which indicates the movements/displacements of the F-flagged coordinates [ie numbers 2.51787(Cy), -0.00096(H3y) ,0.00011(h4y) , which should be always 0.00000 ]
With best regards and thanks in advance,
Krishna Mohan G.P.
THEOR
Universiteit Leiden.
I am a newbie in VASP calculations, studying the chemisorption of CH4 on Ni(111) , where I used a 3 layer Nickel slab, 12 A vaccum, 2x2 unitcell, (8 8 1) auto. k points, PBE functional, etc. (please see POSCAR/INCAR) and conjugate-gradient algorithm for the minimization.
PROBLEM:
I found a problem with my constrained geometry optimization at PAW-DFT:
I used flags “F� OR “T� in the POSCAR file, to make the constraints on the x, y, z positions during the optimization; But it seems to be working properly ONLY to some atoms. In this case – all the nickel atoms are freezed, (as per the< F F F >, flags) and some other coordinates- for ex. Cz [< F > flag – which remains at 3.5 A, in all optimization steps], But all other coordinates of the CH4, which is attached by < F > flag is moving!
I changed several parameters EXCEPT ibrion, which I kept to < 2 > always, shows the same tendency – it relaxes the coordinate with < F > flag !!.
Does anyone have some idea about this behavior? Did someone experience with this?
Or if possible, How can I do a constrained optimization in a safe way in VASP ?
DETAILS OF THE FILES:
INCAR:
--------------------------------------------------------------
SYSTEM = NI-CH4
ISTART = 0
ISIF=2
IBRION=2
EDIFF = 1E-3
EDIFFG = -1E-2
POTIM = 0.01
NSW=40
GGA=91
VOSKOWN=1
ISPIN=1
LREAL=A
PREC= Accurate
Electronic minimisation
ENCUT =400 eV
DOS related values
ISMEAR = -5;
POSCAR
--------------------------------------------------------------
Ni-CH4
1.0000
4.36130393 -2.518 0.0
4.36130393 2.518 0.0
0.0 0.0 16.0540126
12 1 4
Selective dynamics
Cartesian
.00000000 .00000000 -.02858610 F F F
2.18065197 1.25900000 -.02858610 F F F
2.18065197 -1.25900000 -.02858610 F F F
4.36130393 .00000000 -.02858610 F F F
1.45376813 .0000000 -2.05580070 F F F
3.63442009 1.2590000 -2.05580070 F F F
3.63442009 -1.2590000 -2.05580070 F F F
5.81507206 .0000000 -2.05580070 F F F
2.90753593 .00000000 -4.08264189 F F F
5.08818789 1.25900000 -4.08264189 F F F
5.08818789 -1.25900000 -4.08264189 F F F
7.26883986 .00000000 -4.08264189 F F F
-.00134965 .00000000 3.50000000 T F F
.51772049 .89768008 3.86520453 T T T
.51772049 -.89768008 3.86520453 T T T
-1.03852359 .00000000 3.86458322 T F T
-.00021200 .00000000 2.39768919 T F T
And CONTCAR, after optimizing:
--------------------------------------------------------------
…
12 1 4
Selective dynamics
Direct
0.0000000000000000 0.0000000000000000 0.9982193797455992 F F F
0.0000000005732232 0.5000000005732232 0.9982193797455992 F F F
0.5000000005732232 0.0000000005732232 0.9982193797455992 F F F
0.5000000000000000 0.5000000000000000 0.9982193797455992 F F F
0.1666666842455058 0.1666666842455058 0.8719447435839172 F F F
0.1666666836722825 0.6666666836722825 0.8719447435839172 F F F
0.6666666836722825 0.1666666836722825 0.8719447435839172 F F F
0.6666666842455058 0.6666666842455058 0.8719447435839172 F F F
0.3333333306582915 0.3333333306582915 0.7456933670277550 F F F
0.3333333300850683 0.8333333300850683 0.7456933670277550 F F F
0.8333333300850683 0.3333333300850683 0.7456933670277550 F F F
0.8333333306582915 0.8333333306582915 0.7456933670277550 F F F
-0.0001041249026444 0.9998452698984437 0.2180140309594591 T F F
0.8809668931150955 0.2372702363703456 0.2403813670624553 T T T
0.2373494594146753 0.8811139022113522 0.2403553853450800 T T T
0.8813215482685608 0.8809388652260211 0.2402658310105120 T F T
0.9999317248378382 0.9999756953421013 0.1493458263930275 T F T
…
So I guessed that, VASP catches the flags CORRECTLY but somehow the corresponding coordinates with < F > are changing !
The above geometry in the Cartesian coordinates which I took from the last “POSITION� data from the OUTCAR file is
(final) POSITION
-----------------------------------------------------
0.00000 0.00000 16.02543
2.18065 1.25900 16.02543
2.18065 -1.25900 16.02543
4.36130 0.00000 16.02543
1.45377 0.00000 13.99821
3.63442 1.25900 13.99821
3.63442 -1.25900 13.99821
5.81507 0.00000 13.99821
2.90754 0.00000 11.97137
5.08819 1.25900 11.97137
5.08819 -1.25900 11.97137
7.26884 0.00000 11.97137
4.36017 2.51787 3.50000
4.87697 -1.62083 3.85909
4.87796 1.62100 3.85867
7.68575 -0.00096 3.85723
8.72220 0.00011 2.39760
-------------------------------------------------------
which indicates the movements/displacements of the F-flagged coordinates [ie numbers 2.51787(Cy), -0.00096(H3y) ,0.00011(h4y) , which should be always 0.00000 ]
With best regards and thanks in advance,
Krishna Mohan G.P.
THEOR
Universiteit Leiden.