Poiseuille and Couette flow of non-Newtonian fluids