Text this: A semi-analytical method based on the Green's function for the laser melting process of the metal materials