Iterative algorithm for solving the inverse heat conduction problems with the unknown source function