Simulation of energy transfer from a glow discharge to a solid surface