Effects of magnetic-fluid flow on structural instability of a carbon nanotube conveying nanoflow under a longitudinal magnetic field