Three-dimensional study of parallel shear flow around an obstacle in water channel and air tunnel