A study of the flow through a supersonic air intake and control of internal boundary by natural ventilation