Experimental study of thermal performance and flow characteristics of metal foam