|
[Sponsors] |
February 15, 2003, 02:31 |
UDF for 3D circular inlet
|
#1 |
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) } |
|
|
|
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 |