CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

UDF of Zimont model in fluent

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 17, 2005, 04:07
Default UDF of Zimont model in fluent
  #1
Z
Guest
 
Posts: n/a
Hi, I want to know if somebosy has used this UDF before. Since I have problems in activating this in my new simulation. The UDF is provided in www.fluentusers.com website.

/************************************************** *****************/ /* UDF that specifies a custom turbulent flame speed and source */ /* for the premixed combustion model */ /************************************************** *****************/

#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, DV[ND_ND];

ul = Ul_par_premix(C_FMEAN(c,t)); rho_u = rho_par_premix(C_FMEAN(c,t));

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; }

Activating a Turbulent Premixed Source UDF in FLUENT

Once you have compiled and linked the source code for a custom turbulent premixed source UDF, you can activate it in the User-Defined Function Hooks panel in FLUENT. See Section 8.2.5 for more details.

  Reply With Quote

Reply

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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Compiling UDF in Fluent 12 jsm FLUENT 1 July 22, 2009 07:40
fluent UDF external library lapack problem Rick FLUENT 0 May 7, 2008 10:16
Reynolds Stress Model in Fluent Vs CFX Tim FLUENT 0 December 6, 2005 23:03
Can Fluent Import New Turbulence Model By UDF? Andy Cong FLUENT 0 November 29, 2005 22:57


All times are GMT -4. The time now is 10:00.