Wrong SHG component in nl calculations

Questions and doubts about features of non linear optic in Yambo (yamb_nl)

Moderators: Davide Sangalli, claudio, myrta gruning

Dean
Posts: 109
Joined: Thu Oct 10, 2019 7:03 am

Re: Wrong SHG component in nl calculations

Post by Dean » Fri Oct 25, 2024 7:08 am

Dear developers,
I met a problem, i.e., the calculated second-order nonlinear susceptibility along z-direction is always zero for 2D materials with a vacuum slab along z. But, some 2D materials actually show SHG susceptibility out of plane.
I am confused about the calculated results. Is there anything I misunderstand?
Thanks in advance.
Dr. Yimin Ding
Soochow University, China.

User avatar
claudio
Posts: 526
Joined: Tue Mar 31, 2009 11:33 pm
Location: Marseille
Contact:

Re: Wrong SHG component in nl calculations

Post by claudio » Mon Oct 28, 2024 1:05 pm

Dear Dr. Yimin Ding

the SHG in the non-periodic direction is not implemented in Yambo,
for this reason the output is always zero.
We plain to implement it in future version of the code

with best regards
Claudio Attaccalite

ps I updated the yambo wiki to make this point clearer
Claudio Attaccalite
[CNRS/ Aix-Marseille Université/ CINaM laborarory / TSN department
Campus de Luminy – Case 913
13288 MARSEILLE Cedex 09
web site: http://www.attaccalite.com

Dean
Posts: 109
Joined: Thu Oct 10, 2019 7:03 am

Re: Wrong SHG component in nl calculations

Post by Dean » Tue Oct 29, 2024 1:14 am

Dear Claudio Attaccalite,
Many thanks for your reply.
I am looking forward to the new version.
Best
Dr. Yimin Ding
Soochow University, China.

sunxl
Posts: 38
Joined: Wed Aug 14, 2024 8:05 am
Location: China

Re: Wrong SHG component in nl calculations

Post by sunxl » Thu Apr 10, 2025 8:29 am

Dean wrote: Tue Sep 19, 2023 12:57 am Dear Claudio,
Thanks for your reply.
1. I use the lastest version of the code (Yambo-5.2.0), but the output files show "Version 5.1.0 Revision 22561 Hash (prev commit) 785b4fd6f".
2. Based on your suggestion, I recombile yambo with DephMult=6. Then, set time-step to 0.01 fs and NLtime=-1 in the input, but the output is as same as previous run.(please the attachment)
3.I have make a test for hBN, and it works.
4.For my 2D system with C2v point group,it should have five non-zero SHG components, i.e., yxx,yyy, yzz, xxy,zyz. I can get SHG components including yxx,yyy,yzz, and yxy,yyz. But, according to some references, yxy and yyz should be zero, and xxy and zyz should be non-zero, which makes me confused.
Best,
Excuse me, sorry to bother you. For your material, the periodic direction component yxy should be zero, but the actual calculation result is not zero. How did you solve this problem?

Best,
sunxl
Dr. sunxl
Beijing Computing Science Research Center, China.

Dean
Posts: 109
Joined: Thu Oct 10, 2019 7:03 am

Re: Wrong SHG component in nl calculations

Post by Dean » Wed Apr 16, 2025 1:05 am

The problem has not been solved.
Dr. Yimin Ding
Soochow University, China.

sunxl
Posts: 38
Joined: Wed Aug 14, 2024 8:05 am
Location: China

Re: Wrong SHG component in nl calculations

Post by sunxl » Thu Apr 17, 2025 8:21 am

Dear Dean,

Thank you very much for your answer. Wish everything goes well.

Best,
sunxl
Dr. sunxl
Beijing Computing Science Research Center, China.

User avatar
claudio
Posts: 526
Joined: Tue Mar 31, 2009 11:33 pm
Location: Marseille
Contact:

Re: Wrong SHG component in nl calculations

Post by claudio » Tue Apr 22, 2025 10:11 am

Dear sunxl

may you put the DFT inputs of your system in the forum so we can test it using your system

best
Claudio
Claudio Attaccalite
[CNRS/ Aix-Marseille Université/ CINaM laborarory / TSN department
Campus de Luminy – Case 913
13288 MARSEILLE Cedex 09
web site: http://www.attaccalite.com

Post Reply