|October 26, 2010, 08:05||
using UDS in DEFINE_SPECIFIC_HEAT
Join Date: Aug 2010
Posts: 4Rep Power: 7
I'm currently having a problem with using DEFINE_SPECIFIC_HEAT.
From the UDF guide, the macro should be defined by
DEFINE_SPECIFIC_HEAT(name, T, Tref, h,yi)
Hˇwever for my work, instead of yi, I would like to use the mass fraction entered separately as User Defined Scalars. And to access the UDS I use C_UDSI(c,t,i) of course.
Since c and t is not defined in the parentheses, i included
in the macro. Still, it doesnt allow me to get the values of C_UDSI(c,t,i) that I need for my calculations.
Am I doing it wrongly or is there another way to actually get the UDS values to be used in my DEFINE_SPECIFIC_HEAT?
Language used is C.
|cell, thread, user defined function, user defined scalar|
|Thread||Thread Starter||Forum||Replies||Last Post|
|UDS Flux Function Choice||Yang Chung||FLUENT||1||November 17, 2015 02:14|
|Doubts UDS Flux, UDS Unsteady for VOF model||kel85uk||FLUENT||0||March 17, 2010 09:53|
|set UDS value at interior BC||Simon||FLUENT||0||December 12, 2008 14:14|
|Associating profile files for the UDS though a UDF||Bharath||FLUENT||0||December 1, 2006 16:58|
|ODD: no UDS flux across interior boundary||Bob||FLUENT||1||February 25, 2002 20:15|