CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   exponential source term (http://www.cfd-online.com/Forums/fluent/48679-exponential-source-term.html)

pour July 4, 2008 11:11

exponential source term
 
Hi all I define source term to uds function in fluent.the source term is function of uds variable. my udf is :

DEFINE_SOURCE(s_auds,c,t,dS,eqn) { real source; source =exp(C_UDSI(c,t,0)); dS[eqn] = exp(C_UDSI(c,t,0)); return source; }

however it dont converg, why it divergent ? thanks all. Pourak


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