Determination of the velocity field in the rolling of porous materials