The behavior of H in p-GaN(Mg) at temperatures >400 degreesC is modeled by
using energies and vibration frequencies from density-functional theory to
parameterize transport and reaction equations. Predictions agree semiquanti
tatively with experiment for the solubility, uptake, and release of the H w
hen account is taken of a surface barrier.