Flow and migration of nanoparticle in a single channel