Jump to content

Smoke from scratch, add force


fabsberry

Recommended Posts

Hey dudes,

I'm trying to build a simple smoke solver from scratch to understand more how they work. I created a simple setup with density, temperature and buoyancy.

Now I want to add a second velocity volume as a force to my simulation. 

But when I add the force, the velocity is increasing massively in a few frames. I have to mix my force with the existing velocity but I don't understand how to do this :unsure:

 

 

 

force.gif

my_solver.hiplc

Link to comment
Share on other sites

16 hours ago, fabsberry said:

But when I add the force, the velocity is increasing massively in a few frames. I have to mix my force with the existing velocity but I don't understand how to do this :unsure:

To do this the right way take a look into the gas wind. The quick and dirty way is to simply advert the fields with you force, but this is not recommended, because it leads to wrong velocities.

Edited by Drughi
  • 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...