CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   a question about UDF for source term (https://www.cfd-online.com/Forums/fluent/31290-question-about-udf-source-term.html)

winnie April 15, 2003 07:58

a question about UDF for source term
 
Hi,

The DEFINE-SOURCE macro of UDF has five arguments: name, c, t, dS, eqn

Since the fluent-udf-help does't tell what the "eqn" mean here, I think it is the index that indentifies the type of solved transport equations and it will be set when I associate the UDF with a transport equation in boundary condition-fluid panel through the graphical user interface, the index will be subsequently passed to my UDF by the fluent solver.

right?

Regards

winnie

Senthil May 2, 2003 09:11

Re: a question about UDF for source term
 
ya ur right..where r u adding this source term ( fluid/solid).. and to which u r adding(e.g. continuity/x-momentum,energy..... etc..)..it will take the eqn no. accordingly..

bye


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