Development of structure in pores and sunspots: flows around axisymmetric magnetic flux tubes