CFD Online Logo CFD Online URL
Home > Forums > FLUENT

udf problem of premixed combustion

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 17, 2008, 07:31
Default udf problem of premixed combustion
Posts: n/a
I try to use udf to define the resource term of premixed combustion, and I just follow the example of the tutorials, however when I interpreted the .c file, I got the problem as follow;

line21: function "Compute_Trb_Vscal" not found(pc=6). line21: function "Calculate_unburnt_rho_and Xl" not found(pc=86)

the code is like this: #include "udf.h" #include "sg_pdf.h" /* not included in udf.h so must include here */

DEFINE_TURB_PREMIX_SOURCE(turb_flame_src, c, t, turb_flame_speed, source) { real up = TRB_VEL_SCAL(c,t);

real ut, ul, grad_c, rho_u, Xl, DV[ND_ND];

ul = C_LAM_FLAME_SPEED(c,t);



ut = ul*sqrt( 1. + SQR(up/ul) ); *turb_flame_speed = ut; *source = rho_u*ut*grad_c; }

  Reply With Quote


Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
combustion model in premixed combustion chamber wuyu FLUENT 7 October 21, 2015 13:18
temperature problem with non-premixed combustion vic yang FLUENT 3 June 5, 2008 00:50
Sawdust Combustion-Non-premixed Combustion Model Jessy FLUENT 1 June 19, 2007 10:59
A problem about partly premixed combustion Z.P.YAO FLUENT 3 January 8, 2006 07:19
Non premixed model - combustion validation problem David FLUENT 2 October 24, 2003 10:06

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