Solution of viscous flow problems by using the boundary element method