Effect of heating modes on melting performance of a solid–liquid phase change using lattice Boltzmann model