Numerical flow simulation for turbomachinery