|
[Sponsors] |
December 21, 2022, 12:15 |
Error code: 126
|
#1 |
New Member
han
Join Date: Jul 2021
Posts: 8
Rep Power: 5 |
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? |
|
December 22, 2022, 01:21 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
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 |
|
December 22, 2022, 01:36 |
|
#3 |
New Member
han
Join Date: Jul 2021
Posts: 8
Rep Power: 5 |
Also pretty sure this udf is already compiled in version 2021. This solution doesn't work in my case.
best regards |
|
December 22, 2022, 04:22 |
|
#4 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
show compilation log
__________________
best regards ****************************** press LIKE if this message was helpful |
|
December 22, 2022, 04:52 |
compile log
|
#5 |
New Member
han
Join Date: Jul 2021
Posts: 8
Rep Power: 5 |
compile log
|
|
December 22, 2022, 06:54 |
|
#6 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
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 |
|
December 22, 2022, 16:12 |
|
#7 | |
New Member
Zhang Haosen
Join Date: Jun 2020
Posts: 7
Rep Power: 6 |
Quote:
|
||
December 23, 2022, 05:27 |
end
|
#8 |
New Member
han
Join Date: Jul 2021
Posts: 8
Rep Power: 5 |
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. |
|
Tags |
udf loading problem |
|
|
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 |