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

UDF Error at Node 0: Error code: 126

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 26, 2020, 02:31
Default UDF Error at Node 0: Error code: 126
  #1
New Member
 
arash
Join Date: Aug 2009
Posts: 29
Rep Power: 17
a.maroofi is on a distinguished road
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.
a.maroofi is offline   Reply With Quote

Old   January 27, 2020, 07:03
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
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
AlexanderZ is offline   Reply With Quote

Old   January 29, 2020, 07:00
Default
  #3
New Member
 
arash
Join Date: Aug 2009
Posts: 29
Rep Power: 17
a.maroofi is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
you are trying to load code, which was compiled on other system for other fluent version(most likely)
Recompile your UDF
I recompile my udf but still exists problem. I become confused to what do I do
a.maroofi is offline   Reply With Quote

Old   January 29, 2020, 07:50
Default Name and location
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
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.
vinerm 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
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


All times are GMT -4. The time now is 11:38.