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

Error code: 126

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 21, 2022, 12:15
Post Error code: 126
  #1
New Member
 
han
Join Date: Jul 2021
Posts: 7
Rep Power: 5
han-1 is on a distinguished road
udf load error.

there is no problem in udf itself or compile process. the udf is correctly compiled. pretty sure.

error says:
Error at Node 0: Error code: 126


Error at Node 1: Error code: 126


Error at host: Error code: 126


Error: Error code: 126\n
Error Object: #f

the udf works on fluent2020R1, but in fluent2021r1 or higher version, error code appears.

Anyone have the same problem?
han-1 is offline   Reply With Quote

Old   December 22, 2022, 01:21
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
most likely:
you are trying to load udf, which was compiled in previous version (2020 for your case)
recompile it for new version of fluent (probably 2021 for your case)
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   December 22, 2022, 01:36
Default
  #3
New Member
 
han
Join Date: Jul 2021
Posts: 7
Rep Power: 5
han-1 is on a distinguished road
Also pretty sure this udf is already compiled in version 2021. This solution doesn't work in my case.


best regards
han-1 is offline   Reply With Quote

Old   December 22, 2022, 04:22
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
show compilation log
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   December 22, 2022, 04:52
Default compile log
  #5
New Member
 
han
Join Date: Jul 2021
Posts: 7
Rep Power: 5
han-1 is on a distinguished road
compile log
Attached Files
File Type: txt compile log.txt (11.9 KB, 7 views)
han-1 is offline   Reply With Quote

Old   December 22, 2022, 06:54
Default
  #6
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
seems like you have some problems with fonts on your computer, however, most likely udf was compiled
one person has reinstalled visual studio to solve this issue
Error at host: Error code: 126
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   December 22, 2022, 16:12
Default
  #7
New Member
 
Zhang Haosen
Join Date: Jun 2020
Posts: 7
Rep Power: 6
zimao is on a distinguished road
Quote:
Originally Posted by han-1 View Post
udf load error.

there is no problem in udf itself or compile process. the udf is correctly compiled. pretty sure.

error says:
Error at Node 0: Error code: 126


Error at Node 1: Error code: 126


Error at host: Error code: 126


Error: Error code: 126\n
Error Object: #f

the udf works on fluent2020R1, but in fluent2021r1 or higher version, error code appears.

Anyone have the same problem?
there maybe answers in the migration manual in the help document.
zimao is offline   Reply With Quote

Old   December 23, 2022, 05:27
Smile end
  #8
New Member
 
han
Join Date: Jul 2021
Posts: 7
Rep Power: 5
han-1 is on a distinguished road
Thank you for your reply,
The problem can't be solved by reinstallation of visual studio(whatever the vesion 2019 or 2017).
There is some personal reason that i must use ANSYS fluent 2021 or newer version.
But i found that Linux version of ANSYS fluent doesn't have this problem. That might be a solution to current needs.
han-1 is offline   Reply With Quote

Reply

Tags
udf loading problem


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
Error code: 126 loading compiled udf library into fluent Perigee Fluent UDF and Scheme Programming 3 August 25, 2022 15:15
UDF loading error 126 Yadu krishnan Fluent UDF and Scheme Programming 6 August 22, 2021 01:10
UDF compilation error code: 126 Adrae FLUENT 7 October 29, 2018 19:20
Error code: 126 when loading parallel UDF Coop Fluent UDF and Scheme Programming 0 July 13, 2018 09:33
Multicomponent fluid Andrea CFX 2 October 11, 2004 06:12


All times are GMT -4. The time now is 04:58.