In this paper, we propose a spectral method for the n-dimensional Navier---Stokes equations with non-slip boundary conditions by using the divergence-free base functions. The numerical solutions fulfill the incompressibility and the physical boundary conditions automatically. In particular, we only need to evaluate the unknown coefficients of expansions of arbitrary $$n-1$$n-1 components of the velocity. These facts simplify actual computation and numerical analysis, and save computational time essentially. As the mathematical foundation of this new approach, we establish some approximation results, with which we prove the spectral accuracy in space of the suggested algorithm. Numerical results demonstrate its high efficiency and coincide the analysis very well.
Read full abstract