Critical heat flux in non-circular channels