Numerical analysis of transient temperature fields in solids by a moving heat source