Ideal free streamline flow over a curved obstacle