Prediction of imbibition in simple porous media