CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   UDF PDE BC problem again, it can't iniatiate??? (http://www.cfd-online.com/Forums/fluent/33435-udf-pde-bc-problem-again-cant-iniatiate.html)

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;

begin_f_loop(f,thread);

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

end_f_loop(f, thread);}

Thank you.

From KKLAU


All times are GMT -4. The time now is 16:34.