CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Help, parallelizing UDF problem (http://www.cfd-online.com/Forums/fluent/66250-help-parallelizing-udf-problem.html)

blivurmind July 9, 2009 21:39

Help, parallelizing UDF problem
 
Hello,

I have a working udf. How can I use this udf for parallel computing. I have a look at the udf manual in Fluent. But it is quite complicated. What do you suggest me to do?
Above thing is my UDF.


#include "udf.h"
DEFINE_PROFILE(pressure, thread, p)
{
real t;
face_t f;
t = CURRENT_TIME;
begin_f_loop(f, thread)
{
F_PROFILE(f, thread, p)=-84.0*sin(0.017453292*90.0*t);
}
end_f_loop(f, thread)
}


Waiting from you.
Thank you.


All times are GMT -4. The time now is 18:49.