Numerical simulation of flows with particles%2c bubbles or drops