Simulation of dislocation glide in precipitation hardened materials