Collective behaviors are always mysterious and fascinating. Fish school is a typical collective motion in nature. However, why do some fish need to swim together while other fish swim alone? and how do they coordinate with others through fluid mediation to avoid colliding or diverging? These questions have not been answered yet. This research will shed light on these questions from the aspects of fluid dynamics. It will also help the design of the underwater robots swarm.