|
[Sponsors] |
March 2, 2011, 10:56 |
UDF - Error loading libudf
|
#1 |
Member
Join Date: Apr 2010
Location: Pisa / Italy
Posts: 62
Rep Power: 16 |
Hi,
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 can i do ? I use fluent 13, visual c++ 2008 express and win7 x64 Thank you |
|
August 29, 2011, 03:53 |
|
#2 |
New Member
Josy
Join Date: Mar 2009
Location: India
Posts: 29
Rep Power: 17 |
Hi,
Were you able to sort out this problem? If yes, kindly please let me know how you resolved this issue. Thank you. |
|
August 29, 2011, 10:50 |
|
#3 |
New Member
Join Date: Jun 2011
Posts: 19
Rep Power: 15 |
Hi,
if you have not done it be sure to start Fluent from the VS command prompt. |
|
August 29, 2011, 12:43 |
|
#4 |
Member
Hongjin Wang
Join Date: Mar 2010
Posts: 37
Rep Power: 16 |
HI, have you checked the environment settings of your computer? Make sure all the settings are correctly. I remember once there was a thread talking about how to set the computer environment for FLUENT on this forum, if you followed all the instructions in the replies above but you still could not get udf work, would you mind to search through the forums to find that thread, and reset the environment. This should work.
Best regards, Hongjin |
|
January 12, 2012, 05:22 |
|
#5 |
New Member
Kiran
Join Date: Jan 2012
Location: Suzhou,China
Posts: 3
Rep Power: 14 |
Hi,
Could any body resolved this problem? I have seen many threads regarding this but yet I am not able to solve the proble. I have installed Visual studio 2010 express and Fluent 13. Also installed "Microsoft Windows SDK v7.0". I have run the Fluent from SDK command prompt. And yet I have recieved the error saying that "The UDF library you are trying to load (Sedimentation) is not compiled for 2ddp on the curent platform (win64). The system cannot find the file specified. C: estudf\Sedimentation\win64\2ddp\libudf.dll" Please let me know the solution for this. Thanks in advance. KK |
|
January 13, 2012, 10:50 |
Compiling and Loading 64 bits UDF library
|
#6 |
Member
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 17 |
This ANSYS support note provides all informations necessary to compile UDF for FLUENT 64-bit
|
|
January 14, 2012, 03:11 |
|
#7 |
New Member
Kiran
Join Date: Jan 2012
Location: Suzhou,China
Posts: 3
Rep Power: 14 |
Hi Laurent ,
Thanks for the help. Now it is working fine for me. I have followed same steps as mentioned in pdf file. Probably this file is available for all the users of this forum. KK |
|
February 2, 2012, 06:35 |
|
#8 |
New Member
Cam
Join Date: Feb 2012
Posts: 2
Rep Power: 0 |
Hi Laurentb
I am having the same issue, I have read the PDF but do not understand, I am a beginner and trying to complete the tutorial "heave and pitch simulation of ship hull moving through head sea waves" and I have the hull geometry and a 6DOF UDF which is what I cannot load as it says "The UDF library you are trying to load (libudf) is not compiled for 3ddp on the curent platform (win64). The system cannot find the file specified." Can you please explain in simple terms what I need to do, Thank you in advance! Cameron Last edited by Cam; February 2, 2012 at 06:48. Reason: Question has changed |
|
February 2, 2012, 06:45 |
|
#9 |
New Member
Kiran
Join Date: Jan 2012
Location: Suzhou,China
Posts: 3
Rep Power: 14 |
the content of the pdf file :
Compiling and Loading FLUENT 64-bit UDFs using the "FREE" Microsoft Visual Studio 2010 32-bit Express Edition and the 7.0 SDK IMPORTANT SUPPORT NOTE : The 2010 Express Edition and the SDK will allow you to compile 64-bit UDFs for FLUENT. However, the installation and use of the Express and the SDK is not “officially” supported so we ask that you get your IT folks involved in the actual installation. RESTRICTIONS : Also, you CANNOT compile UDFs for FLUENT without first opening the SDK Command prompt window and starting FLUENT from this window. Instructions Download the Microsoft Visual Studio Express Edition (2010) performing a default installation http://www.microsoft.com/express/Downloads/#2010-Visual-CPP. Search for the text: Microsoft Visual C++ 2010 Express in your browser window. 7.0 SDK Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 or search for the text: Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 in your browser window. IMPORTANT NOTE FROM MICROSOFT : if you are running a 64-bit version of Windows and Visual Studio 2008, please upgrade to Visual Studio 2008 SP1 before installing the Windows 7 SDK. Search for the text: Microsoft Visual Studio 2008 Service Pack 2 in your browser window. This prevents an issue where some platform configuration choices are unavailable in Visual Studio’s New Project Platform and New Solution Platform dialogs. Starting FLUENT using the SDK 7.0 Command Prompt Window 1. Open up the SDK Command Window. This is required as this will set the compiler environment variables. 2. Choose the Start Menu > All Programs > Microsoft Windows SDK v7.0 > CMD Shell 3. Launch FLUENT 13.x from this window. (image below):(i am not able to paste picture here) NOTE : Make sure the CMD window states the following a. “Setting SDK Environment relative to C:\Program Files\Microsoft SDKs\Windows\v7.x” b. Targeting Windows Server 2003 x64 DEBUG c. Change to your Working directory (directory where your .cas, dat and .c file reside) d. Launch Fluent: “C:\Program Files\ ANSYS Inc\v130\fluent\ntbin\win64\fluent”you can find this pdf file in fluent users website. KK |
|
February 2, 2012, 11:15 |
|
#10 |
Member
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 17 |
First of all, i recommend you read the Fluent UDF Manual.
If you use a udf you will need to compile your code (.c file) in order to obtain a compiled library (.dll). You don't have to do this if someone give you the library precompiled BUT the library works only for a specific OS (32 or 64bits) and a specific solver (2d or 3d or double precision). In your case you haven't got a library compiled for your OS (64bits) and your solver (3ddp) |
|
April 1, 2012, 16:13 |
sdk command prompt
|
#11 |
New Member
David Ndeevelo
Join Date: Apr 2012
Posts: 1
Rep Power: 0 |
Hi, i have visual studio 9 and in the sdk i dont see a command prompt, cant i start ufd for fluent using visual studio command prompt?
|
|
July 20, 2012, 18:03 |
|
#12 |
New Member
Join Date: Jul 2012
Posts: 18
Rep Power: 14 |
Hi,
I'm having this problem too, but my windows and the visual studio are 64bits...also I copied a udf that i knew it was right and it was compiled correctly and I succed to load the library. My own codes, on the other hand, i cant compile nor load the library..... This can't be a system problem, right? What am i doing wrong? I'm new at udf..... Last edited by mila_oliv; July 20, 2012 at 18:34. |
|
September 20, 2012, 15:54 |
please help me
|
#13 |
New Member
mehran
Join Date: Sep 2012
Posts: 9
Rep Power: 14 |
hi every body
i need this tutorial .is there anybody help me to find this tutorial with below name: Heave and Pitch Simulation of Ship hull moving through head sea waves i would be grateful if someone help me my email is :mkerend2004@yahoo.com |
|
September 20, 2012, 16:43 |
please help me
|
#14 |
New Member
mehran
Join Date: Sep 2012
Posts: 9
Rep Power: 14 |
hi every body
i need this tutorial .is there anybody help me to find this tutorial with below name: Heave and Pitch Simulation of Ship hull moving through head sea waves i would be grateful if someone help me my email is :mkerend2004@yahoo.com |
|
September 21, 2012, 22:46 |
Good Post
|
#15 |
New Member
iman
Join Date: Nov 2011
Posts: 5
Rep Power: 15 |
Niiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiice it worked for me
I looooooooooooooove CFD Online! |
|
October 30, 2012, 04:23 |
|
#16 |
New Member
PhanHuuQuocHung study at HoChiMinh City University of Technology
Join Date: Oct 2012
Posts: 6
Rep Power: 14 |
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. |
|
December 9, 2012, 15:51 |
udf compiling problem
|
#18 |
New Member
behzad
Join Date: Dec 2012
Posts: 1
Rep Power: 0 |
hi friends
i have a problem, when i compile udf source file it builds well but when i load it this error apears: open_udf_library: The system cannot find the path specified. |
|
January 17, 2013, 18:44 |
|
#19 |
Member
Join Date: Nov 2010
Posts: 30
Rep Power: 16 |
thanks a lot for this thread!
was very helpful to me! |
|
January 21, 2013, 09:00 |
|
#20 |
New Member
Daan de Boer
Join Date: Jun 2012
Posts: 6
Rep Power: 0 |
Had the same problem, solution worked like a charm. Tnx!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |