Solution of the navier-stokes equations by finite element methods