Numerical investigation on water exchange of shale samples