Jump to content

Simple Smoke Sim from Scratch


Annon

Recommended Posts

Just having a play around in DOPs. I've been using a lot of GAS nodes recently so thought I'd start building up a smoke sim from scratch, just to further my understanding of it. But I hit amateur hour and can't get out of it!

I just wanted to add density and temperature, add bouyancy to velocity from temp and advect density by it.

For some reason temperature advects, although it disappears outside of the density bound. And density doesn't advect at all.

What am I missing here?

Christian

basicSmokeSim.hip

Link to comment
Share on other sites

Just having a play around in DOPs. I've been using a lot of GAS nodes recently so thought I'd start building up a smoke sim from scratch, just to further my understanding of it. But I hit amateur hour and can't get out of it!

I just wanted to add density and temperature, add bouyancy to velocity from temp and advect density by it.

For some reason temperature advects, although it disappears outside of the density bound. And density doesn't advect at all.

What am I missing here?

Christian

you're missing the most important step in the fluid solve, projection.

fluid solve = advection + forces + projection/incompressibility

add a gas project node and your fluid works fine

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...