Output of an ultrasonic wave-driven nanogenerator in a confined tube