Jump to content
Sign in to follow this  
pyroevil

Fluid question: Gas compression

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×