CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   UDF PDE BC problem again, it can't iniatiate??? (

KKLAU April 9, 2004 02:40

UDF PDE BC problem again, it can't iniatiate???
To all Fluent Experts all over the world,

I would like to express my greatest appreciation for your help especially to thomas and FJ for giving useful guidelines to me. Actually i cant access to the fluent user support webpage to read the documentation. I had sent them my particular but they didnt reply my request for password (although i am a licensed Fluent user).

I had modified my UDF but it still cant initiate(can be interpreted). I am writing a PDE BC for velocity inlet.

I dont really understand how to define the F_C0 (f,thread) and the THREAD_T0 (c,thread). Do I need to write a looping for it ?

Here is my UDF

DEFINE_PROFILE(velocity, thread, position) {face_t f; cell_t c = F_C0(f,thread) ; Thread *t = THREAD_T0 (f,thread); real y ; int i;


{y = C_DVDY(c,t) + 0.002 ; F_PROFILE(f, thread, position) = y;}

end_f_loop(f, thread);}

Thank you.


All times are GMT -4. The time now is 17:41.