|
[Sponsors] |
January 26, 2020, 02:31 |
UDF Error at Node 0: Error code: 126
|
#1 |
New Member
arash
Join Date: Aug 2009
Posts: 29
Rep Power: 17 |
Hi gays,
when I build my udf I see no problem as you can see bellow, but when I load it, I see this message: Opening library "C:\Users\Desktop\fluent\libudf"... Error at Node 0: Error code: 126 my computer work with windows 7, and VS 2010, fluent 19.0 on my system any body can help me. I am very confused to waht do I do. Copied C:\Users\Gigabyte\Desktop\fluent/C:\Users\Desktop\fluent\burner.c to libudf\src ************************************************** ************************** ************************************************** ************************** ** WARNING: Automatically switched to run in parallel -t1 mode. ** ** Detected non-parallelized UDF usage, enabling parallel usage. ** ** If you encounter any issues, please re-run with -t0 flag. ** ************************************************** ************************** ************************************************** **************************Creating user_nt.udf file for 3d_host ... (system "copy "D:\PROGRA~1\ANSYSI~1\v190\fluent"\fluent19.0.0\sr c\udf\makefile_nt.udf "libudf\win64\3d_host\makefile" ") 1 file(s) copied. (chdir "libudf")(chdir "win64\3d_host")# Generating ud_io1.h ************************************************** ************************** ************************************************** ************************** ** WARNING: Automatically switched to run in parallel -t1 mode. ** ** Detected non-parallelized UDF usage, enabling parallel usage. ** ** If you encounter any issues, please re-run with -t0 flag. ** ************************************************** ************************** ************************************************** **************************Creating user_nt.udf file for 3d_node ... (system "copy "D:\PROGRA~1\ANSYSI~1\v190\fluent"\fluent19.0.0\sr c\udf\makefile_nt.udf "libudf\win64\3d_node\makefile" ") 1 file(s) copied. (chdir "libudf")(chdir "win64\3d_node")# Generating ud_io1.h Done. |
|
January 27, 2020, 07:03 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
you are trying to load code, which was compiled on other system for other fluent version(most likely)
Recompile your UDF
__________________
best regards ****************************** press LIKE if this message was helpful |
|
January 29, 2020, 07:00 |
|
#3 |
New Member
arash
Join Date: Aug 2009
Posts: 29
Rep Power: 17 |
||
January 29, 2020, 07:50 |
Name and location
|
#4 |
Senior Member
|
It appears that you are trying to load from a wrong location. Look at the first message, name is given as C:\Users\Gigabyte\Desktop\fluent/C:\Users\Desktop\fluent\burner.c
It appears that libudf is not located in the same folder as case file; it is not necessary but if it is not the case, then you have to provide full path to load. Second, go inside libudf and check if it has .dll files inside 3d_host 3d_node folders. If not, then library is not compiled. If it exists, then just copy libudf to the folder where case exists, use only the name of the library while loading, and it should work. If it does not, then please share a complete message showing compiling and loading.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
How to obtain node values in UDF? | Maciej | FLUENT | 0 | October 23, 2006 09:10 |
UDF, NODE value | sam | FLUENT | 0 | August 21, 2002 09:44 |
Help: how to get node values with UDF? | Dazhi Guo | FLUENT | 0 | February 4, 2001 01:59 |
Node values on UDF??? | Kamal | FLUENT | 1 | December 10, 1999 11:37 |