Modeling the Motion of Solid Objects Immersed in Viscoelastic Fluids