Microscale simulation of particle deposition in porous media