CFD Online Logo CFD Online URL
Home > Forums > FLUENT

BC problem with UDF.......

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

LinkBack Thread Tools Display Modes
Old   April 15, 2004, 04:12
Default BC problem with UDF.......
Posts: n/a
Sponsored Links
To all fluent experts all over the world,

Thank you for those who willing to send the UDF manual to me especially David and Mukkaram. I am facing a big problem. I need to define a BC for mass fraction for a wall BC which :

Mass fraction in the BC not change with the mass fraction from the previuos cell.

C_YI (BC) = C_YI (before/adjacent with BC)

When i iterate, BC wall mass fraction = initiate guess value. May i know how to solve this problem??

Here is the UDF.....

DEFINE_PROFILE(solute, thread, position) { real z;

face_t f;

cell_t c = F_C0(f,thread) ;

Thread *t= THREAD_T0(thread);

begin_f_loop(f,thread); {z = C_YI(c,t,i); F_PROFILE(f, thread, position) = z ;}

end_f_loop(f, thread);}

Thank you .


  Reply With Quote
Sponsored Links

Old   April 19, 2004, 06:02
Default Re: BC problem with UDF.......
Posts: n/a

you have to specify "i" of C_YI(c,t,i). This "i" shows species number and should be specified by you. And z=C_YI(c,t,i) should be changed as z=C_YI(c,thread,i).

Thank you.

  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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 39 June 29, 2017 19:04
Problem with my udf july Fluent UDF and Scheme Programming 3 June 20, 2010 06:56
UDF problem mansha goraya FLUENT 0 October 29, 2007 01:31
udf compiling problem akr FLUENT 3 August 22, 2007 07:14
UDF problem chiseung FLUENT 4 January 10, 2002 10:58

Sponsored Links

All times are GMT -4. The time now is 12:36.