Solutions of Primitive Equation for Three-dimensional Tidal Circulation