Non-Newtonian flow analysis by finite elements