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

udf problem of premixed combustion

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2008, 07:31
Default udf problem of premixed combustion
  #1
wuyu
Guest
 
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);

Calculate_unburnt_rho_and_Xl(t,&rho_u,&Xl);

if( NNULLP(THREAD_STORAGE(t,SV_PREMIXC_G)) ) { NV_V (DV, =, C_STORAGE_R_NV(c,t,SV_PREMIXC_G)); grad_c = sqrt(NV_DOT(DV, DV)); }

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

  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
combustion model in premixed combustion chamber wuyu FLUENT 9 February 16, 2018 11:40
temperature problem with non-premixed combustion vic yang FLUENT 3 June 5, 2008 01:50
Sawdust Combustion-Non-premixed Combustion Model Jessy FLUENT 1 June 19, 2007 11: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 11:06


All times are GMT -4. The time now is 05:44.