the N2 molecule bond length calculations

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

Moderator: bguster

Locked
Paul
Posts: 32
Joined: Thu Jul 28, 2011 8:23 am

the N2 molecule bond length calculations

Post by Paul » Wed Aug 17, 2011 3:20 pm

After testing the tutorial #2 of the H2 molecule bond length calcuations, I want to calculate the N2 molecule bong length. Following the tutoial, I write the computer file of N2 molecule, but the result is very bad, larger than the experimental value of 15 times, and the CPU time is also very long, about one hour in 2.8 GHz PC. This is my in. file , can you tell me which parameters I set have a problem, and which parameters need to be supplemented. And I am a new in abinit, hope you can forgive my ignorance. Thanks !

ixc 11
acell 35 35 35
ecut 31
natom 2
ionmov 2
optcell 0
ntime 50
tolmxf 5.0d-4
xcart -0.5 0.0 0.0
0.5 0.0 0.0
toldff 5.0d-5
nband 7
ntypat 1
znucl 7
typat 1 1
kptopt 0
nkpt 1
nstep 100
diemac 2.0

The result is :
xcart(Bohr) -1.6464254618E+01 -2.4981282203E-31 -1.9420830621E-31
1.6464254618E+01 2.4981282203E-31 1.9420830621E-31

and the the experimental value is :
1.09 Å

david.waroquiers
Posts: 138
Joined: Sat Aug 15, 2009 12:45 am

Re: the N2 molecule bond length calculations

Post by david.waroquiers » Wed Aug 17, 2011 10:54 pm

Hello,

Your atoms seems to be ok except they are very far from their initial position, they made a bond of 35-(2*16.464) = 2.072 Bohr which is equal to 1.096 angstroms. It is pretty close to your experimental value. Remember you are working with periodic boundary conditions (-16.464 is equivalent to -16.464+35=18.536). For some reason (the initial positions of your atoms), they relaxed in a different way you expected and bonded together at the "end" of the box.

David

Paul
Posts: 32
Joined: Thu Jul 28, 2011 8:23 am

Re: the N2 molecule bond length calculations

Post by Paul » Thu Aug 18, 2011 3:36 am

Hi,
Thank you very much David. I have learned after reading your explanation. But I have another problem. Why does my results appeared in this situation? However, the tutorial did not do. whether do I need to set some parameters in order to limit the periodic boundary conditions to ensure that this will not happen? Because this calculation to the bond length is a little trouble. Also what is the meaninig of these words"(-16.464 is equivalent to -16.464+35=18.536)"? Does it mean I set the parameter acell to 18.536 will be better? Thanks ~

User avatar
sponce
Posts: 60
Joined: Sat Apr 16, 2011 9:44 am

Re: the N2 molecule bond length calculations

Post by sponce » Thu Aug 18, 2011 10:56 am

Dear Paul,

I think that what David mean is that your result seems to be correct. As you have periodic boundary condition of 35 Bohr it mean that the two N_2 atoms are distant from only 1.096 angstroms and these two atoms are repeated infinitely.

If you want to obtain a result closer to what you obtain in the tutorial, maybe you should use an input file like:

ixc 11
acell 35 35 35
ecut 31
natom 2
ionmov 2
optcell 0
ntime 50
tolmxf 5.0d-4
xcart -1.0 0.0 0.0
1.0 0.0 0.0

toldff 5.0d-5
nband 7
ntypat 1
znucl 7
typat 1 1
kptopt 0
nkpt 1
nstep 100
diemac 2.0

This way your starting position is closer to the final one. I think that what happen is that you have a first very strong repulsion that will shoot your atoms far away from each other. Then the system will slowly stabilize.

With this input file the calculation should also be a bit faster.

Cheers!

Samuel.

Paul
Posts: 32
Joined: Thu Jul 28, 2011 8:23 am

Re: the N2 molecule bond length calculations

Post by Paul » Thu Aug 18, 2011 1:31 pm

Dear Samuel,
Thank you for your patience and guidance, and it let me have a better understanding of the periodic boundary condition. I will follow your way to a new calculation. Thanks again!

Paul
Posts: 32
Joined: Thu Jul 28, 2011 8:23 am

Re: the N2 molecule bond length calculations

Post by Paul » Fri Aug 19, 2011 10:05 am

Dear Samuel,
I have run a new calculation following your way, and the result is very well. It does not appear that kind of situation. Thanks !

Locked