Numerical simulation of lithium granule injection in tokamak edge plasma