mandelbrot Posted May 6, 2017 Share Posted May 6, 2017 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! Quote Link to comment Share on other sites More sharing options...
vtrvtr Posted May 6, 2017 Share Posted May 6, 2017 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. Quote Link to comment Share on other sites More sharing options...
mandelbrot Posted May 6, 2017 Author Share Posted May 6, 2017 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! Quote Link to comment Share on other sites More sharing options...
adrianr Posted May 7, 2017 Share Posted May 7, 2017 Ben Watts did a great tutorial on this very thing. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.