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

How to comply UDFs in win 8.1 64 bit (Fluent 6.3)?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2015, 06:33
Unhappy How to comply UDFs in win 8.1 64 bit (Fluent 6.3)?
  #1
New Member
 
Diaa
Join Date: Apr 2015
Posts: 5
Rep Power: 11
Afaneh is on a distinguished road
Hi,

I’m installing in my PC: visual studio 2008 professional, Microsoft NET Framework 4.51

I tried a lot to comply UDF but this error always appear:

Error: open_udf_library: The system cannot find the file specified.

Error Object: ()

Could you please advise me to solve this problem?
Thanks
Afaneh is offline   Reply With Quote

Old   June 5, 2015, 06:22
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
You say you have problems with compiling, so it would be helpful to show the error message that you get when you try to compile.

The error message you show above is an error message for opening a library, but before you can open the library you should make it/build it/compile it.
pakk is offline   Reply With Quote

Old   June 6, 2015, 04:53
Default
  #3
New Member
 
Arvind
Join Date: Apr 2014
Location: USA
Posts: 20
Rep Power: 12
Arvind_CFD is on a distinguished road
Make sure you are having the UDF source code and your case file in the same fluent working directory. If this does not solve your issue try checking your compiler's compatibility with the fluent version in use.
Arvind_CFD is offline   Reply With Quote

Old   June 6, 2015, 07:27
Default
  #4
New Member
 
Diaa
Join Date: Apr 2015
Posts: 5
Rep Power: 11
Afaneh is on a distinguished road
Quote:
Originally Posted by pakk View Post
You say you have problems with compiling, so it would be helpful to show the error message that you get when you try to compile.

The error message you show above is an error message for opening a library, but before you can open the library you should make it/build it/compile it.
Dear pakk
Thanks for replay
This error appear after building the library when I load it
Afaneh is offline   Reply With Quote

Old   June 6, 2015, 07:32
Default
  #5
New Member
 
Diaa
Join Date: Apr 2015
Posts: 5
Rep Power: 11
Afaneh is on a distinguished road
Quote:
Originally Posted by Arvind_CFD View Post
Make sure you are having the UDF source code and your case file in the same fluent working directory. If this does not solve your issue try checking your compiler's compatibility with the fluent version in use.
Dear Arvind_CFD

Yes UDF source code and case file are in the same fluent working directory
Actually I don't know which complier I should use
I tried also " Microsoft Visual C++ 2008 Express Edition with SP1 " and it didn't work
I used CMD to open fluent at the directory and the same error appeared
Afaneh is offline   Reply With Quote

Old   June 6, 2015, 07:58
Default
  #6
New Member
 
Arvind
Join Date: Apr 2014
Location: USA
Posts: 20
Rep Power: 12
Arvind_CFD is on a distinguished road
Quote:
Originally Posted by Afaneh View Post
Dear Arvind_CFD

Yes UDF source code and case file are in the same fluent working directory
Actually I don't know which complier I should use
I tried also " Microsoft Visual C++ 2008 Express Edition with SP1 " and it didn't work
I used CMD to open fluent at the directory and the same error appeared
Try using interpreted udf option if it is just a simple udf to avoid compiler hassles or else Install visual studio express 2012 which is available for free at microsoft.com ..this compiler should be compatible with latest fluent versions.
Arvind_CFD is offline   Reply With Quote

Old   June 6, 2015, 08:08
Default
  #7
New Member
 
Diaa
Join Date: Apr 2015
Posts: 5
Rep Power: 11
Afaneh is on a distinguished road
Quote:
Originally Posted by Arvind_CFD View Post
Try using interpreted udf option if it is just a simple udf to avoid compiler hassles or else Install visual studio express 2012 which is available for free at microsoft.com ..this compiler should be compatible with latest fluent versions.
I tried before "Microsoft Visual Studio 2013 Express" and it's didn't comply the UDF
I think "Microsoft Visual 2008" should be sufficient for Fluent 6.3
What do you think?
Afaneh is offline   Reply With Quote

Old   June 6, 2015, 17:44
Default
  #8
New Member
 
Arvind
Join Date: Apr 2014
Location: USA
Posts: 20
Rep Power: 12
Arvind_CFD is on a distinguished road
Quote:
Originally Posted by Afaneh View Post
I tried before "Microsoft Visual Studio 2013 Express" and it's didn't comply the UDF
I think "Microsoft Visual 2008" should be sufficient for Fluent 6.3
What do you think?
VS2013 is not supported until Fluent 15.0. Since yours is a much older version VS2008 should work. Make sure you have a full installation with VC++ package and visual studio cross tools command prompt included. Recheck if the check box in the environment tab of fluent launcher is ticked and the path of udf.bat file mentioned in the same tab is correct. Hope this helps
Arvind_CFD is offline   Reply With Quote

Old   June 7, 2015, 05:35
Default
  #9
New Member
 
Diaa
Join Date: Apr 2015
Posts: 5
Rep Power: 11
Afaneh is on a distinguished road
Quote:
Originally Posted by Arvind_CFD View Post
VS2013 is not supported until Fluent 15.0. Since yours is a much older version VS2008 should work. Make sure you have a full installation with VC++ package and visual studio cross tools command prompt included. Recheck if the check box in the environment tab of fluent launcher is ticked and the path of udf.bat file mentioned in the same tab is correct. Hope this helps
Thanks for this information
everything is OK, but i didn't find path for "udf.bat", and I searched for "udf.bat" in fluent Installation Directory and didn't find this file.
Afaneh 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
FLUENT 6.3 for particle deposition studies? Prashanth FLUENT 14 September 17, 2015 02:05
Fluent 6.3 & Gambit 2.4 installation problem on OpenSuse 12.3 x86_64 dfeid FLUENT 0 September 26, 2013 07:52
Rocks 5.4 Rsh Connection Refused for Fluent 6.3 bucnikf90 Hardware 2 March 29, 2012 16:24
Validation 12.1 vs 6.3, Difference in Reported Inlet Total Pressure jola FLUENT 1 May 5, 2011 14:33
Debugging Udfs in Fluent 5.x Greg Perkins FLUENT 0 April 2, 2001 03:03


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