A 3D mesoscopic model for the closed-cell metallic foams subjected to static and dynamic loadings. (August 2015)