CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Post (http://www.cfd-online.com/Forums/cfx/22653-post.html)

yolan June 5, 2006 05:45

Post
 
Hi all!

I have a volume with air and hydrogen. How can I get the mass of H2 in that volume in a moment? I've got the mass fraction in a point but not the mass in the whole volume. Is there a way of getting it directly? Thank you!

Joe June 5, 2006 09:28

Re: Post
 
Search for "volint" in the manual.


yolan June 5, 2006 13:07

Re: Post
 
Yes, I've tried but I just get the total mass and I need just the mass of hydrogen. Could you help me?

Robin June 5, 2006 13:26

Re: Post
 
Take the volume integral of the density*mass fraction. (i.e. sum of density*mass fraction*volume of control volume).

yolan June 5, 2006 13:48

Re: Post
 
Thank you! I think that has worked!!!

Robin June 5, 2006 13:59

Re: Post
 
...as it should.


All times are GMT -4. The time now is 16:57.