Dear all!
I am trying to compute the induced density in a metal slab, which I ultimately want in the direction perpendicular to the slab, i.e. integrated over the two periodic directions. To this end, I compute the RPA response function and get the real- and imaginary part of alpha. Now, the induced density (in linear order) should be the integral over the ground state density and the density-density response function. Is there a possibility how I can get the latter in real-space from Yambo?
Many thanks,
Christian
Induced density
Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan
- csk
- Posts: 17
- Joined: Wed Aug 28, 2024 9:54 pm
Induced density
Christian Kern, University of Graz, Austria
- Davide Sangalli
- Posts: 662
- Joined: Tue May 29, 2012 4:49 pm
- Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
- Contact:
Re: Induced density
Dear Christian,
yambo can give you the response function in G-space. X_{G,G'}(q,\omega)
Page 7 here: https://wiki.yambo-code.eu/wiki/index.p ... heatsheets --> https://wiki.yambo-code.eu/wiki/index.p ... 5.0_P7.png
What you probably (?) want is the induced density
rho_G(q,\omega) = sum_G' X_{G,G'}(q,\omega) V^{ext}_{G'}(q,\omega)
If you are fine with the q=0 and \omega=0 the info you need is printed in the database of the screening ndb.em1s_fragment_1.
Probably with yambopy you can try to code the above equation by reading the ndb.em1s_fragment_1 or similar.
Best,
D.
yambo can give you the response function in G-space. X_{G,G'}(q,\omega)
Page 7 here: https://wiki.yambo-code.eu/wiki/index.p ... heatsheets --> https://wiki.yambo-code.eu/wiki/index.p ... 5.0_P7.png
What you probably (?) want is the induced density
rho_G(q,\omega) = sum_G' X_{G,G'}(q,\omega) V^{ext}_{G'}(q,\omega)
If you are fine with the q=0 and \omega=0 the info you need is printed in the database of the screening ndb.em1s_fragment_1.
Probably with yambopy you can try to code the above equation by reading the ndb.em1s_fragment_1 or similar.
Best,
D.
Davide Sangalli, PhD
Piazza Leonardo Da Vinci, 32, 20133 – Milano
CNR, Istituto di Struttura della Materia (ISM)
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/
Piazza Leonardo Da Vinci, 32, 20133 – Milano
CNR, Istituto di Struttura della Materia (ISM)
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/
- csk
- Posts: 17
- Joined: Wed Aug 28, 2024 9:54 pm
Re: Induced density
Dear Davide!
Many thanks for your reply!
1) What runlevel would I need such that ndb.em1s* are stored? With "yambo -o c -k Hartree -r" only the dipoles and RIM/cutoff are stored.
2) Can I also access the X_{G,G'}(q,\omega) elements for \omega > 0? If I understand correctly, those are controlled by "ETStpsXd" and "EnRngeXd"?
Cheers,
Christian
Many thanks for your reply!
1) What runlevel would I need such that ndb.em1s* are stored? With "yambo -o c -k Hartree -r" only the dipoles and RIM/cutoff are stored.
2) Can I also access the X_{G,G'}(q,\omega) elements for \omega > 0? If I understand correctly, those are controlled by "ETStpsXd" and "EnRngeXd"?
Cheers,
Christian
Christian Kern, University of Graz, Austria
- Davide Sangalli
- Posts: 662
- Joined: Tue May 29, 2012 4:49 pm
- Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
- Contact:
Re: Induced density
For the static screening:
https://wiki.yambo-code.eu/wiki/index.p ... _screening
If you want the frequency dependent screening use either multi-plasmon pole (MPA) or full freqeuncy (FF)
https://wiki.yambo-code.eu/wiki/index.p ... tion_(MPA)
Pleas notice that, however it is not directly the reponse function which is written in the databases, but v(G)*X_{G,G'} (if I'm not wrong), both in the static and in the dynamical case
There is in principle also the option
which directly prints the response function, but it is not very much tested.
Best,
D.
Code: Select all
yambo -X bIf you want the frequency dependent screening use either multi-plasmon pole (MPA) or full freqeuncy (FF)
Code: Select all
yambo -X d / PAPleas notice that, however it is not directly the reponse function which is written in the databases, but v(G)*X_{G,G'} (if I'm not wrong), both in the static and in the dynamical case
There is in principle also the option
Code: Select all
yambo -X XBest,
D.
Davide Sangalli, PhD
Piazza Leonardo Da Vinci, 32, 20133 – Milano
CNR, Istituto di Struttura della Materia (ISM)
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/
Piazza Leonardo Da Vinci, 32, 20133 – Milano
CNR, Istituto di Struttura della Materia (ISM)
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/
- Daniele Varsano
- Posts: 4306
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Induced density
Dear Christian,
just a small warning. In metals, in the long range limit q->0 intraband contribution to the response functions are not taken into account, while they are for finite q. What you can do is to extrapolate the q->0 limit from the calculated values at finite q.
Best,
Daniele
just a small warning. In metals, in the long range limit q->0 intraband contribution to the response functions are not taken into account, while they are for finite q. What you can do is to extrapolate the q->0 limit from the calculated values at finite q.
Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/