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

UDF for 3D circular inlet

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 15, 2003, 02:31
Default UDF for 3D circular inlet
  #1
Wong Wai Loong
Guest
 
Posts: n/a
I had tried with the below UDF progamme but it cannot produce a parabolic profile at the 3D inlet. So i need some advise on my programme. thanx

#include "udf.h"

DEFINE_PROFILE(inlet_y_velocity, thread, position) { real y[ND_ND]; /* this will hold the position vector */ real x, z, r; face_t f; r=x=z;

begin_f_loop(f, thread)

{

F_CENTROID(y,f,thread);

x = y[1];

z = y[2];

r = y[3];

F_PROFILE(f, thread, position) = .07667 - r*r/(.0075*.0075)*.07667;

} end_f_loop(f, thread) }

  Reply With Quote

 


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
UDF parallel velocity inlet profile Armengol FLUENT 3 September 30, 2009 15:08
udf for varying inlet temperature aravind FLUENT 0 October 27, 2008 10:08
Fluent UDF load and apply inlet velocity b.c. Knut Lehmann Main CFD Forum 2 June 29, 2007 04:53
UDF for varying inlet velocity with z-distance Peter Wilkins FLUENT 1 May 18, 2006 11:10
find the best inlet with udf Tuckbros FLUENT 0 May 20, 2004 12:56


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