Exact calculation of the temperature field in large pieces during quenching