Particle movement and scale formation in porous media