Fluid question-game engine

I have two box: one have a oil and the other have water.
Now I wan to put inside a box a sphere witha aprticula velocity and collision in the box with a water.
If I put in the box contain oil I want to have a different velocity because the density is different?

Is it possible to make a dependence of the velocity of a ball inside a liquid in function of the density of fluid? :confused:

I donโ€™t fully understand what you are asking but the fluid engine doesnโ€™t work in realtime