CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Mass fraction/Mole fraction (https://www.cfd-online.com/Forums/cfx/108027-mass-fraction-mole-fraction.html)

VikramR October 12, 2012 11:12

Mass fraction/Mole fraction
 
Hi, I have a geometry which has reaction in it. My problem is that I want the reaction term to be in terms of mole fraction and not mass fraction. How do I input the "source term" in terms of mole fraction??
Please help.

thanks in advance,
Vikram

ghorrocks October 13, 2012 05:29

Use a CEL expression to do the conversion.

sunflower October 22, 2012 02:23

Hi Glenn,

I am also trying to figure out how to convert mass fraction to mole fraction.

Can you please show us the CEL expression to do the conversion? Thanks a lot.

ghorrocks October 22, 2012 05:52

The equation is here:
http://en.wikipedia.org/wiki/Mole_fraction

The variables and functions are listed in the CFX reference guide.


All times are GMT -4. The time now is 23:34.