Numerical simulation of flow separation for rotors and fixed wings