O dimer: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 43: Line 43:
**Quadratic or cubic interpolation using energies and forces at <math> \mathbf{x}_{0} </math> and <math> \mathbf{x}_{1} </math> allows to determine the approximate minimum
**Quadratic or cubic interpolation using energies and forces at <math> \mathbf{x}_{0} </math> and <math> \mathbf{x}_{1} </math> allows to determine the approximate minimum
**Continue minimization, if app. minimum is not accurate enough
**Continue minimization, if app. minimum is not accurate enough
=== stdout ===
DAV:  1    0.517118590134E+02    0.51712E+02    -0.31393E+03    80  0.366E+02
...    ...  ...
...    ...  ...
DAV:  14    -0.985349953776E+01  -0.15177E-03    -0.57546E-06    64  0.125E-02    0.371E-03
DAV:  15    -0.985357023804E+01  -0.70700E-04    -0.22439E-06    64  0.741E-03
    1 F= -.98535702E+01 E0= -.98535702E+01  d E =-.985357E+01  mag=    2.0000
  curvature:  0.00 expect dE= 0.000E+00 dE for cont linesearch  0.000E+00
  trial: gam= 0.00000 g(F)=  0.113E+00 g(S)=  0.000E+00 ort = 0.000E+00 (trialstep = 0.100E+01)
  search vector abs. value=  0.113E+00
  bond charge predicted
...    ...  ...
...    ...  ...
    2 F= -.96234585E+01 E0= -.96234585E+01  d E =0.230112E+00  mag=      2.0000
  trial-energy change:    0.230112  1 .order    0.190722  -0.113406    0.494850
  step:  0.1397(harm=  0.1864)  dis= 0.00731  next Energy=    -9.861386 (dE=-0.782E-02)
  bond charge predicted
...    ...  ...
...    ...  ...
    3 F= -.98607735E+01 E0= -.98607735E+01  d E =-.720327E-02  mag=      2.0000
  curvature:  -0.09 expect dE=-0.900E-05 dE for cont linesearch -0.900E-05
  trial: gam= 0.00000 g(F)=  0.969E-04 g(S)=  0.000E+00 ort =-0.331E-02 (trialstep = 0.828E+00)
  search vector abs. value=  0.969E-04
  reached required accuracy - stopping structural energy minimisation
== Download ==
== Download ==
[http://www.vasp.at/vasp-workshop/examples/Odimer.tgz Odimer.tgz]
[http://www.vasp.at/vasp-workshop/examples/Odimer.tgz Odimer.tgz]

Revision as of 13:24, 27 April 2017

Task

Relaxation of the bond length of an dimer.

Input

POSCAR

O dimer in a box
 1.0          ! universal scaling parameters
 8.0 0.0 0.0  ! lattice vector  a(1)
 0.0 8.0 0.0  ! lattice vector  a(2)
 0.0 0.0 8.0  ! lattice vector  a(3)
2             ! number of atoms
cart          ! positions in cartesian coordinates
 0 0 0        ! first atom
 0 0 1.22     ! second atom

INCAR

SYSTEM = O2 dimer in a box
ISMEAR = 0 ! Gaussian smearing
ISPIN  = 2 ! spin polarized calculation
NSW = 5    ! 5 ionic steps
IBRION = 2 ! use the conjugate gradient algorithm

KPOINTS

Gamma-point only
 0
Monkhorst Pack
 1 1 1
 0 0 0



Calculation

  • We have selected in the INCAR file that geometry relaxation should be performed. In this case 5 ionic steps (NSW=5) should be done at most. For the relaxation a conjugate gradient (CG) algorithm is used (IBRION=2).
  • The CG algorithm requires line minimizations along the search direction. This is done using a variant of Brent's algorithm. (Picture missing)
    • Trial step along search direction (gradient scaled by POTIM)
    • Quadratic or cubic interpolation using energies and forces at and allows to determine the approximate minimum
    • Continue minimization, if app. minimum is not accurate enough

stdout

DAV:   1     0.517118590134E+02    0.51712E+02    -0.31393E+03    80   0.366E+02
...    ...   ...
...    ...   ...
DAV:  14    -0.985349953776E+01   -0.15177E-03    -0.57546E-06    64   0.125E-02    0.371E-03
DAV:  15    -0.985357023804E+01   -0.70700E-04    -0.22439E-06    64   0.741E-03
   1 F= -.98535702E+01 E0= -.98535702E+01  d E =-.985357E+01  mag=     2.0000
 curvature:   0.00 expect dE= 0.000E+00 dE for cont linesearch  0.000E+00
 trial: gam= 0.00000 g(F)=  0.113E+00 g(S)=  0.000E+00 ort = 0.000E+00 (trialstep = 0.100E+01)
 search vector abs. value=  0.113E+00
 bond charge predicted
...    ...   ...
...    ...   ...
   2 F= -.96234585E+01 E0= -.96234585E+01  d E =0.230112E+00  mag=      2.0000
 trial-energy change:    0.230112  1 .order    0.190722   -0.113406    0.494850
 step:   0.1397(harm=  0.1864)  dis= 0.00731  next Energy=    -9.861386 (dE=-0.782E-02)
 bond charge predicted
...    ...   ...
...    ...   ...
   3 F= -.98607735E+01 E0= -.98607735E+01  d E =-.720327E-02  mag=      2.0000
 curvature:  -0.09 expect dE=-0.900E-05 dE for cont linesearch -0.900E-05
 trial: gam= 0.00000 g(F)=  0.969E-04 g(S)=  0.000E+00 ort =-0.331E-02 (trialstep = 0.828E+00)
 search vector abs. value=  0.969E-04
 reached required accuracy - stopping structural energy minimisation

Download

Odimer.tgz


To the list of examples or to the main page