The purpose of this paper is to investigate the simulation of mixed convection in a lid-driven wavy enclosure with blocks positioned at various positions. This study also examined the impact of the longitudinal position of the heated block on heat transfer enhancement. The Galerkin weighted residual finite element method is employed to computationally solve the governing equations of Navier-Stokes, thermal energy, and mass conservation. The enclosure consists of two square heated blocks strategically placed at different heights-firstly, one set is closer to the bottom surface; secondly, one set is nearer to the middle area and finally, one set is closer to the upper undulating surface of the enclosure. The wavy top wall's thermal insulation, along with active heating of the bottom wall and blocks, generates a dynamic convective atmosphere. In addition, the left wall ascends as the right wall falls, causing the flow formed by the lid. The study investigates the impact of the Richardson number on many factors, such as streamlines, isotherms, dimensionless temperature, velocity profiles, and average Nusselt numbers. These impacts are depicted through graphical illustrations. In all instances, two counter-rotating eddies were generated within the cage. Higher rotating speed consistently leads to improved performance, irrespective of other characteristics. Furthermore, an ideal amalgamation of the regulating factors would lead to increased heat transmission.