On the use of a diffuse-interface model for the simulation of rigid particles in two-phase Newtonian and viscoelastic fluids. (12th October 2017)