Recently, smoothed particle hydrodynamics (SPH) method has become popular in computational fluid dynamic and heat transfer simulation. The simplicity offered by this method made some complex system in physics such as moving interface in multiphase flow, heat conductivity jumping in multiple material boundaries and many geometrical difficulties become relative easy to calculate. We will treat a relative easy example of melting process to test the method in solving fluid motion equation coupled by heat transfer process. The main heat transfer processes are caused by solid-liquid (medium to medium) heat diffusion and convection. System interaction with ambient temperature can be modeled by gas surrounding fluid-solid system. For the ambient temperature, we proposed surface particle heat transfer governed by convectional heat flux. Using local particle number density value as surface detection method, we applied cooling and heating to surface particle on the melting ice cube and water system. The simulation result is also verified by experiment.