description of the velocity field algorithm