The three-dimensional pipeflow boundary layer equations of Smith are shown to apply to certain external flow problems, and a numerical method for their solution is developed. The method is used to study flow over surface irregularities, and some three-dimensional separated flows are calculated.