This work focuses on the influence of different parameters on the entropy generation and the Bejan number in a cavity filled with a Cu-Water nanofluid, with two semicircular isothermal walls associated to the vertical sides. This investigation was divided in two parts. The first concerned the case where the centers of the two isothermal semicircular walls are in the middle of the vertical sides. Related to this configuration, the influence of the Rayleigh number, the nanoparticles volume fraction, the nanoparticles size on entropy generation and Bejan number were studied. The second part concerned the minimization of entropy generation when the semicircular isotherm walls were translated along the vertical sides. Nine combinations related to the location of the two isothermal semicircles were considered. In this context, the variations with the location of the active walls of the thermal irreversibility, the viscous irreversibility, the Bejan number and the ratio (Ri) were calculated, for two fixed values of both, Rayleigh number and volume fraction.