|
[Sponsors] |
December 26, 2016, 09:11 |
Parabolic UDF velocity check in Fluent 17.1
|
#1 |
New Member
Amit Koikkarah Aji
Join Date: Oct 2016
Posts: 5
Rep Power: 10 |
Dear Members,
I am a new user to the FLUENT module and have just started to use user-defined function in FLUENT17.1 I wrote a user-defined function for a parabolic flow profile in 3d cylinder which is as follows: #include "udf.h" DEFINE_PROFILE(inlet_vel_parabolic, thread, index) { /******** user input *********/ real vel_avg=0.1; real radius=0.0035; /******** user input *********/ face_t face; real xc[3]; begin_f_loop(face, thread) { F_CENTROID(xc,face,thread); F_PROFILE(face, thread, index) = 2.*vel_avg*(1-((xc[1]*xc[1]+xc[2]*xc[2])/(radius*radius))); } end_f_loop(face, thread) } My simulation does not have a reverse flow during the simulation but however while checking the contour after simulation, it has a weird profile.The required profile at the inlet appears at the outlet and vice-versa. This problem has only been encountered in the newer version of Fluent 17.1 and not in the older version. Kindly guide me through this issue. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF in Fluent | Andrew | Fluent UDF and Scheme Programming | 5 | March 7, 2016 04:38 |
what's the udf name to check the availability of face value of velocity? | aestas | Fluent UDF and Scheme Programming | 1 | May 23, 2015 06:02 |
3-D parabolic velocity Inlet - Steady state - UDF Turbulent Flow | mohibanwar | Fluent UDF and Scheme Programming | 10 | May 18, 2015 11:34 |
3D UDF parabolic velocity profil | le steph | FLUENT | 0 | June 20, 2014 05:12 |
Ansys FLUENT UDF - Velocity profile (of known values) across edge / surface | emmkell | Fluent UDF and Scheme Programming | 2 | October 21, 2011 14:12 |