Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| kohn-sham_random-phase_approximation [2025/07/18 20:37] – chemieegortrushi | kohn-sham_random-phase_approximation [2025/07/30 22:26] (current) – [Kohn-Sham random-phase approximation] hesselmann | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Kohn-Sham random-phase approximation ====== | ====== Kohn-Sham random-phase approximation ====== | ||
| + | |||
| + | This chapter describes three different programs that are related to Kohn-Sham based RPA correlation methods. The first one is the density fitting RPA program of Heßelmann et al. described in section [[Kohn-Sham random-phase approximation# | ||
| + | |||
| + | All of the different codes are capable to perform standard RPA correlation energy calculations, | ||
| + | ===== Density fitting RPA programs ===== | ||
| Electron correlation energies within the random-phase approximation can be calculated by the programs **DIRPA**, **RPAX2** and **ACFDT** that are subdirectives of the driver command **KSRPA**. These methods should be used in conjunction with Kohn-Sham reference determinants, | Electron correlation energies within the random-phase approximation can be calculated by the programs **DIRPA**, **RPAX2** and **ACFDT** that are subdirectives of the driver command **KSRPA**. These methods should be used in conjunction with Kohn-Sham reference determinants, | ||
| Line 28: | Line 33: | ||
| - | ===== DIRPA program | + | ==== DIRPA program ==== |
| The direct RPA program (implemented with the algorithm described in [1]) has the following options: | The direct RPA program (implemented with the algorithm described in [1]) has the following options: | ||
| Line 48: | Line 53: | ||
| Note that in case of MODE=1 or MODE=2 it is recommended to have the wavefunction (wfu) directory located on a scratch partition. E.g., add the command line option '' | Note that in case of MODE=1 or MODE=2 it is recommended to have the wavefunction (wfu) directory located on a scratch partition. E.g., add the command line option '' | ||
| - | ===== RPAX2 program | + | ==== RPAX2 program ==== |
| The RPAX2 method is an extension to the RPA and accounts for higher order particle-hole pair exchange contributions [2,3]. The RPAX2 program has the same options as the DIRPA program, see section [[Kohn-Sham random-phase approximation# | The RPAX2 method is an extension to the RPA and accounts for higher order particle-hole pair exchange contributions [2,3]. The RPAX2 program has the same options as the DIRPA program, see section [[Kohn-Sham random-phase approximation# | ||
| Line 57: | Line 62: | ||
| Spin-unrestricted calculations can be done using the **URPAX2** program. In this case the orbitals from a preceeding unrestricted Kohn-Sham calculation have to be passed to the program (via the '' | Spin-unrestricted calculations can be done using the **URPAX2** program. In this case the orbitals from a preceeding unrestricted Kohn-Sham calculation have to be passed to the program (via the '' | ||
| - | ===== ACFDT program | + | ==== ACFDT program ==== |
| The ACFDT (adiabatic connection fluctuation-dissipation theorem) method is an alternative approach to derive the RPA. If used in conjunction with local adiabatic exchange-correlation kernels, the method can also describe electron-electron interaction contributions beyond the RPA. Currently, the ALDA xc-kernel can be used in the program (ACFDT(ALDA) method), see also Ref. [4]. The **ACFDT** program has the following options: | The ACFDT (adiabatic connection fluctuation-dissipation theorem) method is an alternative approach to derive the RPA. If used in conjunction with local adiabatic exchange-correlation kernels, the method can also describe electron-electron interaction contributions beyond the RPA. Currently, the ALDA xc-kernel can be used in the program (ACFDT(ALDA) method), see also Ref. [4]. The **ACFDT** program has the following options: | ||
| Line 302: | Line 307: | ||
| - | ===== RIRPA program | + | ===== Self consistent RPA programs ===== |
| + | |||
| + | ==== RIRPA program ==== | ||
| The RIRPA and URIRPA programs allow non-self-consistent spin-restricted and spin-unrestricted resolution of identity (RI) random phase approximation (RPA) [1-3] and σ-functional [4-6] calculations. These methods should be used in conjunction with conventional Kohn-Sham (KS) density functional theory (DFT) calculations, | The RIRPA and URIRPA programs allow non-self-consistent spin-restricted and spin-unrestricted resolution of identity (RI) random phase approximation (RPA) [1-3] and σ-functional [4-6] calculations. These methods should be used in conjunction with conventional Kohn-Sham (KS) density functional theory (DFT) calculations, | ||
| Line 388: | Line 395: | ||
| * **verb** determines the level of verbosity in the output file, integer values of 0, 1, 3 provide different levels of verbosity (default ’0’) | * **verb** determines the level of verbosity in the output file, integer values of 0, 1, 3 provide different levels of verbosity (default ’0’) | ||
| - | ===== SCEXX program | + | ==== SCEXX program ==== |
| The '' | The '' | ||
| Line 597: | Line 604: | ||
| {{: | {{: | ||
| - | ===== SCRPA program | + | ==== SCRPA program ==== |
| The '' | The '' | ||
| Line 612: | Line 619: | ||
| ---- | ---- | ||
| + | **Important: | ||
| To obtain numerically stable potentials using optimized effective potential method, one must either use regularization techniques to carefully handle the small eigenvalues of the response matrix or to use auxiliary basis sets that are balanced to the orbital basis set. The latter can be done by manually constructing specific orbital and auxiliary basis sets that are sufficiently balanced. This has been possible for a number of atoms and molecules with quite large orbital basis sets [1], but does not qualify as a general applicable routine approach. The '' | To obtain numerically stable potentials using optimized effective potential method, one must either use regularization techniques to carefully handle the small eigenvalues of the response matrix or to use auxiliary basis sets that are balanced to the orbital basis set. The latter can be done by manually constructing specific orbital and auxiliary basis sets that are sufficiently balanced. This has been possible for a number of atoms and molecules with quite large orbital basis sets [1], but does not qualify as a general applicable routine approach. The '' | ||
| Line 626: | Line 634: | ||
| - | Below is an example input file for spin-restricted calculations for the CO molecule. Note that the input record from a preceding calculation is mandatory for initialization of orbitals and eigenvalues as starting point for RPA calculation, | + | Below is an example input file for spin-restricted calculations for the hygrogen |
| - | <code - examples/co_scrpa.inp> | + | <code - examples/h2_scrpa.inp> |
| gdirect ! integral-direct mode | gdirect ! integral-direct mode | ||
| basis={ | basis={ | ||
| - | default, | + | default, |
| - | set, | + | set, |
| set, | set, | ||
| set, | set, | ||
| Line 644: | Line 652: | ||
| 2 | 2 | ||
| - | C | + | H 0.0 0.0 0.370946 |
| - | O | + | H 0.0 0.0 -0.370946 |
| } | } | ||
| Line 651: | Line 659: | ||
| {cfit, | {cfit, | ||
| - | acfd; | + | acfd; |
| </ | </ | ||
| - | As well as an example of a spin-unrestricted calculation for the BeF molecule: | + | As well as an example of a spin-unrestricted calculation for the lithium |
| - | <code - examples/bef_uscrpa.inp> | + | <code - examples/li_uscrpa.inp> |
| gdirect ! integral-direct mode | gdirect ! integral-direct mode | ||
| basis={ | basis={ | ||
| - | default, | + | default, |
| - | set, | + | set, |
| set, | set, | ||
| set, | set, | ||
| Line 670: | Line 678: | ||
| angstrom | angstrom | ||
| geometry={ | geometry={ | ||
| - | 2 | + | 1 |
| - | Be | + | Li 0.0 0.0 0.0 |
| - | F 0.0000000 | + | |
| } | } | ||
| spin=1 | spin=1 | ||
| - | df-uhf, | + | df-uhf, |
| {cfit, | {cfit, | ||
| - | acfd; | + | acfd; |
| </ | </ | ||
| Line 732: | Line 739: | ||
| ---- | ---- | ||
| - | Since the local exchange and correlation potentials are important in self-consistent RPA calculations, | + | Since the local exchange and correlation potentials are important in self-consistent RPA calculations, |
| < | < | ||
| Line 782: | Line 789: | ||
| plt.ylabel(' | plt.ylabel(' | ||
| plt.xlabel(' | plt.xlabel(' | ||
| - | plt.ylim(-2, | ||
| plt.xlim(-5, | plt.xlim(-5, | ||
| plt.legend(frameon=False, | plt.legend(frameon=False, | ||
| Line 789: | Line 795: | ||
| </ | </ | ||
| - | {{:scrpa_co.png?500|}} | + | {{:scrpa_h2.png?500|}} |
| - | In the similar way, for spin-unrestricted calculations with '' | + | In the similar way, for spin-unrestricted calculations with '' |
| <code python> | <code python> | ||
| Line 818: | Line 824: | ||
| </ | </ | ||
| - | {{:uscrpa_bef.png?500|}} | + | {{:uscrpa_li.png?500|}} |