How to simulate some solid part flow through some piping system?

I want to design a test rig consisting of valves, pump, storage tank, heater. I want to simulate the behavior of nut, bolt or any other solid part flow with the liquid through the piping system, estimating its trajectory and the vibrations it produces due to collision with the pipe walls. I am just at beginner level with these softwares so any kind of help will be appreciated. Thanks