CFD Online Logo CFD Online URL
Home > Forums > FLUENT

udf problem!!

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

LinkBack Thread Tools Display Modes
Old   March 7, 2003, 06:50
Default udf problem!!
Posts: n/a
I want to konw how to write udf forms. I wrote my udf form.

Can anybody teache me ?

I want to add source term in any region

The equation is the Q=5*jc*kb*(t1-t2)/2*e.

t2 is wall temperature(known) and t1 is the temperature of the air in the cell closest to the wall(unkown).

l l

l l

l l

l l

t1 t2

DEFINE_SOURCE(cathode_source, c, t, dS, eqn)

{ real x[ND_ND];

real source;

face_t f;



C_T(F_C1(f,t), t);



return source;


anyboby help me plz!!

  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

Similar Threads
Thread Thread Starter Forum Replies Last Post
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 October 18, 2017 07:17
Problem with my udf july Fluent UDF and Scheme Programming 3 June 20, 2010 06:56
UDF problem mansha goraya FLUENT 0 October 29, 2007 01:31
udf compiling problem akr FLUENT 3 August 22, 2007 07:14
UDF problem chiseung FLUENT 4 January 10, 2002 10:58

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