CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

anything wrong in this udf

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 26, 2007, 07:02
Default anything wrong in this udf
  #1
brusly
Guest
 
Posts: n/a
hi all

i want to add a contant source through udf,anything wrong in this udf and how can i check it weather the udf will return any value or not

#include"udf.h"

DEFINE_SOURCE(cure_source,c,t,ds,eqn) { real x[ND_ND]; real source;

source=8000; ds[eqn]=0;

return source; }

thank you
  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
parse error while interpreting udf Kristin Fluent UDF and Scheme Programming 3 March 15, 2012 07:43
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
I need UDF help. S.Whitney FLUENT 0 October 15, 2007 11:29
what's wrong with the UDF major FLUENT 6 March 3, 2005 07:39
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 05:03


All times are GMT -4. The time now is 22:17.