Dear VASP developers,
Hello, I am a graduate student new to VASP.
I am working through the tutorial, specifically on the "Bond length of the O2 molecule" section.
This tutorial is about finding the stable bond length of an oxygen molecule.
As shown in the POSCAR below, one oxygen atom is set at the origin, and the other is 1.22 Å along the z-axis.
POSCAR
Code: Select all
O2 molecule 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:
The INCAR setup I used is below
INCAR
Code: Select all
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
This should find the best bond length. But, when I ran the simulation, I got strange results.
My Results:
Code: Select all
O2
1.0000000000000000
8.0000000000000000 0.0000000000000000 0.0000000000000000
0.0000000000000000 8.0000000000000000 0.0000000000000000
0.0000000000000000 0.0000000000000000 8.0000000000000000
O
2
Direct
0.0000000000000000 0.0000000000000000 0.9990878682898270
0.0000000000000000 0.0000000000000000 0.1534121317101765
The second oxygen atom's position looks correct at about 1.224 Å.
But the first oxygen atom has moved from 0 Å to 8 Å, which seems incorrect.
This gives a bond length of 8 Å - 1.224 Å = 6.776 Å, which is much longer than expected.
The tutorial solution shows the first oxygen atom should be near the origin:
Tutorial Solution:
Code: Select all
O2
1.0
8.0000000000000000 0.0000000000000000 0.0000000000000000
0.0000000000000000 8.0000000000000000 0.0000000000000000
0.0000000000000000 0.0000000000000000 8.0000000000000000
O
2
Direct
0.0000000000000000 0.0000000000000000 -0.0009121317112740
0.0000000000000000 0.0000000000000000 0.1534121317112774
I don’t know what went wrong.
I followed the tutorial files exactly.
I searched the VASP forum to see if anyone else had experienced the same problem, but I couldn’t find anything.
I am attaching my INPUT and OUTPUT files.
Could you please help?
Thank you