fluid flow through pipe

I have seen some flow animations with liquid going through pipe looking pretty real, but I’m not interested in real, I’d like to make an animated flow like here.
Do you know any tips or tutorials for that or maybe another way to show flowing liquid.

hmm, perhaps this could be done with textures.

thanks, I will try