Prediction of imbibition from grain-scale interface movement