Jump to content

Pyro: I need to retrieve the gradient of a field...


Masoud

Recommended Posts

Hi guys,

In a Pyro simulation, I would like to retrieve the gradient of a field like "density", and then apply the velocity to a range of it (for example where density is 0.2).

I tried to use the gradient mode of the "Gas Analysis" DOP, without success :(

 

I would appreciate any idea...

 

Thanks for helping.

Pyro_Gradient.hip

 

 

 

 

 

 

Pyro_Gradient.jpg

Edited by Masoud
Link to comment
Share on other sites

Another fun one to play with. If you alter the Gas Calculate to divide the gradient against pressure, the smoke becomes less contained as it becomes more curvy.

gradient_pressure.gif

Edited by Atom
  • Like 1
Link to comment
Share on other sites

  • 2 months later...
On 2023/1/8 at PM11点51分, Atom said:

另一个有趣的玩。如果您更改气体计算以将梯度除以压力,则烟雾变得更弯曲时会变得更少。

梯度压力.gif

hello atom,  I did it but it's not work like yours. Can you explain it in more detail? Use two gas calculate ? 

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