Temperature along the perforation of wells