error of UDF
I added a source term to the energy equation, and Fluent shows the following err mesg: CAR: invalid argument [1]: wrong type [not a pair]
Could anyone help me with this ? Thanks By the way, the UDF I have is the following: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* heat exchange source */ # include "udf.h" DEFINE_SOURCE(GS_engexchg_source,c,t,dS,eqn) { real source; source = 4.0*C_K_L(c,t)/0.001*(C_UDSI(c,t,1)-C_T(c,t)); dS[eqn] = -4.0*C_K_L(c,t)/0.001; return source; } |
Re: error of UDF
I think you may hook your UDF in a wrong place or pannel. Tell me some more details, and you can contact with me through Email.
|
All times are GMT -4. The time now is 09:32. |