|
[Sponsors] |
September 4, 2012, 04:35 |
UDF F_PROFILE problem
|
#1 |
New Member
Zhi-Gang Zhai
Join Date: Sep 2012
Location: karlsruhe, Germany
Posts: 7
Rep Power: 13 |
Hello everyone!
These days I meet a fluent udf problem. I want to use the F_PROFILE to set the inlet velocity, but the result is not OK. My case information is as follows. 2D , R-Z coordinate, the horizontal directoin is the Z axis, the vertical direction is the R axis. I use the k-e model. Calculate the energy equation. I set the inlet axial velocity to -0.2m/s as and the radial velocity to 0m/s in the fluent GUI. The result is OK. But I use the udf (DEFINE_PROFILE) to set the inlet velocity. The result is not OK. The velocity is very very low, almost stop. DEFINE_PROFILE(axial_vel, t_face, i) { face_t f; begin_f_loop(f, t_face) { F_PROFILE(f,t_face,i) = -0.2; } end_f_loop(f, t_face) } Pls look the following result figures. Who could tell me the probable reason. Thank you very much in advance. 1. set the inlet velocity to constant in the fluent GUI. http://www.facebook.com/photo.php?fb...type=1&theater 2. use the udf to set the inlet velocity http://www.facebook.com/zhigang.zhai...type=1&theater |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 06:05 |
what's the problem with my udf | zzyan | FLUENT | 0 | November 4, 2010 03:56 |
Problem with my udf | july | Fluent UDF and Scheme Programming | 3 | June 20, 2010 06:56 |
udf compiling problem | akr | FLUENT | 3 | August 22, 2007 07:14 |
UDF problem | chiseung | FLUENT | 4 | January 10, 2002 09:58 |