Jump to content

Substepping between different DOPnets


Recommended Posts

Hey all, I'm trying to get a better grasp of best practices for managing substeps between two separate DOPnets. I have a DOPnet that takes in moving geo and outputs particles, which I rasterize to a volume, then source into another DOPnet as fuel, temp, etc. for a pyro simulation.

What I'm wondering about specifically is how to keep these two DOPnets in sync. i.e. I want to make sure only newly generated fuel is sourced into the pyro sim, not fuel that's already "burned". My concern is that if the POPnet creates particles with life longer than a substep on my pyro sim, they will be copied into the pyro multiple times.

It seems like it would be best if the particles and Pyro were created in the same DOPnet? I don't know enough about how any of this works though. 

 

Link to comment
Share on other sites

In case anyone else reads this and is wondering the same thing, what I ended up doing is creating my particles in the same DOPnet as my pyro, then sourcing them into my pyro sim by way of a "Gas Particle to Field" node and a "Fetch Data" node. The "Gas Particle to Field" does about what you'd imagine, the caveat being that the particles must already be attached to the smoke object. So the "fetch data" (placed in line between the smoke object and the solver) gets the "Geometry" data from the POP simulation and appends it to the smoke object. Then the "Gas Particle to Field" can be pointed to that "Geometry" data. With a smoke sim I think it's probably okay to leave the incoming particle data named "Geometry", but with a pyro sim you might need to rename it if the sim has some geometry data already. Mine did and I'm not sure why exactly, but it could have been from something else I was doing.

Here's a nice little write up about it: http://www.tokeru.com/cgwiki/index.php?title=HoudiniDops#Advect_smoke_with_particles

Hope this helps someone.

  • Like 1
  • Thanks 1
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...