CFD Online Discussion Forums

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

Andrea May 24, 2004 12:39

Mass fraction
 
I need use the mass fraction value of the mass fraction 'O2' The successive code is correct?

CALL GETSCA('O2',ICS1,CWORK)

SCAL(INODE,IPHASE,ICS1)

I'm having some problem.

Thanks

Andrea

Jeff May 30, 2004 02:58

Re: Mass fraction
 
Yes, this should work directly as you have written it if you are simply accessing the mass fraction of 'O2' for some other calculation.

Jeff


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