Convective ow and heat transfer of uid inside a square en- closure having heat generating solid body, with various thermal boundary conditions is investigated numerically. The top wall of the enclosure is adiabatic, both the bottom and right walls are kept at constant temper- ature, while the left wall is heated using sin function. Numerical simu- lations is carried out by solving the governing equations using SIMPLE algorithm by means of the nite-volume method with power-law scheme. The important parameters focused are angle of inclination of the enclo- sure, area ratio of solid-enclosure, Hartmann number and temperature dierence ratio of solid- uid, which are ranges 0 o - 90 o , 0:0625 - 0:5625, 0 - 100 and 0 - 50, respectively. Thermal conductivity ratio of solid- uid is xed as 5 and Rayleigh number as 10 5 .