Jump to content

Fluid question: Gas compression


pyroevil

Recommended Posts

Hi,

I search and read a lot of post on google/ODForce without really finding a answer to that. I trying to see how I can compress a fluid correctly. Just to illustrate one case from many others , I try to compress gas with a piston in to a cylinder. I know Houdini is more a artistic tool than a fluid analysis software but there a way to make divergence, density and pressure interact correctly ... or what I thinking is a correct bihavior? In the example hipfile I attach to this post , I expect to see the density and pressure increased proportionnally to the changed volume of the cylinder by the pushing piston (SIM_Compress geometry at obj level).

I figured out a lot of way to connect , inject , add , multiply combinations of density/divergence source without any good result ( "best" one attached to the post ).

 

Somebody have a idea ?

 

Thanks

 

 

compression_test_v001.hip

Edited by pyroevil
Link to comment
Share on other sites

  • 7 months later...

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