In the fluid-structure interaction analysis, the finite element formulation is performed for the wave equation for dynamic fluid pressure, and the dynamic pressure is defined as a degree of freedom at the fluid nodes. Therefore, to connect the fluid to the structure, it is necessary to connect the degree of freedom of fluid dynamic pressure and the degree of freedom of structure displacement through an interface element derived from the relationship between dynamic pressure and displacement. The previously proposed fluid-structure interface elements use conformal finite element meshes in which the fluid and structure match. However, it is challenging to construct conformal meshes when complex models, such as water purification plants and wastewater treatment facilities, are models. Therefore, to increase modeling convenience, a method is required to model the fluid and structure domains by independent finite element meshes and then connect them. In this study, two fluid-structure interface elements, one based on constraints and the other based on the integration of nonsmooth functions, are proposed in nonconformal finite element meshes for structures and fluids, and their accuracy is verified.