Cohesive Energy Density in Mesocite

Hi,
I would like to calculate the cohesive energy density for a polymer bulk (24 chains of 1000 beads polymer chains). I have a script calculating the difference between the total non bond energy of the system and the sum of the non bond energies of each chain taken separetely, but I am not sure in gives the right value. Would you have any idea for me to get the CED of my system ? (Using only mesocite and not forcite).
Thank you for your help.

(attached the script I use)
Answers 3
JD
JD 2017-08-16 Best Answer
ok, I am glad you figured it out. You might want to loop over each frame of the trajectory and calculate the cohesive energy for that frame. Then you can report each frame and the average. Also you might want to recalculate the energy of each frame rather than using the existing values. That would ensure more consistency in methodology (energy settings). You could even switch the energy settings to Fine or Ultra-fine, since it will probably be quick anyways.

Best,
Jason
JD
JD 2017-08-16
Hi Lola,

Your script looks great. Any problems or concerns? 

Best,
Jason
LC
LC 2017-08-16
Hi, I just realized what was wrong. It gave me really different values for similar systems but it seems that it's because it took the total energy value from the first frame and not the average on the whole trajectory.
Thank you for your answer !
Lola