Natural convection in an inclined rectangular cavity filled with air is numerically investigated. The cavity is heated and cooled along the active walls whereas the two other walls of the cavity are adiabatic. Entropy generation due to heat transfer and fluid friction has been determined in transient state for laminar natural convection by solving numerically: the continuity, momentum and energy equations, using a Control Volume Finite Element Method. The
structure of the studied flows depends on four dimensionless parameters which are: the thermal Grashof number, the inclination angle, the irreversibility distribution ratio and the aspect ratio of the cavity. The obtained results show that entropy generation tends towards asymptotic values for lower thermal Grashof number values, whereas it takes an oscillative behavior for higher values of thermal Grashof number. Transient entropy generation increases towards a maximum value, then decreases asymptotically to a constant value that depends on aspect ratio of the enclosure. Entropy generation increases with the increase of thermal Grashof number, irreversibility distribution ratio and aspect ratio of the cavity. Bejan number is used to measure the predominance of either thermal or viscous irreversibility. At local level, irreversibility charts show that entropy generation is mainly localized on bottom corner of the left heated wall and upper corner of the right cooled wall.