CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   udf problem!! (

Guevara March 7, 2003 06:50

udf problem!!
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!!


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