In the paper, an effective numerical scheme for two-region and limited space Stefan problem is presented. The main feature of this method is to search for its solution and the temperature field simultaneously. The comparison of the obtained results with approximate analytical solutions shows that the algorithm is feasible and effective