A boundary element approach to some nonlinear equations from fluid mechanics