-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calculating energy #38
Comments
Hi Anne, I think the syntax should be pot.calc(a,energy=True) It's difficult to say which subroutine is executed, because it depends on potential_calc() in Potential.f95 and that's the lowest level, apart from some auxiliary I hope this helps. Albert On 23 August 2016 at 19:12, astronomydomine2 notifications@github.com
Dr Albert Bartok-Partay Department of Engineering, University of Cambridge, Cambridge, CB21PZ T: +44 1223 748232 |
Thanks a lot; is there any publication or documentation on how you got the exact formula to compute energy based on potential, for the different potentials? Thanks |
Most are based on the appropriate publications - sometimes this is Albert On 24 August 2016 at 14:44, astronomydomine2 notifications@github.com
|
Hi Albert, I looked up the Yukawa potential/screened Coulomb potential but could not determine what sort of algorithm computes the energy. My goal is to get Ebulk and Eslab to calculate gamma (surface energy density) Thanks |
The TS potential implemented in QUIP uses a short-range Coulomb interaction with the Yukawa method. The exact formulation as well as parameters for SiO2 (same as those in the .xml file you mention) are reported in this article: http://scitation.aip.org/content/aip/journal/jcp/133/9/10.1063/1.3475565 It might be possible to use it for borosilicates too but would require reparameterisation. |
Thank you James. I looked through the equations in the paper; is it the Eqq+Eqd+Edd sum for every atom pair, as listed in equations 4-6? I am a bit unclear still on how energy computed. I am looking at surface.py. It looks like after the input of surface atoms, bulk atoms, and potential, the surface.energy is computed using pot.calc(surface...) and bulk.energy is calculated using pot.calc(bulk...). I am interested in understanding how exactly these quantities are computed before being plugged into bulk_energy_per_sio2 and the final returned surface energy value.
|
Those equations give the electrostatic contribution to the potential energy. There is also a short-range Morse-Stretch term. You can find all the details in the https://github.com/libAtoms/QUIP/blob/public/src/Potentials/IPModel_TS.f95#L417 |
Can I close this now? |
Yes, certainly!
Albert
… On 23 Mar 2017, at 14:45, gabor1 ***@***.***> wrote:
Can I close this now?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#38 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AEKWQk0nG-kzI3A7ZBBPVvdOabjF9FINks5rooV1gaJpZM4JrOTa>.
|
Hello,
I am trying to understand how exactly the energy of a group of atoms is calculated given an input of the atomic structure and the potential. From what I understand, after the potential is defined (pot = Potential(...)), this is executed as the
pot.calc(a,'energy=energy')
method (or something similar).Would you be able to please point me to which exact file has this subroutine with the actual lines that do this calculation at the lowest level?
Thanks,
Anne
The text was updated successfully, but these errors were encountered: