Frictional heating on a fault zone with finite thickness