Investigation of the free convection of nanofluid flow in a wavy porous enclosure subjected to a magnetic field using the Galerkin finite element method