Jump to content
Sign in to follow this  
fabsberry

Smoke from scratch, add force

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

Share this post


Link to post
Share on other sites

Maybe you forget "Gas Project Non Divergent", check this:

 

Edited by fencer
  • Thanks 1

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×