CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

error about uds in udf

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 22, 2010, 02:23
Smile error about uds in udf
  #1
New Member
 
arash
Join Date: Aug 2009
Posts: 18
Rep Power: 7
a.maroofi is on a distinguished road
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;
}
a.maroofi is offline   Reply With Quote

Reply

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


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 08: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 12:06
UDF Adjust to redefine UDS Diffusivity David harvey FLUENT 4 February 27, 2004 08:47


All times are GMT -4. The time now is 09:13.