Mathematical modelling of fluid flow using the boundary element method