microsolvers and FLIP fluids

   6138   6   3
User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
I'm looking for examples of using microsolvers like Gas Adjust Elasticity with FLIP fluid solvers, is that a no go? All the examples I've seen use particle fluid solvers
User Avatar
Member
606 posts
Joined: May 2007
Offline
Depends. Some microsolvers are made with a certain solver in mind, but some are more general. One clear classification is whether a microsolver operates on geometry or volume data, and that naturally dictates where it can be used. FLIP solver uses both particle geometry and volume fields so in theory microsolvers from both camps could be used, but it really depends on the given solver. You need to understand the FLIP solver quite well to really know what microsolvers make sense in which stage of the solver.

Attached is the minimal example of attaching a Gas Blur microsolver to the FLIP solver. It's set to blur the vel field, resulting in a more viscous behaviour.
I have some more involved hips up here [forums.odforce.net], here [forums.odforce.net], here [forums.odforce.net] and here [forums.odforce.net].

Attachments:
gasblurflip.hip (1.5 MB)

User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
Extremely helpful examples, thanks!
User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
Which brings up my next question, is it possible to mix colors with with FLIP fluid objects, like swirling paint. again, I've seen examples with particle fluid objects but not with FLIP
User Avatar
Member
606 posts
Joined: May 2007
Offline
Yeah, here's a quickie example. I just added point colors to the flip sources, and they survive the simulation. If you want individual particle colors to be mixed then you need to do that yourself. Depending on how you render the simulation output, you might need to transfer the color from the particles to the volume, as I did here. (just add Cd to the existing v)

Attachments:
ee_flip_color_mix.hip (1.6 MB)

User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
Fresher than fresh! thanks man
User Avatar
Member
443 posts
Joined: Sept. 2012
Offline
here is an example using microsolvers with flip solver.

http://forums.odforce.net/topic/21496-mixing-advecting-cd-in-flip-sim-with-multiple-objects/ [forums.odforce.net]
  • Quick Links