CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Algebraic/ Robbins BC problem again in UDF ?? (

KKLAU April 20, 2004 03:47

Algebraic/ Robbins BC problem again in UDF ??
To all fluent expert all over the world;

Especially to FJ,

I had modified my BC according to your suggestion but it still cant work. The BC wall value (simulated) still equal with initial value (guess).

I explain my problem again..... i dont have the exact BC wall mass fraction value...i got a relationship which link BC wall mass fraction with adjacent mass fraction value.

C_YI(BC) = 0.0001*C_YI(BC ajacent cell)

So, what wrong with my UDF ???

Here is my 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,thread,0); F_PROFILE(f, thread, position) = z; }

end_f_loop(f, thread); }

Thank you very much



thomas April 20, 2004 05:05

Re: Algebraic/ Robbins BC problem again in UDF ??
Maybe you just forgot to include C_YI(BC) = 0.0001*C_YI(BC ajacent cell) in your UDF.

All times are GMT -4. The time now is 10:58.