Basharat WantPhysics · University of Kashmir
Menu

Computational Materials Physics & DFT

1D Kohn–Sham DFT Solver

Solve the one-dimensional Kohn–Sham equations self-consistently on a uniform finite-difference grid in Hartree atomic units.

Numerically calculated educational modelComputed in-browser from a reduced-dimensional or model Hamiltonian for pedagogy; not a full 3D periodic ab initio DFT calculation.

[−12d2dx2+vext(x)+vH[n](x)+vxc[n](x)]ψi(x)=εiψi(x)\left[-\frac{1}{2}\frac{d^2}{dx^2} + v_{\mathrm{ext}}(x) + v_H[n](x) + v_{xc}[n](x)\right]\psi_i(x) = \varepsilon_i \psi_i(x)
Etot=∑ifiεi−EH[n]+Exc[n]−∫n(x) vxc(x) dx+EnnE_{\mathrm{tot}} = \sum_i f_i \varepsilon_i - E_H[n] + E_{xc}[n] - \int n(x)\,v_{xc}(x)\,dx + E_{\mathrm{nn}}

Hamiltonian & SCF Parameters

Ready.

Ground-State Summary & Energy Decomposition

Model Scope & Limitations

This educational solver operates in one spatial dimension (Hartree atomic units: $\hbar = m_e = e = 4\pi\varepsilon_0 = 1$) using Dirichlet boundaries $\psi(\pm L/2)=0$. It reproduces exact textbook eigenvalues for the infinite square well and harmonic oscillator when electron–electron interactions are turned off, and demonstrates self-consistent screening and double-counting corrections when Hartree and quasi-1D LDA terms are enabled. It is not a 3D periodic plane-wave ab initio code.

References

  • W. Kohn and L. J. Sham, Phys. Rev. 140, A1133 (1965).
  • M. Casula, S. Sorella, and G. Senatore, “Ground state properties of the one-dimensional Coulomb gas using the lattice regularized diffusion Monte Carlo method,” Phys. Rev. B 74, 245427 (2006).