Potential flow modelling of boundary layer ingesting configurations