In this paper we consider a modiication of the immersed boundary method based on a nite element approximation of the uid. Besides some theoretical considerations, we present two dimensional numerical examples which connrm the good behavior of the computed solutions.