CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Access to molecular weights and enthalpies in UDF (http://www.cfd-online.com/Forums/fluent/43826-access-molecular-weights-enthalpies-udf.html)

tristan February 20, 2007 10:44

Access to molecular weights and enthalpies in UDF
 
Hi,

For a UDF I am writing I need access to species molecular weights and enthalpies of formation.

Is this possible from within a DEFINE_EXECUTE_AT_END or DEFINE_SOURCE macro?

What is the syntax?

From looking at the header files and other macros I see there is a call 'mw[]' and 'hi[]'. Would these give me the molecular weight and enthalpy for species i in the same way that C_YI[] does for mass fraction?

Thanks,

Tristan


abhishekss123 September 1, 2011 04:45

Hi,
I am facing the same difficulty.
Did anyone find out how to access the specific enthalpy of a specie from UDF?
hi[] does not help.

Regards,
Abhishek


All times are GMT -4. The time now is 20:44.