Jump to content
noumiere

Flip Repel/Attract help

Recommended Posts

Hi all,

2020-05-07_02h29_25.png.740451fcc57f5d324d08d70b91430157.png

I'm trying to replicate an effect that involves sourcing Red and Blue particles on a Sphere that have an @attract attribute which determines if they repel or attract.

I have run into a problem that I assume is quite simple but I have gone over the whole thing a few times without any success.

I suspect the issue is in my DOP network where I have a Sop Solver that updates the Velocity through a Volume VOP using a Gradient and Volume Sample and outputs it to a bind export 'v', however I have tried to bind export it to 'vel' but it still doesn't work.

There's a Gas Surface Tension that tries to keep the Red and Blue particles together.

I have attached the file and would appreciate if someone could point out what I am doing wrong as I'm trying to learn this effect by breaking it down.

Thanks and appreciate any insight!

FLIP_zero_gravity_v01.hip

Share this post


Link to post
Share on other sites

I think the issue is because the velocity is not coming in to the simulation from the sourcing.. however any insight would be welcome as I still haven't gotten it to work

Share this post


Link to post
Share on other sites

Hey @noumiere
The problem is that you are doing volume operations inside the sopsolver and the flip solver doesn't recognize what you are feeding in
If you do it with point operators should work fine :)

Share this post


Link to post
Share on other sites

Thanks a lot Diego.It had to be something frustrating that I failed to see. I appreciate the help, it works now!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×