A comprehensive numerical study on entropy generation during natural convection is studied in a square cavity subjected to a wide variety of thermal boundary conditions. Entropy generation terms involving thermal and velocity gradients are evaluated accurately based on the elemental basis set via the Galerkin finite element method. The thermal and fluid… (More)