Heat of solution of hydrogen in Al and Mg

Abstract
Electron charge distibution around a proton in Al and Mg has been calculated self-consistently using the Kohn-Sham density functional formalism. The exchange-correlation potential has been treated both in the local-density approximation and including the first gradient correction. The results are used to compute the heat of solution of hydrogen in Al and Mg. Comparison has been made with earlier theoretical and experimental values.