Numerical solution of viscous flow around arbitrary airfoils in a straight cascade