CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   Parallel UDF for viscous resistance for porous media (

CfdMirco March 9, 2013 15:31

Parallel UDF for viscous resistance for porous media
I'm having problem with a parallel udf for viscous resistance for porous media.
During the compiling process, when i load the udf, fluent give me this error: Error: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).
I do not understand what I'm doing wrong, someone can help me?
Thank you!!:)
Here is the code:
#include "udf.h"
#include "mem.h"
#include "unsteady.h"
#include "metric.h"

cell_t c;
#if !RP_HOST
real time=RP_Get_Real("flow-time");

vasava March 15, 2013 09:49

Can you compile your UDF for serial process?

If yes: Your UDF need modification in order to make it 'compilable' for parallel process.

If No: Your compiler is not set right.

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