Similar to the capillary phenomenon of liquid, granular particles can move up to a certain height along a vertically vibrating tube. The certain height, which is called the equilibrium height, is related to some parameters, e.g., the inner diameter of the tube, the amplitude, and the vibration frequency. In this paper, a theoretical model is proposed to explain the physical origin of the capillary phenomenon and the effects of the inner diameter of the tube, the amplitude, and the vibration frequency on the equilibrium height. In this model, the volumes of the inflowing and outflowing particles in a vibration period are calculated, which can significantly broaden our understanding in the flow of particles in the bottom of the tube. In order to prove the assumption of this physical model that the particles in the bottom of the tube move in the form of sine, several experiments are conducted. The granular climbing heights at different granular positions and different time stages are measured. The results show that granules move in the form of sine, which almost coincides with the motion of the tube. Moreover, motivated by the sampling on the asteroid regolith based on this mechanism, the sampling efficiencies for various vibration amplitudes and frequencies are discussed based on the new proposed model. It is found that there is an optimum frequency at which sampling is the most effective.