|
[Sponsors] |
April 15, 2004, 05:12 |
BC problem with UDF.......
|
#1 |
Guest
Posts: n/a
|
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 . From KKLAU |
|
April 19, 2004, 07:02 |
Re: BC problem with UDF.......
|
#2 |
Guest
Posts: n/a
|
Hi,
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. FJ |
|
|
|
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 07:05 |
Problem with my udf | july | Fluent UDF and Scheme Programming | 3 | June 20, 2010 07:56 |
UDF problem | mansha goraya | FLUENT | 0 | October 29, 2007 01:31 |
udf compiling problem | akr | FLUENT | 3 | August 22, 2007 08:14 |
UDF problem | chiseung | FLUENT | 4 | January 10, 2002 10:58 |