This paper presents the implementation of the mortar finite element method for solving two applied problems: the Navier--Stokes equations for viscous incompressible flow and the 2D Helmholtz wave equation for the acoustic scattering. The short description of algorithms and results of numerical experiments are presented.