Natural Convection of Magnetic Nanofluid in a Cavity Under Non-uniform Magnetic Field: A Novel Application