CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   Post (

yolan June 5, 2006 04:45

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 08:28

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

yolan June 5, 2006 12: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 12: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 12:48

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

Robin June 5, 2006 12:59

Re: Post it should.

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