Masoud Posted January 6, 2023 Share Posted January 6, 2023 (edited) 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 Edited January 6, 2023 by Masoud Quote Link to comment Share on other sites More sharing options...
MENOZ Posted January 6, 2023 Share Posted January 6, 2023 make sure your vector field has the right dimensions. usually i use gas match field instead. also, not sure about the data name of gas analysis to be the same as the vector field, (i didn't open the hip) Quote Link to comment Share on other sites More sharing options...
Masoud Posted January 7, 2023 Author Share Posted January 7, 2023 Yes, my vector field has the right dimensions. Any practical tips? Quote Link to comment Share on other sites More sharing options...
fencer Posted January 8, 2023 Share Posted January 8, 2023 8 hours ago, Masoud said: Yes, my vector field has the right dimensions. Any practical tips? If I understand correctly, check hip. Pyro_Gradient_v02.hip 1 Quote Link to comment Share on other sites More sharing options...
Atom Posted January 8, 2023 Share Posted January 8, 2023 (edited) 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. Edited January 8, 2023 by Atom 1 Quote Link to comment Share on other sites More sharing options...
Masoud Posted January 9, 2023 Author Share Posted January 9, 2023 Hi Paul, thank you for the tips and the hip file. Quote Link to comment Share on other sites More sharing options...
Masoud Posted January 9, 2023 Author Share Posted January 9, 2023 Hi Atom, can you explain more please? Quote Link to comment Share on other sites More sharing options...
Masoud Posted January 9, 2023 Author Share Posted January 9, 2023 If you know any useful documentation or tutorial about how to use the Microsolvers, please let me know. Quote Link to comment Share on other sites More sharing options...
VFX99 Posted March 10, 2023 Share Posted March 10, 2023 On 2023/1/8 at PM11点51分, Atom said: 另一个有趣的玩。如果您更改气体计算以将梯度除以压力,则烟雾变得更弯曲时会变得更少。 hello atom, I did it but it's not work like yours. Can you explain it in more detail? Use two gas calculate ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.