Flow conveying and diagnosis with carbon nanotube arrays