CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF - Error loading libudf

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2012, 19:45
Default UDF - Error loading libudf
  #1
New Member
 
PhanHuuQuocHung study at HoChiMinh City University of Technology
Join Date: Oct 2012
Posts: 6
Rep Power: 13
QuocHung_Phan is on a distinguished road
Hi, i use fluent 14, cfree4_1_pro and win7 x64
i've succesfully compiled my udf, but when i load it fluent says:
The UDF library you are trying to load (libudf) is not compiled for 2ddp on the curent platform (win64).
what should i do?
Thank you.
QuocHung_Phan is offline   Reply With Quote

Old   October 30, 2012, 23:09
Default
  #2
Senior Member
 
david
Join Date: Oct 2012
Posts: 142
Rep Power: 13
davidwilcox is on a distinguished road
Hi,
I copied this from the cfd online fluent wiki. This might solve your problem:
How can I manage to compile my UDF with Windows 7 64bit?

This problem sometimes looks similar to the one concerning the missing 'nmake'.
  • Install Visual Studio. Most of the time the Visual C++ 2008 Express Edition [3] is recommended. On my system it even works with the new Visual Studio 2010 Professional Release Candidate [4].
  • Set the correct environment variables. Browse your way through the Windows system control to 'System'. There you will find a section 'Advanced system settings'. In the following dialog go to the 'Advanced' tabulator and click on 'Environment variables' (lower right corner). Go through the 'System variables' list and search for the 'Path' entry. Add the following to the variable: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;C:\Program Files\ANSYS Inc\v120\fluent\ntbin\win64. Adjust this entry to your system concerning the installation directories! The Visual Studio entry should point to the location where 'nmake' is located.
  • Install a Software Development Kit (SKD) for 64bit systems. This may be the difference between 32bit and 64bit systems. I have used the .NET Framework 2.0 Software Development Kit (SDK) (x64) from 2006 [5] because it is explicitly for 64bit systems and I was not sure if more recent versions are for 64bit systems as well.
  • Start FLUENT from the SDK command prompt. Do not use the Visual Studio command prompt, use the SDK command prompt! Go to the directory your case is in and type 'fluent'.
Hope this helps.
davidwilcox is offline   Reply With Quote

Old   November 1, 2012, 20:15
Default
  #3
New Member
 
PhanHuuQuocHung study at HoChiMinh City University of Technology
Join Date: Oct 2012
Posts: 6
Rep Power: 13
QuocHung_Phan is on a distinguished road
thanks for your help.
QuocHung_Phan is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF - Error loading libudf Atze Fluent UDF and Scheme Programming 81 May 8, 2019 19:24
Error: The UDF library you are trying to load (libudf) is not compiled for 2d on the gxu2 Fluent UDF and Scheme Programming 13 August 10, 2018 17:38
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 07:37
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 04:01


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