Fluid advection of objects

Morning!

Just wondering if there is a workflow for using the fluid as a driving force for objects. So we make fluid sim then replace the particles with objects etc.

I’m thinking this would need extra plugins such as magma flow and Frost. Is it possible to load the fluid particles into Pflow without krakatoa, I’ve not had a look yet :slight_smile:

Thanks!

Hello,

You can use the PhoenixForce Pflow operator to push particles based on your sim.
Another thing you can do is to use the Phoenix PRT Reader (you need to export the particles to PRT first) and feed your particles to VRayInstancer and you can have custom geo for your particles.

Thanks Georgi

I’m just testing now, are you sure this works with the flip core? I am exporting all channels to be safe and getting no birth of particles in Pflow. Just installed todays nightly.

https://www.dropbox.com/s/np8i8d4ig4czvao/PHX_birth.JPG?dl=0

Great tip on the vray instancer, I did not know you could use it like that… shall try that too! :slight_smile:

Thanks

* looks like I have to change the temperature graph in the force operator. Finiding it hard to limit it to the liquid particles movement, filling all the grid at the moment. Any rough idea how this graph should look for fluid? Thanks

It will work for the flip too, just make sure to set your temperature from 0 to 1 range in the Phoenix Birth Operator.

Thanks, yep realised that :slight_smile: It doesn’t follow the fluid very well though. Is it 0 at 0 and 1 at 1? It generally follows the flow but some particles stop mid flow and stay there. Once the fluid hits the bottom of the container it then continues to fall down. Hopefully can get a video to you soon, just trying this out in-between renders :smile:

Yes 0 at 0 and 1 at 1 but don’t expect wonders out of it. It’s a better idea to use the PRT workflow if that will do in your case - it will be faster and it will produce more consistent results.

Ah ok, I was wanting the geometry to flow with the liquid inheriting the orientation etc of the particles. I don’t believe the instancer allows this.

Thanks

If the PRT files contain orientation the Instancer will pick that up. Just make sure to use latest build as we fixed that last week.

We cant export the orientation from Phoenix though, or am I missing something?

Not yet unfortunately but it’s in the list to be implemented.

the phoenix force in pf affects not only the position, but the orientation as well, you can use it.

Yes I had it almost working well in Pflow but it generated a lot of random particles at the wrong position. Also when the water settled the particles just dropped through the floor and continued to fall.

not possible to do it only with phoenix force, you have to use the test operator to drive the particles downward when they are outside the water.
anyway, it’s planned to make simulation time force driving the objects, but not in this release