JoshJ Posted July 24, 2009 Share Posted July 24, 2009 Hi, I'm doing a simulation in the same dopnet in two steps, step 1: a fracturing wall written to a file dop, bricks$SF4.sim step 2: a smoke simulation where the rbd fractured bricks collide with the smoke what I'd like to do is take the sdf information from step 1, and use it to affect the smoke in step 2. The only thing I've tried that works so far, is to dop import step 1 back into sops, then read it back into dops as a static object. However, it needs to generate the sdf information again this way, which I must avoid. Are there any better workflows for something like this? I tried various things, like saving out the sdf from sops as .simdata files and reading them in to the static object's collision file parameter, but haven't gotten it to work successfully yet. Quote Link to comment Share on other sites More sharing options...
sam.h Posted July 25, 2009 Share Posted July 25, 2009 Under the collisions > volume tab of a static / RBD object in DOPs there are "File" and "File mode" options. They should do what you want. Quote Link to comment Share on other sites More sharing options...
JoshJ Posted July 25, 2009 Author Share Posted July 25, 2009 Thanks sam, it looks like that works well for single objects. However, I have a dynamically fracturing wall (using johner's fracture otl), so I will need something that saves the sdf of all of the fractured rbd objects that are created on the fly, then reads them in for a later step of the simulation. Therefore I was hoping I could somehow query and use the Geometry/Volume from all the objects in a saved sim file sequence, and collide that with a smoke simulation. Quote Link to comment Share on other sites More sharing options...
mrice Posted July 25, 2009 Share Posted July 25, 2009 Hey Josh, If it helps, you can write/read multiple sdfs from the collisions tab by using a file name like chunk_`$OBJID`.sim But why can't you read back your wall sim with a file DOP and use that to collide with the smoke? Quote Link to comment Share on other sites More sharing options...
JoshJ Posted July 25, 2009 Author Share Posted July 25, 2009 I just tried a simple prototype example of reading it back in with a file dop, and it worked. Thanks! Hey Josh, If it helps, you can write/read multiple sdfs from the collisions tab by using a file name like chunk_`$OBJID`.sim But why can't you read back your wall sim with a file DOP and use that to collide with the smoke? 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.