CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

UDF for Outlet

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 3, 2004, 13:24
Default UDF for Outlet
Posts: n/a

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 it is a recycle process... C_in=f(C_exit, time)

any options..?????

Thanks in advance..

  Reply With Quote

Old   April 4, 2004, 07:05
Default Re: UDF for Outlet
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
  Reply With Quote

Old   April 4, 2004, 08:48
Default Re: UDF for Outlet
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
  Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 08:37
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23: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 05:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01

All times are GMT -4. The time now is 22:19.