-
Notifications
You must be signed in to change notification settings - Fork 162
Linear optical response and second-harmonic generation implementation & incorporation of many-body excitonic effects into the linear and quadratic optical responses #449
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
base: develop
Are you sure you want to change the base?
Conversation
… and the new features in the user guide
…se (eps) and nonlinear second-harmonic generation (shg) within the overview of the berry module
…) for the new features: linear optical response and nonlinear second-harmonic generation of the berry module
…ny-body excitonic effects into the linear and quadratic optical responses within the static long-range approximation
…ffects into the linear and quadratic optical responses within the static long-range approximation
…rder derivatives of eigenvalues
…d-order derivatives of eigenvalues as well as the subroutines wham_get_eig_del2eig and wham_get_eig_del2eig_TB_conv for calculating the eigenvalues, first derivatives and second derivatives for a given k-point within the W90 and TB conventions, respectively
…ing them across processors & the subroutine pw90common_get_occ_T for computing temperature-dependent FD electronic occupations
…routines for calculating the linear optical response and the second-harmonic generation processes within the berry module, taking into account Fermi-surface contributions
|
Dear Peio, I hope this message finds you well. Could you kindly update me on the current status of the SHG function? Specifically, I would like to know if it is operating normally. Additionally, if there are any conflicts preventing it from being merged into the main branch, could you please provide details on the nature and location of these conflicts? Best regards, |
|
Dear Xiangyang: SHG is implemented as a subroutine within the berry module, as well as documented with its own tutorial and theoretically explained in the user guide. I would say I did well and it operates correctly. To the best of my knowledge, there are few people that has already used it for their research and no complain has arrived to me. I do not know if I answered your question. Keep in contact. Best, Peio. |
|
Dear Peio, Thank you very much for your prompt response. The research is solid, and the program you provided is very useful. I will conduct further tests in my research. Thank you once again for your valuable contribution. Best regards, |
|
Dear Peio,
I hope this email finds you well.
I am writing to seek your guidance regarding the SHG calculation using your code. I have encountered an issue where the SHG value becomes excessively high as ħω approaches zero, and I am uncertain about the source of this phenomenon.
Additionally, I have noticed that the SHG results are extremely sensitive to the quality of the Wannier functions. Could you please offer any suggestions or advice on how to address this?
Thank you very much for your help.
Best regards,
Xiangyang
…------------------ 原始邮件 ------------------
发件人: "wannier-developers/wannier90" ***@***.***>;
发送时间: 2025年6月2日(星期一) 晚上11:06
***@***.***>;
***@***.******@***.***>;
主题: Re: [wannier-developers/wannier90] Linear optical response and second-harmonic generation implementation & incorporation of many-body excitonic effects into the linear and quadratic optical responses (PR #449)
peio-gg left a comment (wannier-developers/wannier90#449)
Dear Xiangyang:
SHG is implemented as a subroutine within the berry module, as well as documented with its own tutorial and theoretically explained in the user guide. I would say I did well and it operates correctly. To the best of my knowledge, there are few people that has already used it for their research and no complain has arrived to me. I do not know if I answered your question. Keep in contact.
Best,
Peio.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
|
Dear Xiangyang, Is your material a metal? In fact, if it is a metal, there are purely metallic or intraband contributions that must be taken into account. As you can see in Eq.22 (a) and (b) of our publication PhysRevB.107.205101. Such terms go as \frac{1}{\omega} for the Berry dipole curvature dipole contribution and \frac{1}{\omega^{2}} for the semiclassical contribution within the conductivity [see Eq.22(b)]. That terms are only taken into account if the temperature is non-zero defined. If zero, they are not calculated. As a default, that parameter is set to 0, so I suspect you did not switched on, did you? Nevertheless, as you can see, the two- and three-band interband contributions are defined by means of the inverse of energy differences, so if you have degeneracies or conduction/valence bands very close in energy, as \omega\to0 these terms can contribute hugely. Regarding wannier functions, same drawback. If your material is a metal, it is usually harder to get well localized Wannier functions than in semiconductors/insulators. In this aspect, playing with the inner and outer window, disentanglement parameters, good starting points, etc... is essential. If you can specify a little bit these things, perhaps I could help you more efficiently. Keep in contact. Best, |
|
Dear Peio,
My system is a semiconductor, and the temperature was set to 300 K. I have attached the calculation files (about 1.2 GB) for your review.
I wanted to be upfront about the context of this work. It is part of an experimental collaboration where I am not the principal investigator, so I cannot offer co-authorship for your assistance. However, I will make sure to express our thanks to you in the Acknowledgements upon publication.
Thank you again for your time and expertise.
Best regards,
Xiangyang
…------------------ 原始邮件 ------------------
发件人: "wannier-developers/wannier90" ***@***.***>;
发送时间: 2025年11月11日(星期二) 下午5:51
***@***.***>;
***@***.******@***.***>;
主题: Re: [wannier-developers/wannier90] Linear optical response and second-harmonic generation implementation & incorporation of many-body excitonic effects into the linear and quadratic optical responses (PR #449)
peio-gg left a comment (wannier-developers/wannier90#449)
Dear Xiangyang,
Is your material a metal? In fact, if it is a metal, there are purely metallic or intraband contributions that must be taken into account. As you can see in Eq.22 (a) and (b) of our publication PhysRevB.107.205101. Such terms go as \frac{1}{\omega} for the Berry dipole curvature dipole contribution and \frac{1}{\omega^{2}} for the semiclassical contribution within the conductivity [see Eq.22(b)]. That terms are only taken into account if the temperature is non-zero defined. If zero, they are not calculated. As a default, that parameter is set to 0, so I suspect you did not switched on, did you?
Nevertheless, as you can see, the two- and three-band interband contributions are defined by means of the inverse of energy differences, so if you have degeneracies or conduction/valence bands very close in energy, as \omega\to0 these terms can contribute hugely.
Regarding wannier functions, same drawback. If your material is a metal, it is usually harder to get well localized Wannier functions than in semiconductors/insulators. In this aspect, playing with the inner and outer window, disentanglement parameters, good starting points, etc... is essential.
If you can specify a little bit these things, perhaps I could help you more efficiently. Keep in contact.
Best,
Peio.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
从QQ邮箱发来的超大附件
calculation_folder.tar (1.28G, 2025年12月11日 19:10 到期)进入下载页面:https://mail.qq.com/cgi-bin/ftnExs_download?k=2e65613665a42dcc0fbad1bc4334514d1d115005560c5100480707060119505a06044c055751564f53035450010650005604040f65226301040902430955170b0a0b3e500a580707174b155717345e&t=exs_ftn_download&code=eea6e4cb
|
|
Dear Xiangyang, Sorry again for the late answer, I will try to answer quicker next time. So you have a semimetal with a well-defined energy band gap, is not it? Indeed, when using berry module with postw90.x one must define explicitly the energy of the Fermi level with "fermi_energy" label. Did you set it explicitly? It is the only thing I can think about now. Did you got better Wannier Functions? SHG response function should not be so sensitive to them if they are well localized. I am sorry I can not access to your files, it is all written in a language I suspect is chinese, but unfortunately I do not know it. Could you guide me on how to get them? Thank you! Peio. |
Feature implementation of the subroutines to calculate the linear optical response and the nonlinear second-harmonic generation for semiconductors and metals, i.e. taking into account Fermi-surface contributions, as well as the utility to include many-body excitonic effects into the linear and quadratic optical responses within the static long-range approximation
-src/postw90/berry.F90: berry_get_eps_klist. Linear optical response.
-src/postw90/berry.F90: berry_get_shg_klist. Second-harmonic generation.
and depencencies:
-src/postw90/wan_ham.F90: wham_get_deleig_a_b. Second derivatives of the energy eigenvalues with respect to momentum (Author: Álvaro R. Puente-Uriona [https://github.com/irukoa]).
-src/postw90/wan_ham.F90: wham_get_eig_del2eig. Given a k point, this function returns eigenvalues, first derivatives of the eigenvalues using wham_get_deleig_a, and second derivatives of the eigenvalues using wham_get_del2eig_a_b
-src/postw90/wan_ham.F90: wham_get_eig_del2eig_TB_conv. Modified version of wham_get_eig_del2eig for the TB convention avoids recalculating del2HH, delHH and UU, works with input values
-src/utility.F90: utility_get_degen. Compute the degeneracy of a sorted list (Author: Álvaro R. Puente-Uriona [https://github.com/irukoa]).
-utility/mb.py. Python interactive script for including many-body excitonic effects into the linear and quadratic optical responses