A Galerkin-Legendre spectral method for the solution of the vorticity and s
tream function equations in uncoupled form under no-slip conditions in a sq
uare domain is presented which fully exploits the separation of variables i
n the two elliptic problems, benefits from a nonsingular influence matrix,
and is able to solve the singular driven cavity problem (modulo Gibbs' phen
omenon) even without regularizing the boundary condition at the corners. (C
) 1999 Academic Press.