spin inflow outflow pipe