I want to make a DFT code (by myself) that works in the RKS LDA H2 configuration. This post is a continuation of here.
Now by adding the Vosko, Wilk, Nusair correlation I have much better results :
But when compared to results of this article, the energy I got seems greater compared to the article. I am thinking that the exchange energy might be the problem. The results can be found here. The most important picture to look at being the exchange-correlation energy Exc_VWN.png. I ran H2_RHF_STO3G_becke.py.
The Dirac exchange energy is given by : $$E_x^{Dirac} = \int \rho \epsilon_x(\rho) = -\frac{3}{4}(\frac{3}{\pi})^{1/3} \int \rho^{4/3}$$
Hence the exchange potential is : $$ v_x(\rho) = -(\frac{3}{\pi}\rho)^{1/3} $$
But I am not sure if it is right. I have two resources that defines the exchange energy in the case where you have $\alpha$ and $\beta$ densities :
- Introduction to Computational Chemistry, Frank Jensen, third edition, p 247 :
$$ E_x^{LSDA} = -2^{1/3} \frac{3}{4}(\frac{3}{\pi})^{1/3} \int \rho_{\alpha}^{4/3} + \rho_{\beta}^{4/3} $$
which is not consistant with the case where you consider an unique electron density (for RKS and RHF methods). By continuing to read, I stumbled upon the $X_{alpha}$ LDA methods. so I have a question:
How is LSDA exchange energy is derived? And why is it not consistent with the RKS case where $\alpha$ and $\beta$ electrons have the same density also the LDA case?