Compute velocity

for reference: https://gitlab.kitware.com/paraview/paraview/-/issues/22619