Numerical Investigation of Internal and External Three-Dimensional Flow Separation