Jump to content

particle advection problem


wodH

Recommended Posts

Hi there,

First time trying to advect particle to my fluid source, however the particle seems to be pushed to certain direction. I have checked my velocity on my particle, dont seem to have any velocity pointing anywhere towards to where its going. 

Im pretty sure there are many other ways to advect  it, this is the only way I come up with since I just started to use houdini, I have attached the file down below please sim a few frame of this pyro and to be able to check the particles. I have tried to name everything as clear as possible at the same time.

Thank you guys in advance!


 

particleAdvectionProblem.hip

Link to comment
Share on other sites

It's working as intended. Fluid simulations in computer graphics tend to be "incompressible", meaning during the solve they undergo a pressure solve that essentially makes the velocity field continuous on the grid, also called divergent free. As a result, there will be velocity present everywhere on the grid. To visualize this, you can plug in a vector field visualization into your sop vector field and check on streamers.

If anyone notices any incorrect information feel free to correct me, I am still learning as well. 

These are great videos that I have watched several times

https://vimeo.com/119694897   (it has english subtitles)

https://vimeo.com/42988999

 

anyways, after your pyro simulation you can multiply your velocity field by density to mask it off before advecting your points with it.

Edited by dchow1992
Link to comment
Share on other sites

Can't open the file at the moment, but if you set the advection to set velocity and set the method to trace (sometimes lower the cfl to 0.9 or something)  you should get it pretty accurately close to your density field.  If you are using it as a force then it will give it a push in the right direction, but won't follow the sim exactly. Depends on what you're after to what you would use. 

  • Like 1
Link to comment
Share on other sites

15 hours ago, dchow1992 said:

It's working as intended. Fluid simulations in computer graphics tend to be "incompressible", meaning during the solve they undergo a pressure solve that essentially makes the velocity field continuous on the grid, also called divergent free. As a result, there will be velocity present everywhere on the grid. To visualize this, you can plug in a vector field visualization into your sop vector field and check on streamers.

If anyone notices any incorrect information feel free to correct me, I am still learning as well. 

These are great videos that I have watched several times

https://vimeo.com/119694897   (it has english subtitles)

https://vimeo.com/42988999

 

anyways, after your pyro simulation you can multiply your velocity field by density to mask it off before advecting your points with it.

thank you for the reply, I will check those videos out right the way. Main concern was why those particles got pushed to one direction when my fluids wasnt going to that axis.

If I figure out later on I will post the result with explanation.

Thanks

Link to comment
Share on other sites

57 minutes ago, Solitude said:

Can't open the file at the moment, but if you set the advection to set velocity and set the method to trace (sometimes lower the cfl to 0.9 or something)  you should get it pretty accurately close to your density field.  If you are using it as a force then it will give it a push in the right direction, but won't follow the sim exactly. Depends on what you're after to what you would use. 

Thanks for the reply, I will dig into that and play with some settings. Once again if I figured something out later on, I will post the result with explanation of it.

:D

thank you

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