Heat field. Heating the right edge of an n-type semiconductor on top of a p-type semiconductor leads to loops of current in each material that generate a magnetic field pointing out of the screen, according to computer simulations.