The comprehensive analysis of natural convection within various enclosures with the concave and convex horizontal walls involving the classical Rayleigh-Bénard heating (hot bottom wall, cold top wall and adiabatic side walls) is carried out via the entropy generation approach. Galerkin finite element method is employed to obtain the solutions in terms of the isotherms (θ), streamlines (ψ), entropy generation (Sθ,Sψand Stotal) and average heat transfer rates (Nut‾) for a selected range of Darcy numbers (10-5⩽Dam⩽10-2), Prandtl numbers (Prm=0.015 and 7.2) at Rayleigh number, Ram=106with various test cases with different wall curvatures (concave and convex). The magnitudes and spatial locations of local entropy generation due to heat transfer and fluid friction are studied for various thermal and geometrical parameters. The active zones with larger Sθare found along near core region and middle portions of the curved walls with less and moderate concavities whereas, those are found only near the middle portions of the curved walls with the high concavity at the low Daminvolving all Prm. In the convex domain, the active zones with larger Sθare seen near the corner regions for the low Damat all Prm. The zones prone to the entropy generation with the high Sθare seen along the mid-horizontal axis of the cavity involving all the concave and convex domains at the high Damand all Prm. Also, the left and right portions of the curved walls act as the active zones with the high Sθfor the concave domains at the high Damand all Prm. The larger values of Sψare seen near all the solid walls (at all Dam) and at the interior zone (at the high Dam) for all Prminvolving all concave and convex cases. Based on the comparison of all the concave and convex cases, the concave case with the high wall concavity may be preferred over the specific concave cases (with the less and moderate wall concavities) and all the convex cases due to the larger Nut‾ and less Stotalvalues for the entire range of Damand Prm. © 2017 Elsevier Ltd