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

Getting ANSYS 14, Window 10, and Visual Studio 15 to compile UDF's

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2017, 04:48
Default Getting ANSYS 14, Window 10, and Visual Studio 15 to compile UDF's
  #1
New Member
 
Join Date: Dec 2015
Location: Japan
Posts: 25
Rep Power: 10
kywong5 is on a distinguished road
Hi all, I would like to compile UDF into the Fluent 14 (Window 10).
My system consists of the following:
-Window 10 x64
-ANSYS Fluent 14 x64
-Microsoft Visual Studio 2015
-Microsoft .NET Framework 4.5.1

The methods described in "https://www.cfd-online.com/Wiki/Fluent_FAQ#How_can_I_manage_to_compile_my_UDF_with _Windows_7_64bit.3F" function well on Window 7. But such setup does not work on Window 10.

Error:
The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).
The operation completed successfully.
C:\Users\0wner\Desktop ry ken\libudf\win64\3d_host\libudf.dll


Anyone face the same problem and how do you solved it? Would you mind to share it? Thank you.
kywong5 is offline   Reply With Quote

Old   March 2, 2017, 23:34
Default
  #2
New Member
 
Join Date: Dec 2015
Location: Japan
Posts: 25
Rep Power: 10
kywong5 is on a distinguished road
Hi all,I already solved this problem.
You may refer to the link below:
https://www.cfd-online.com/Forums/bl...pile-udfs.html

It works on Window 10.

Last edited by kywong5; March 13, 2017 at 21:32.
kywong5 is offline   Reply With Quote

Old   February 3, 2018, 10:56
Default How can I load the UDF code in ANSYS Fluent?
  #3
New Member
 
mohammadghasem
Join Date: Jan 2018
Posts: 1
Rep Power: 0
mohammad121 is on a distinguished road
hi kywong5
I have the same error
When I compiling UDFs, I can build "libudf", but I can't load it. So could you help me or to explain why? my system consists of the following:
- Microsoft Windows 10 x64
- ANSYS Fluent 17.0 x64
- Microsoft Visual Studio 2015

Thank you very much!
Error: 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.
mohammad121 is offline   Reply With Quote

Old   February 4, 2018, 14:10
Default
  #4
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
This error indicates that Fluent thinks that your UDF is NOT compiled, even though you think so. Look carefully after you click 'build' for errors!
pakk 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



All times are GMT -4. The time now is 13:42.