Dave Stewart Posted January 11, 2016 Share Posted January 11, 2016 Hello All, Been lurking for a bit since I started dabbling in Houdini, and must say am in awe of the level of genius on exhibit here! Houdini is still kicking my ass in so many ways, but I'm a glutton for punishment I guess, and looking for excuses to spend less time in Max. This is a simple setup that seems to work OK, but I'm curious if there are other/better ways of getting these 2 solvers to interact. Currently I'm using PopAdvectByVolumes on the Grains to transfer Vel from the FLIP sim, and building a collision SDF in a SOP solver attached to the Grains sim which then gets pulled into a SourceVolume on the FLIP sim. I'm sure this is nowhere near physically accurate, but it does look pretty neat, and can be improved by adding custom attributes on the grain points for wetness etc. Thoughts? --Dave DJS_ODForce_FLIP_Grains_Interact_SampleSetup.hip 5 4 Quote Link to comment Share on other sites More sharing options...
Dave Stewart Posted January 14, 2016 Author Share Posted January 14, 2016 No takers? Hope someone finds the file useful... --Dave Quote Link to comment Share on other sites More sharing options...
Hamp Posted January 15, 2016 Share Posted January 15, 2016 Hi, I'm not versed enough to try something different. However, the file is much appreciated since it's a fine example to get solvers that don't interact to pseudo-interact. Thanks a lot! Quote Link to comment Share on other sites More sharing options...
Dave Stewart Posted January 18, 2016 Author Share Posted January 18, 2016 Good to hear you found it useful Hamp! Quote Link to comment Share on other sites More sharing options...
Juraj Posted January 18, 2016 Share Posted January 18, 2016 Hi, nice example, thanks for sharing Juraj Quote Link to comment Share on other sites More sharing options...
Farmfield Posted January 19, 2016 Share Posted January 19, 2016 (edited) Dunny what kind of hardware you got, Dave, but a tip is ticking the OpenCL boxes, this sim was a magnitude faster using OCL than not. I also believe you could have set this up using a multi solver as both FLIP and grains are particle based simulations, I'm pretty sure you are doing a lot of stuff twice having them interact like this - if you jump into the FLIP and grain solvers you can see how they themselves are set up and how everything you are doing could happen one step into either one of these solvers. With that said, jumping into and starting to dissect the solvers isn't the easiest thing, though it's helpful watching stuff like this 1-2 times before you jump in. Edited January 19, 2016 by Farmfield Quote Link to comment Share on other sites More sharing options...
Cuenk89 Posted January 21, 2016 Share Posted January 21, 2016 Hi, I made a setup for create wet sand, taking this simulation example. I share it to help anyone. Improvements are most welcome! Wet_grain_setup.hip 2 Quote Link to comment Share on other sites More sharing options...
Dave Stewart Posted January 28, 2016 Author Share Posted January 28, 2016 Thanks for the feedback Johnny, much appreciated! I did have OpenCL enabled while testing, but disabled it for compatibility. Plus my Quadro here at work is less stable with ocl then the Titan I have at home. Good point to make though, I'll add a note about that to the Vimeo description where the file is also posted. I'm curious if you've tried a multi-solver setup that works for something like this. My (basic and possibly misguided) understanding is that while FLIP uses particles to transport simulation data, it uses volumes for solving (collisions particularly), whereas Grains uses purely particle-based collisions for it's PBD solve. Hence them not interacting natively, though I'm sure there are more elegant ways to make this happen than my n00b setup! I did watch the solvers from scratch a while back, but probably only absorbed/understood a fraction of it at the time. You're right, need to watch it 1 or 2 more times and then re-approach this problem! --d Quote Link to comment Share on other sites More sharing options...
Farmfield Posted January 29, 2016 Share Posted January 29, 2016 LOL, I should have skipped the dash and just written "12", this just isn't the "easy stuff" in Houdini, which in itself is saying something. Quote Link to comment Share on other sites More sharing options...
Dave Stewart Posted January 29, 2016 Author Share Posted January 29, 2016 Ha, totally Johnny! I'm just going to play that video on a loop while I sleep and hope it seeps in via osmosis over the course of a few months... 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.