Simulating Oil on the water is not hard with Flip.
Just we should set lower Density for Oil , for example :
Water Density : 1000
Oil Density : 975
Also we should set a little Viscosity for Oil.
Now we can see that the Oil go up and cover top of the water.
But in this project I wanted to save circle shape of the Oil (Drop shape) on animation.
In the normal way Oil's drops covered water after certain time and lose it's circle shape (Drop Shape)!
So I found a very simple and interesting way for solving this problem :
1. At the first I used different ID attr for each drop.
2. I added a “SOP Solver” in the AutoDOPNetwork to save circle shape (Drop Shape) of the oils on the water over time.
3. I added “For Each” SOP in the SOP Solver for doing below operation on all of the drops
4. I measured Area of each drop and compare it with reference value.
If Area is greater than reference value , Then I used negative “Divergence Field” to fix area of each drops between certain value .
You can see final result in this link :
http://www.jkcompany.org/JK_HoudiniAlbum.html [jkcompany.org]