Dear Toon,
I am trying to calculate the thermodynamic quantities of a gas phase molecule which has been optimized in the VASP software (in a large box). The following is the script I am using:
-----------------------------------------------------------------------------------------
from tamkin import *
from molmod import *
molecule = load_molecule_vasp("CONTCAR", "OUTCAR")
# normal mode analysis
nma = NMA(molecule)#, ConstrainExt())
# Construct a partition function object with the typical gas phase contributions.
pf = PartFun(nma, [ExtTrans(), ExtRot()])
# Write some general information about the molecule
# and the partition function to a file.
pf.write_to_file("partfun.txt")
print pf.free_energy(973.15)/(kjmol)
# Write an extensive overview of the thermodynamic properties to a file:
ta = ThermoAnalysis(pf, [673.15,723.15,773.15,823.15,873.15,923.15,973.15,1023.15,1073.15,1123.15,1173.15])
ta.write_to_file("thermo.csv")
--------------------------------------------------------------------------------------------------
The following is the error I am encountering.
--------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "Tamkin_script_final.py", line 9, in <module>
pf = PartFun(nma, [ExtTrans(), ExtRot()])
File "/home/xenhua/anaconda3/envs/py27/lib/python2.7/site-packages/tamkin/partf.py", line 1353, in __init__
term.init_part_fun(nma, self)
File "/home/xenhua/anaconda3/envs/py27/lib/python2.7/site-packages/tamkin/partf.py", line 1006, in init_part_fun
raise ValueError("There is no external rotation in periodic systems.")
ValueError: rotational: There is no external rotation in periodic systems.
---------------------------------------------------------------------------------------------------
Could you please help me to solve this error. Thank you so much.
Best regards
Xenhua Zhang