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

[FLUENT] Loading UDF function problems

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 9, 2016, 07:33
Default [FLUENT] Loading UDF function problems
  #1
New Member
 
Giorgio
Join Date: Jun 2016
Posts: 12
Rep Power: 10
Faggio11 is on a distinguished road
Dear all,

I am trying to compile a UDF function but I have experienced some problems which are driving me nuts.

I wrote a UDf for CG_MOTION and I have compiled it without any problems few times. Suddenly, it stopped working and it gives me an error of this form:

"Error: The UDF library you are trying to load (libudf3) is not compiled for 2ddp on the current platform (win64).

The system cannot find the file specified.
"

I already had a look in this topic and I read that it is something related to the compiler. As I am not the administrator of the computer I am using, I have some problems in uninstalling and installing some softwares. In addition, I am not really good at computers so I don't really know the difference between 64 bit, win 7 etc... and I would not know where to look for it.

All I know is that the code was written using Microsoft Visual Studio 2010 and that the version of Fluent I am working with is 15.0.7.

Is there anybody who could patiently explain how I can possibly solve this problem?

In addition, I have another question regarding the compiling of the UDF. If I have to change the code, do I have to compile the function in another library? At first, I tried to use the same one but it gave me an error. I found out that changing the name of the libudf allowed me to save it and use it. In the end it was really cumbersome as I ended up with 14 folders with functions slightly different.

Thank you again!

Last edited by Faggio11; August 12, 2016 at 10:08. Reason: SOLUTION FOUND: The problem was that I copied the file and named with a hyphen and a space so it was not recognised anymore!
Faggio11 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
How to solve UDF compilation problems in Fluent. pakk Fluent UDF and Scheme Programming 16 September 10, 2018 03:48
UDF Cavitation problems: Error: chip-exec: function "mass_source_init::libudf" not fo Walderdbeere Fluent UDF and Scheme Programming 2 June 9, 2014 08:37
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 07:59
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50
C_NNODES UDF 'function' problem Matthew Brannock FLUENT 2 June 21, 2000 23:46


All times are GMT -4. The time now is 12:26.