|
[Sponsors] |
November 17, 2015, 17:09 |
Compling UDF on windows8.1(x64)
|
#1 |
New Member
mohsen
Join Date: Jun 2015
Posts: 25
Rep Power: 11 |
Hi every body
I have a problem while compiling UDF on ANSYS FLUENT 16.1 (WORKBENCH) in windows8.1(x64), I use MICROSOFT VISUAL STUDIO 2012 EXPRESS, NET Framework 4.6 and SDK for windows8.1 too. All UDFs were compiled with no problem, but when I want to LOAD them I faced with such this ERROR: "Opening library "C:\............\Fluent\libudf"... Error: The UDF library you are trying to load (libudf) is not compiled for 2d on the current platform (win64). The system cannot find the file specified. C:\...............\Fluent\libudf\win64\2d\libudf.d ll The system cannot find the file specified. C:\...............................\Fluent\libudf\w in64\2d\libudf.dll Error Object: #f " My pleasure if any body could help me to fix this problem. NOTE: I have some TRIAL and EDUCATIONAL UDFs, those were compiled and LOAD very well but my owns didn't. I Wrote my UDFs according to those TRIAL UDFs, so I expected them to run very well but didn't. |
|
November 18, 2015, 04:39 |
|
#2 | |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Quote:
|
||
November 18, 2015, 12:15 |
|
#3 |
New Member
mohsen
Join Date: Jun 2015
Posts: 25
Rep Power: 11 |
Hi pakk
when I click on "BUILD" bottom this massage was illustrated: "Setting Post Processing and Surfaces information ... Done. Copied D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent/D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\def_geom - Copy.c to libudf\src Creating user_nt.udf file for 2d ... (system "copy "C:\PROGRA~1\ANSYSI~1\v161\fluent"\fluent16.1.0\sr c\udf\makefile_nt.udf "libudf\win64\2d\makefile" ") 1 file(s) copied. (chdir "libudf")(chdir "win64\2d") Done." but when click on "LOAD" this message will illustrated: "Opening library "D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\libudf"...RPC RCX_SC_SET_ERR_MSG failed: RPC: Can't encode arguments Error: The UDF library you are trying to load (D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\libudf) is not compiled for 2d on the current platform (win64). The system cannot find the file specified. D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\libudf\win64\2d\libudf .dll Error: The UDF library you are trying to load (D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\libudf) is not compiled for 2d on the current platform (win64). The system cannot find the file specified. D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\libudf\win64\2d\libudf .dll Error Object: #f" |
|
November 18, 2015, 12:19 |
|
#4 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Okay, now I think it is something else: you have spaces in your foldername.
Code:
D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files Code:
D:\Final_Project\Model\Fluent\msh\curve_section_2D_SAMPLE_files (Fluent has sometimes problems with spaces in file names/folder names.) |
|
November 18, 2015, 15:03 |
|
#5 |
New Member
mohsen
Join Date: Jun 2015
Posts: 25
Rep Power: 11 |
pakk, you showed me good tips, it was spaces in my UDF's name. when I deleted that spaces, UDF compiled and load successfully.
thanks and best regards pakk |
|
May 14, 2017, 11:57 |
|
#6 |
New Member
Hooman
Join Date: Jan 2016
Posts: 19
Rep Power: 10 |
(Fluent has sometimes problems with spaces in file names/folder names.)[/QUOTE]
thank you, my problem was that. |
|
Tags |
compile, fluent16.1, udf, windows8.1 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WILLING TO PAY/ FREELANCER REQUIRED / small UDF coding force loads over body / 6DOF | acasas | CFD Freelancers | 1 | January 23, 2015 08:26 |
Help : UDF compling error? | Lincoln | FLUENT | 1 | January 13, 2010 15:30 |
Erroe while compling a UDF | Kappe | Fluent UDF and Scheme Programming | 0 | August 31, 2009 08:29 |
PROBLEM IN COMPLING IN UDF | ammi | CFX | 1 | December 6, 2006 00:43 |
RE: the explaination of Error while compling UDF | li li | FLUENT | 0 | October 24, 2003 01:47 |