A lattice Boltzmann model for liquid-vapor-solid flow with thermal phase change. (15th May 2022)