|
[Sponsors] |
April 3, 2004, 13:24 |
UDF for Outlet
|
#1 |
Guest
Posts: n/a
|
HI
I want to get average concentraions at the reactor exit using UDF.. But there is no options for Hooking UDF in outlet BC.. How to do this.. This Avg. exit conc will be used in specifying the Inlet conc..as it is a recycle process... C_in=f(C_exit, time) any options..????? Thanks in advance.. -Umesh |
|
April 4, 2004, 07:05 |
Re: UDF for Outlet
|
#2 |
Guest
Posts: n/a
|
Hello umesh
U can call DEFINE_EXECUTE_AT_END or DEFINE_ADJUST function to change the inlet conc. with ur exit conc. Regards Karthick |
|
April 4, 2004, 08:48 |
Re: UDF for Outlet
|
#3 |
Guest
Posts: n/a
|
Dear Karthick, Thanks for ur suggestion.. I read the documentation, but could not get how exactly I had to use the Define_Adjust or Define_execute_at_end Please try if you can give me some more hint over following case..
I am modeling a reactor followed by recycle tank. It is a batch process.. /* C_in = C_exit + C_initial * exp (-t/Th) */ /* This is my Function for three species present in the system.. */ I had written foll. UDF to modify the Inlet BC,.. but i am not able to get the exit conc for the three species. DEFINE_PROFILE(unstd_cod, thread, position) { float t, conc; face_t f; t = RP_Get_Real("flow-time"); conc =C_exit + C_initial*exp(-t/Th); begin_f_loop(f, thread) { F_PROFILE(f, thread, position) = conc; } end_f_loop(f, thread) } Regards, Umesh |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 07:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 22:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 21:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 04:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 04:01 |