Author Topic: Script for calculating the atomization energies of molecule.  (Read 28676 times)

0 Members and 1 Guest are viewing this topic.

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Hey everyone.

I just wanted to share with you a script that I made for calculating the atomization energy of molecules using NanoLanguage.
You can use the script either by copying the code directly into your own program or
 you can also just download the script and store it along your other scripts and use it by writing:
Quote
from AtomizationEnergy import *
E = calculateAtomizationEnergy(molecule, method, verbosity)

Please feel free to use and share! :)

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Re: Script for calculating the atomization energies of molecule.
« Reply #1 on: December 17, 2008, 23:57 »
I did a calculation of the atomization energy of a Hydrogen molecule (H2).
I got the following values for the atomization energy of the molecule using default parameters.
Quote
LDA.PZ = 4.79218961857 eV
GGA.PBE = 4.47776121909 eV
GGA.revPBE = 4.50626999466 eV
According to Blaha et al, the all-electron calculation gives 4.54 eV.
Futhermore I found this experimental value to be 4.7 eV, so I think it is quite close.

I have attached the script to perform the calculation.

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Re: Script for calculating the atomization energies of molecule.
« Reply #2 on: December 17, 2008, 23:59 »
For the methane case using default parameters I found the following:
Quote
LDA.PZ = 20.622076671 eV
GGA.PBE = 18.9564183782 eV
GGA.revPBE = 18.7426438569 eV
The experimental value is 18.16 eV and Bhala et al gets it to be 18.21 eV.
Again the error is only around 3-4%, however it is clear that you must use the revPBE functional in order to get good atomization energies as the error for LDA is in the order of 20%!

Please feel free to post your own atomization energy calculations!

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Re: Script for calculating the atomization energies of molecule.
« Reply #3 on: December 18, 2008, 11:22 »
I also did it for a calculation for Acetylene (C2H2) and compare the values to Blaha et al.
Quote
LDA.PZ     =  20.2639146361 eV
GGA.PBE    =  18.5128556649 eV
GGA.revPBE =  18.2398891734 eV
The all-electron calculation gives 17.9944 and reports a 17.5608 for the experimental value.

Offline rahulprajesh

  • Regular QuantumATK user
  • **
  • Posts: 23
  • Reputation: 0
    • View Profile
Re: Script for calculating the atomization energies of molecule.
« Reply #4 on: September 1, 2009, 06:46 »
Its a nice script sir ,
                            Is there any way to calculate the particular bond's energy in a molecule like what if we want to calculate for example c-h  bond energy in Methane Molecule how can we do that.
                            thanks Sir

Offline zh

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 1141
  • Reputation: 24
    • View Profile
Re: Script for calculating the atomization energies of molecule.
« Reply #5 on: September 1, 2009, 06:58 »
First, please refer to here to understand the definition of "bond energy": http://en.wikipedia.org/wiki/Bond_energy.

Second, from the definition of "bond energy", one may estimate it according to the following procedure:
Here, the bond energy of C-H in methane as an example.
1) optimize the geometry of methane molecule and the calculate the total energy;
2) calculate the total energy of a carbon atom;
3) calculate the total energy of a hydrogen atom;
4) following the definition of bond energy (see the above http link), do the numerical manipulation.

Offline rahulprajesh

  • Regular QuantumATK user
  • **
  • Posts: 23
  • Reputation: 0
    • View Profile
Re: Script for calculating the atomization energies of molecule.
« Reply #6 on: September 1, 2009, 09:10 »
dear Sir, I've proceeded in the same way as you indicated...
         and used the DZP(Basis Set) With GGA.pbe.
                    But Still  My result is far away from experimental values like I laso tried to calculate c-h bond dissociation energy for c-h bond in c2h6 ..and got a value = 6.5195 eV (experimatal is=4.40625eV)
i dont know where is the problem and why its not working. help me ????

Offline zh

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 1141
  • Reputation: 24
    • View Profile
Re: Script for calculating the atomization energies of molecule.
« Reply #7 on: September 1, 2009, 15:16 »
The following parameters could affect the accuracy of calculation results:
i) basis set;
ii) mesh cutoff;
iii) exchange-correlation functional; Note that for the total energy calculation of single atom, one had better perform the spin-polarized calculation;
iv) "padding_factor" in poissonEquationParameters();

In additional, DFT calculations are carried out at 0 K and the zero-point energy of molecule is neglected, but the experimental value for bond energy may be measured at finite temperature.  These may also lead to the difference between the DFT and experimental values for bond energy.


Offline rahulprajesh

  • Regular QuantumATK user
  • **
  • Posts: 23
  • Reputation: 0
    • View Profile
Re: Script for calculating the atomization energies of molecule.
« Reply #8 on: September 2, 2009, 06:21 »
I think Sir if we Can Use Formation Energy instead of Total energy it will serve My purpose because change in enthalpy of a reaction uses:: (sum of Formation energies of Products - sum of formation energies of reactants)..Now the problem is how to calculate the formation energy???
« Last Edit: September 2, 2009, 06:23 by rahulprajesh »

Offline zh

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 1141
  • Reputation: 24
    • View Profile
Re: Script for calculating the atomization energies of molecule.
« Reply #9 on: September 2, 2009, 07:50 »
What is the definition of "Formation energy" in your mind? If you understand it clearly, it can be obtained from the calculated total energy without taking into account the T*S term (i.e. entropy due to the phonon and temperature contributions).



Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5575
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Script for calculating the atomization energies of molecule.
« Reply #10 on: January 29, 2014, 09:12 »
An updated version of these scripts for ATK 13.8 (and in fact 12.8 and probably also 11.x) is available at http://quantumwise.com/forum/index.php?topic=2588.msg12300#msg12300

Offline GJK

  • QuantumATK Guru
  • ****
  • Posts: 198
  • Country: in
  • Reputation: 0
    • View Profile
First, please refer to here to understand the definition of "bond energy": http://en.wikipedia.org/wiki/Bond_energy.

Second, from the definition of "bond energy", one may estimate it according to the following procedure:
Here, the bond energy of C-H in methane as an example.
1) optimize the geometry of methane molecule and the calculate the total energy;
2) calculate the total energy of a carbon atom;
3) calculate the total energy of a hydrogen atom;
4) following the definition of bond energy (see the above http link), do the numerical manipulation.


Hi,

Dear sir, can u tell the formula for calculating Bond energy.Because in the link it is given as Bond length/bond distance.

Offline kstokbro

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 392
  • Reputation: 13
    • View Profile
    • QuantumWise
Re: Script for calculating the atomization energies of molecule.
« Reply #12 on: June 20, 2014, 12:33 »
According to the link, bond energy is the energy required to break all bonds in a molecule.

For the Bond-strength, you devide by distance