Euler-based throughflow method for inverse design and optimization of turbomachinery blades