Discrete Eulerian model for population genetics and dynamics under flow