Complex flow of viscoelastic fluids through oscillating pipes. Interesting effects and applications