Fabiano Berlim Posted September 23, 2011 Share Posted September 23, 2011 I'm trying to understand how pressure attribute affects volume. I was expecting volumes to avoid the high density areas and escape to lower density areas. So, to test it, I zero out temperature and start emitting volume from a stopped source. But volume just stay still. I also tried to modify data inside pressure. Nothing. Any clue? Quote Link to comment Share on other sites More sharing options...
chimeric Posted September 23, 2011 Share Posted September 23, 2011 I am not sure about pressure but have you tried using divergence instead? Quote Link to comment Share on other sites More sharing options...
Fabiano Berlim Posted September 24, 2011 Author Share Posted September 24, 2011 I am not sure about pressure but have you tried using divergence instead? You're right. Thanks! Divergence can give me some cool effects. I've found this inside houdini manual. "You could also try using a compressible fluid to allow the fluid to expand in the center. You can do this by setting the divergence field to the amount of compression/expansion you want to occur in each voxel." This an example of a volume doing compression and expansion. divergence.hipnc And back to the post topic. If expansion and compression is done with divergence. What about pressure? Quote Link to comment Share on other sites More sharing options...
~nature~ Posted September 24, 2011 Share Posted September 24, 2011 You're right. Thanks! Divergence can give me some cool effects. I've found this inside houdini manual. "You could also try using a compressible fluid to allow the fluid to expand in the center. You can do this by setting the divergence field to the amount of compression/expansion you want to occur in each voxel." This an example of a volume doing compression and expansion. divergence.hipnc And back to the post topic. If expansion and compression is done with divergence. What about pressure? To my understanding, Pressure is here to ensure the divergence (free) in the equation and output in the node Gas Project Non Divergent, the purpose of this pressure field may be later used as reference or to exert the feedback force to the objects which interact with the fluid. Cheers. Quote Link to comment Share on other sites More sharing options...
Fabiano Berlim Posted September 24, 2011 Author Share Posted September 24, 2011 To my understanding, Pressure is here to ensure the divergence (free) in the equation and output in the node Gas Project Non Divergent, the purpose of this pressure field may be later used as reference or to exert the feedback force to the objects which interact with the fluid. Cheers. I suppose you're right. But the volume also seems to be affected to pressure. In this file you can see that the pressure in the side of the box is negative. That causes the volume to expand to there. But not like divergence. Divergence is like a gas that heats and expands. It's volume get higher. So to simulate that, I suppose that houdini add more density to it. While pressure keep the density constant. pressure_visualization.hipnc Well. Just a theory. I'm not really sure. Quote Link to comment Share on other sites More sharing options...
~nature~ Posted September 25, 2011 Share Posted September 25, 2011 Hi, Fabiano, here is the invaluable reference which would be helpful if you are interested in understanding what is going on under the hood. it explains how the pressure and divergence work and houdini must follow the principle. http://www.cs.ubc.ca/~rbridson/fluidsimulation/fluids_notes.pdf Cheers 1 Quote Link to comment Share on other sites More sharing options...
Fabiano Berlim Posted September 25, 2011 Author Share Posted September 25, 2011 Hi, Fabiano, here is the invaluable reference which would be helpful if you are interested in understanding what is going on under the hood. it explains how the pressure and divergence work and houdini must follow the principle. http://www.cs.ubc.ca/~rbridson/fluidsimulation/fluids_notes.pdf Cheers That's awesome!!! Thanks a lot!!! 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.