CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   problem when load UDF: "not compiled for 2d on the current platform (win64)" (https://www.cfd-online.com/Forums/fluent-udf/162934-problem-when-load-udf-not-compiled-2d-current-platform-win64.html)

kostas13 November 20, 2015 15:21

problem when load UDF: "not compiled for 2d on the current platform (win64)"
 
Hello,i have builded my UDF for a moving wall without any errors.When i am trying to load it i have the problem ''The UDF library you are trying to load (libudf) is not compiled for 2d on the curent platform (win64)''

I have read a lot in this forum for weeks but i cant even solve this.can anyone help me please?

pakk November 23, 2015 08:16

If you have spaces in your filename/folder name, remove them.

And if you don't, check again that you don't have any errors when you build. Copy the text here if you are unsure.

bhargavbharathan November 23, 2015 16:06

Hi,

There are a few basic rules I follow:
1. No spaces in your UDF name.
2. Use all small case.
3. Put the UDF, libudf folder, case and data files in the same folder.
4. Compile the UDF (better than Interpret).
5. Make sure your visual studio is valid (trial version should not be expired).

-BB


All times are GMT -4. The time now is 21:24.