Solidification of fluid saturated in open-cell metallic foams with graded morphologies