Abstract
Our aim in this article is to derive an upper bound on the dimension of the attractor for Navier-Stokes equations with nonhomogeneous boundary conditions. In space dimension two, for flows in general domains with prescribed tangential velocity at the boundary, we obtain a bound on the dimension of the attractor of the form $c\mathcal{R} e^{3/2}$, where $\mathcal{R} e$ is the Reynolds number. This improves significantly on previous bounds which were exponential in $\mathcal{R} e$.