CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

error of UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2005, 22:06
Default error of UDF
  #1
yong
Guest
 
Posts: n/a
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; }
  Reply With Quote

Old   June 14, 2005, 22:47
Default Re: error of UDF
  #2
Joey
Guest
 
Posts: n/a
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.
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 07:37
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 04:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 04:01


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