The purpose of the study is to investigate the heat transfer for copper oxide-water nanofluid flow inside a concentrical annulus between a colder square and het up elliptical cylinder using nonhomogeneous dynamic model numerically. The uniform temperature is applied for the elliptic cylinder and square wall. An unvarying magnetic field is enforced within an enclosure. The momentum, energy and concentration equations along with the continuity equations of nanofluids are strongly coupled and nonlinear and solved using the Galerkin finite element method. The flow, thermal and concentration fields have been displayed to recognize the heat transfer for copper oxide-water nanofluid. The nature of the heat transfer is justified for pertinent parameters of the problem. The results show that the flow, thermal field, and concentration field are strongly controlled by the applied magnetic field. The heat transfer increases significantly for the increase of nanoparticle volume fraction, thermal Rayleigh number and slightly for the magnetic field inclination angle whereas it decreases remarkably for an increase of the nanoparticle diameter and the magnetic field parameter. The similar patterns but opposite effects of heat transfer distribution occur for the increment of the magnetic field and the buoyancy force parameter