Jump to content

Control FLIP Viscosity by SOP Attribute


mandelbrot

Recommended Posts

Just curious how I would go about taking point attribute data from the geometry I'm sourcing the fluid from to drive viscosity. In general, I don't think I quite understand the workflow of pulling in SOP level attributes down into DOPs.

 

Thanks!

Link to comment
Share on other sites

It's literally just putting the attribute there. E.g put a point wrangle and set @viscosity = 1, all particles will have this viscosity. If the solver reads the attribute, it will just work. In this particular case you need to activate the viscosity by attribute inside the flip solver. As for which attributes can be used, AFAIK you have go to the documentation and read it there.

 

 

 

Link to comment
Share on other sites

I'll have a go at setting the viscosity outside like you say in a wrangle. I was at first trying to drive it by attribute in the flip solver - you have the option to do viscosity by attribute and select the attribute there. When I did this, it wasn't finding my point attribute I specified.

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...