|
[Sponsors] |
The UDF library you are trying to load (libudf) is not compiled for 3d on the current |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 8, 2016, 04:26 |
|
#21 |
Member
sonu
Join Date: Jul 2013
Location: delhi
Posts: 92
Rep Power: 12 |
Thanks for quick reply ....I am sending you the code with line number for the better understanding.
Thanks , Sonu. |
|
June 8, 2016, 05:59 |
|
#22 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26 |
It looks like my guess was correct. You used the wrong style of commenting in line 67.
|
|
June 8, 2016, 06:19 |
|
#23 |
Member
sonu
Join Date: Jul 2013
Location: delhi
Posts: 92
Rep Power: 12 |
ok, I will change those lines and will compile again.
Thanks Again. |
|
March 2, 2017, 10:36 |
|
#24 |
New Member
Join Date: Dec 2015
Location: Japan
Posts: 25
Rep Power: 10 |
Hi Pakk, I'm not able to compile UDF into fluent. Could I know where is the problem?
Copied c:\users\0wner\desktop ry ken/C:\Users\0wner\Desktop ry ken\ken.c to libudf\src (system "copy "C:\PROGRA~1\ANSYSI~1\v140\fluent"\fluent14.0.0\sr c\makefile_nt.udf "libudf\win64\3d\makefile" ") 1 file(s) copied. (chdir "libudf")() (chdir "win64\3d")() # Generating ud_io1.h Done. Opening library "c:\users\0wner\desktop\try ken\libudf"... Error: The UDF library you are trying to load (libudf) is not compiled for 3d on the curent platform (win64). The system cannot find the file specified. c:\users\0wner\desktop ry ken\libudf\win64\3d\libudf.dll Error Object: #f |
|
March 2, 2017, 10:53 |
|
#25 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26 |
The problem is that you foldername has a space in it. Fluent has a problem with folders with a space in the name. Copy everything to a different folder and work from there.
|
|
March 2, 2017, 11:11 |
|
#26 | |
New Member
Join Date: Dec 2015
Location: Japan
Posts: 25
Rep Power: 10 |
Quote:
Copied C:\Users\0wner\Desktop\ken/C:\Users\0wner\Desktop\ken\ken.c to libudf\src (system "copy "C:\PROGRA~1\ANSYSI~1\v140\fluent"\fluent14.0.0\sr c\makefile_nt.udf "libudf\win64\3d\makefile" ") 1 file(s) copied. (chdir "libudf")() (chdir "win64\3d")() # Generating ud_io1.h Done. Opening library "C:\Users\0wner\Desktop\ken\libudf"... Error: The UDF library you are trying to load (libudf) is not compiled for 3d on the curent platform (win64). The system cannot find the file specified. C:\Users\0wner\Desktop\ken\libudf\win64\3d\libudf. dll Error Object: #f |
||
November 28, 2017, 04:54 |
udf compiled
|
#27 |
New Member
elaf
Join Date: May 2013
Posts: 15
Rep Power: 13 |
Hi
I would like to compiled udf in Fluent 17.2 using Win10, 64. I have got this error Error: The UDF library you are trying to load (libudf) is not compiled for 3d on the current platform (win64).\n\nThe system cannot find the file specified. \n\nC:\Users\hp\Desktop\udf1\libudf\win64\3d\libud f.dll Error Object: #f I have downloaded visual studio 2013 , with commend prompt tool vs 2012 can any body help me with this issue please Regards, Ahmed |
|
November 28, 2017, 05:02 |
|
#28 | |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
Quote:
best regards |
||
November 28, 2017, 05:14 |
|
#29 | |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26 |
Quote:
Quote: "The UDF library you are trying to load (libudf) is not compiled for 3d on the current platform (win64)."[emphasis mine] First keyword: load. This is the error message you get when you try to load the udf. Second keyword: not compiled. Your code is not compiled. The obvious solution for this: compile your code. If you have problems compiling your code, show the message you get when you try to compile your code. Not the error message you get when you try to load your code. |
||
November 28, 2017, 05:16 |
|
#30 |
New Member
elaf
Join Date: May 2013
Posts: 15
Rep Power: 13 |
Hi
Thanks a lot mate Yes indeed I have done this, therefore I have got this error I could not find the ali udf.dll file in the folder that generated after compiler |
|
November 28, 2017, 15:04 |
udf compiled
|
#31 |
New Member
elaf
Join Date: May 2013
Posts: 15
Rep Power: 13 |
Hi Pakk
Firstly, thanks for response. When I Build Library I have got this message (Copied C:\Users\hp\Desktop\udf1/C:\Users\hp\Desktop\udf1\fixtempvisc_304.c to libudf\src Creating user_nt.udf file for 3d ... (system "copy "C:\PROGRA~1\ANSYSI~1\v172\fluent"\fluent17.2.0\sr c\udf\makefile_nt.udf "libudf\win64\3d\makefile" ") 1 file(s) copied. (chdir "libudf")(chdir "win64\3d")# Generating ud_io1.h fixtempvisc_304.c C:\PROGRA~1\ANSYSI~1\v172\fluent\fluent17.2.0\tgri d\src\hash.h(16) : fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory) However, I have used this code before when I was using Fluent 14.5, also when I used interpret in stead of compiled the code went wrong. It is important for me to use compile method because I have 4 udf in my case and as you know that impossible to run them by using interpret method. If you have got this problem before and sort it out please guide me. Kind regard, Ahmed. |
|
November 29, 2017, 06:12 |
|
#32 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26 |
The compiler complains that it can not find the file "basetsd.h".
This file belongs to 'Microsoft Windows SDK'. So the Fluent compiler does not know where to find files from SDK. You made an error in installing this, or using this. I am no expert in SDK, so I can not help you with that, but I can guarantee you that the current problem that you see has nothing to do with the code inside your udf. (By the way: if you put the four UDFs in one file, you might be able to interpret them all four at the same time. But in general, compiling is better, so it is useful to solve this problem.) |
|
November 29, 2017, 09:17 |
|
#33 |
New Member
elaf
Join Date: May 2013
Posts: 15
Rep Power: 13 |
Hi Parkk
Thanks for this helpful information I will re installing the vs 2013 I will let you know if it will be sorted Regards |
|
December 3, 2017, 00:52 |
udf compiled
|
#34 |
New Member
elaf
Join Date: May 2013
Posts: 15
Rep Power: 13 |
Hi
I would like to inform you that my problem has been solved, I went through your suggestion. Just re instill VS 2012, it was missing program which is windows kit develop. Thanks guys for helpful advice. Best wishes to all. |
|
December 20, 2017, 17:18 |
|
#35 |
Senior Member
Joe
Join Date: Feb 2012
Location: Canada
Posts: 111
Rep Power: 14 |
||
December 20, 2017, 17:19 |
|
#36 |
Senior Member
Joe
Join Date: Feb 2012
Location: Canada
Posts: 111
Rep Power: 14 |
||
October 3, 2019, 02:49 |
|
#37 | |
New Member
Konstantin
Join Date: Oct 2019
Posts: 1
Rep Power: 0 |
Quote:
Copied C:\Users\Admin\Desktop\4554\cobra_files\dp0\FLU\Fl uent/C:\Users\Admin\Desktop\4554\oil-den.c to libudf\src Copied C:\Users\Admin\Desktop\4554\cobra_files\dp0\FLU\Fl uent/C:\Users\Admin\Desktop\4554\vane.c to libudf\src Creating user_nt.udf file for 3ddp ... (system "copy "C:\Games\ANSYSI~1\v171\fluent"\fluent17.1.0\src\u df\makefile_nt.udf "libudf\win64\3ddp\makefile" ") ª®¯¨à®¢ *® ä ©«®¢: 1. (chdir "libudf")(chdir "win64\3ddp")"nmake" *¥ ï¥âáï ¢*ãâà¥**¥© ¨«¨ ¢*¥è*¥© ª®¬ *¤®©, ¨á¯®«*塞®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥â*ë¬ ä ©«®¬. Done. Opening library "C:\Users\Admin\Desktop\4554\cobra_files\dp0\FLU\F luent\C:\Users\Admin\Desktop\4554\cobra_files\dp0\ FLU\Fluent\libudf"...RPC RCX_SC_SET_ERR_MSG failed: RPC: Can't encode arguments Error: The UDF library you are trying to load (C:\Users\Admin\Desktop\4554\cobra_files\dp0\FLU\F luent\libudf) is not compiled for 3ddp on the current platform (win64). Íå óäàåòñÿ íàéòè óêàçàííûé ôàéë. C:\Users\Admin\Desktop\4554\cobra_files\dp0\FLU\Fl uent\C:\Users\Admin\Desktop\4554\cobra_files\dp0\F LU\Fluent\libudf\win64\3ddp\libudf.dll Error: EOF in string read Error Object: () |
||
October 3, 2019, 06:16 |
|
#38 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26 |
I'm sorry, I can't really help here. You are using a language with non-ascii characters, so the error messages show up like strange signs, which I can't read.
Based on the length, I would guess that they say that Fluent cannot find the compiler, so your compiler setup is wrong, but that is not much more than a guess. (Please don't see this as an insult to your language. If anybody did something wrong, it is the programmer who made non-ascii codes show up in these strange signs.) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Current density visualisation (PEM fuel cell add-on module) | pchoopanya | FLUENT | 10 | August 21, 2023 14:33 |
decomposePar is missing a library | whk1992 | OpenFOAM Pre-Processing | 8 | March 7, 2015 07:53 |
cannot load UDF library | jayilosa | Fluent UDF and Scheme Programming | 3 | November 16, 2011 12:44 |
Error in opening UDF library | anon_d | Fluent UDF and Scheme Programming | 4 | May 21, 2011 02:10 |
error open udf library | adjie_mesin06 | Main CFD Forum | 1 | October 27, 2010 01:49 |