Is it possible to move particles along a spline?

Already thought about this but I never worked with vector fields before.
What I would like to do looks pretty much like this:

102763-particles.jpg

In fact I would like to move these particles through a pipe so it is necessary that all particles move straight along the spline.
Is it possible to do this with vector fields? If yes, which program to create vector fields do you recommend?