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 Members List Search Today's Posts Mark Forums Read

Like Tree56Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2011, 10:56
Default UDF - Error loading libudf
  #1
Member
 
Join Date: Apr 2010
Location: Pisa / Italy
Posts: 62
Rep Power: 15
Atze is on a distinguished road
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
Atze is offline   Reply With Quote

Old   August 29, 2011, 03:53
Default
  #2
New Member
 
Josy
Join Date: Mar 2009
Location: India
Posts: 29
Rep Power: 16
Josyula is on a distinguished road
Hi,

Were you able to sort out this problem?

If yes, kindly please let me know how you resolved this issue.

Thank you.
nasreddine likes this.
Josyula is offline   Reply With Quote

Old   August 29, 2011, 10:50
Default
  #3
New Member
 
Join Date: Jun 2011
Posts: 19
Rep Power: 14
The_Architect is on a distinguished road
Hi,

if you have not done it be sure to start Fluent from the VS command prompt.
nasreddine likes this.
The_Architect is offline   Reply With Quote

Old   August 29, 2011, 12:43
Default
  #4
Member
 
Hongjin Wang
Join Date: Mar 2010
Posts: 37
Rep Power: 16
sosososo1114 is on a distinguished road
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
MDSHUJAN and nasreddine like this.
sosososo1114 is offline   Reply With Quote

Old   January 12, 2012, 05:22
Default
  #5
New Member
 
Kiran
Join Date: Jan 2012
Location: Suzhou,China
Posts: 3
Rep Power: 14
kiran_kumar is on a distinguished road
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
kiran_kumar is offline   Reply With Quote

Old   January 13, 2012, 10:50
Default Compiling and Loading 64 bits UDF library
  #6
Member
 
laurentb's Avatar
 
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 16
laurentb is on a distinguished road
This ANSYS support note provides all informations necessary to compile UDF for FLUENT 64-bit
Attached Files
File Type: pdf 2020316-Compiling and Loading FLUENT 64 - using SDKx.pdf (94.9 KB, 7354 views)
laurentb is offline   Reply With Quote

Old   January 14, 2012, 03:11
Default
  #7
New Member
 
Kiran
Join Date: Jan 2012
Location: Suzhou,China
Posts: 3
Rep Power: 14
kiran_kumar is on a distinguished road
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
kiran_kumar is offline   Reply With Quote

Old   February 2, 2012, 06:35
Default
  #8
Cam
New Member
 
Cam
Join Date: Feb 2012
Posts: 2
Rep Power: 0
Cam is on a distinguished road
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
Cam is offline   Reply With Quote

Old   February 2, 2012, 06:45
Default
  #9
New Member
 
Kiran
Join Date: Jan 2012
Location: Suzhou,China
Posts: 3
Rep Power: 14
kiran_kumar is on a distinguished road
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
kiran_kumar is offline   Reply With Quote

Old   February 2, 2012, 11:15
Default
  #10
Member
 
laurentb's Avatar
 
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 16
laurentb is on a distinguished road
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)
laurentb is offline   Reply With Quote

Old   April 1, 2012, 16:13
Default sdk command prompt
  #11
New Member
 
David Ndeevelo
Join Date: Apr 2012
Posts: 1
Rep Power: 0
Makafa is on a distinguished road
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?
Makafa is offline   Reply With Quote

Old   July 20, 2012, 18:03
Default
  #12
New Member
 
Join Date: Jul 2012
Posts: 18
Rep Power: 13
mila_oliv is on a distinguished road
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.
mila_oliv is offline   Reply With Quote

Old   September 20, 2012, 15:54
Unhappy please help me
  #13
New Member
 
mehran
Join Date: Sep 2012
Posts: 9
Rep Power: 13
kerend is on a distinguished road
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
kerend is offline   Reply With Quote

Old   September 20, 2012, 16:43
Unhappy please help me
  #14
New Member
 
mehran
Join Date: Sep 2012
Posts: 9
Rep Power: 13
kerend is on a distinguished road
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
kerend is offline   Reply With Quote

Old   September 21, 2012, 22:46
Default Good Post
  #15
New Member
 
iman
Join Date: Nov 2011
Posts: 5
Rep Power: 14
imanmirzaii is on a distinguished road
Niiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiice it worked for me
I looooooooooooooove CFD Online!
rarnaunot likes this.
imanmirzaii is offline   Reply With Quote

Old   October 30, 2012, 04:23
Default
  #16
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   December 5, 2012, 11:54
Default
  #17
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
still do we need to use the fluent from SDK platform?
Far is offline   Reply With Quote

Old   December 9, 2012, 15:51
Default udf compiling problem
  #18
New Member
 
behzad
Join Date: Dec 2012
Posts: 1
Rep Power: 0
bshahzamanian is on a distinguished road
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.
bshahzamanian is offline   Reply With Quote

Old   January 17, 2013, 18:44
Default
  #19
Member
 
Join Date: Nov 2010
Posts: 30
Rep Power: 15
natalie is on a distinguished road
thanks a lot for this thread!
was very helpful to me!
natalie is offline   Reply With Quote

Old   January 21, 2013, 09:00
Default
  #20
New Member
 
Daan de Boer
Join Date: Jun 2012
Posts: 6
Rep Power: 0
daandb is on a distinguished road
Had the same problem, solution worked like a charm. Tnx!
daandb is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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


All times are GMT -4. The time now is 06:35.