Theoretical study on melting of phase change material by natural convection