In current article, transportation of CuO nanoparticles through a porous enclosure is demonstrated. The enclosure has complex shaped hot wall. Porous media has been simulated via two temperature equations. Magnetic force impact on nanofluid treatment was considered. Control volume based finite element method has been described to solve current article in vorticity stream function form. Single phase model was chosen for nanofluid. Nanofluid characteristics are predicted via KKL model. Roles of solid-nanofluid interface heat transfer parameter (Nhs), porosity, Hartmann and Rayleigh numbers have been illustrated. Outputs illustrated that conduction mode reduces with augment of Ra. Increasing magnetic forces make nanofluid motion to decrease. Temperature gradient of nanofluid decreases with augment of Nhs. Reducing porosity leads to enhance in Nusselt number.