CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   how to hook UDF to a parallel job?? (http://www.cfd-online.com/Forums/fluent/83147-how-hook-udf-parallel-job.html)

gandesk December 16, 2010 00:30

how to hook UDF to a parallel job??
 
Hi,

I want to run a parallel job on a linux cluster. I have written a UDF which runs for my serial job. How do I make it useful for the same case to run in parallel. I am including my UDF below.

Any help would be appreciated!!


#include "udf.h"
DEFINE_PROPERTY(dyn_surf_tension, cell, thread)
{
double dst;
double t = CURRENT_TIME;
dst = 141121*pow(t,5) + 0.071;
return dst;
}


All times are GMT -4. The time now is 07:00.