Udf viscous resistance compiling error
Hello,
i have a problem with a Udf for a porous media. I have to define a time-dependant viscous resistance for a 3d volume, but when i'm going to compile the udf, fluent reports this error: Error: The UDF library you are trying to load (libudf) is not compiled for 3d on the curent platform (win64). The code is: Quote:
Thx |
Surely there must have been a compile error before it loaded?
Did you compile it from within Fluent? |
It builds the udf, fluent displays this messages after build:
Quote:
Quote:
i tried to interpret the udf and it works so it must be a problem of the compiler, but i don't understand what it's wrong because i can compiler other udfs. |
You probably compiled the UDF against a different version than you are actually running. For example, you may have compiled 3d double precision, but started 3d single precision, or 3d serial, and you started 3d parallel.
|
But i compile the udf within the case, so it should be compiled in the same version of the case, or not?
|
Yes. You are doing it the correct way.
I am beginning to think that you are not using the 64-bit compiler. Have you ever been able to successfully able to compile any UDF, or is this the only time you've had the problem? |
It's the first time that i have this problem, I have compiled successfully other udf :(
|
All times are GMT -4. The time now is 03:28. |