|
[Sponsors] |
September 22, 2010, 03:23 |
error about uds in udf
|
#1 |
New Member
arash
Join Date: Aug 2009
Posts: 29
Rep Power: 17 |
Hi, I have such udf that use uds :
uds is a temperature quantity and it's unit is kelvin. I see error when I compile it. Please, help me to solve the error #include "udf.h" #define h 2.0 DEFINE_SOURCE(energy_source,c,t,dS,eqn) { real temp, source, phi; temp=C_T(c,t); phi=UDSI(c,t,0); source = h*(phi-temp); dS[eqn] = -h; return source; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
connection between udf and uds | a.maroofi | Fluent UDF and Scheme Programming | 1 | September 19, 2010 09:46 |
UDS UDF for post-processing | KRK | FLUENT | 1 | January 19, 2007 05:31 |
Associating profile files for the UDS though a UDF | Bharath | FLUENT | 0 | December 1, 2006 16:58 |
UDS & UDF | geg | FLUENT | 0 | May 25, 2006 13:06 |
UDF Adjust to redefine UDS Diffusivity | David harvey | FLUENT | 4 | February 27, 2004 08:47 |