CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Access to molecular weights and enthalpies in UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   February 20, 2007, 10:44
Default Access to molecular weights and enthalpies in UDF
Posts: n/a

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?



  Reply With Quote

Old   September 1, 2011, 04:45
New Member
Join Date: Sep 2010
Posts: 3
Rep Power: 9
abhishekss123 is on a distinguished road
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.

abhishekss123 is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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