|
[Sponsors] |
June 25, 2020, 14:02 |
Could not find "libudf"
|
#1 |
Senior Member
André
Join Date: Mar 2016
Posts: 133
Rep Power: 10 |
Hi!
I was trying to load a case file that was sent over which has a custom UDF (.c), however I am getting this error which seems to relate to the default libudf. Any ideas on how to solve this? Thanks in advance! Checking the existence of compiled "libudf" UDF library for current platform. If needed will attempt auto-compilation... Error: Auto-compilation skipped. Could not find "libudf" or input files for creating "libudf" library Error Object: #f Warning: the rp-structure-time? option is not available in this solver Warning: this is a double-precision solver.
__________________
Sapere aude! |
|
June 26, 2020, 04:07 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
libudf is a default name for UDF library (could be different)
to run UDF you should put source file into working directory and interpret it from FLUENT GUI or you should put pre compiled UDF library in working directory (for your case it probably has name libudf). You always can recompile your UDF (user-defined -> compiled -> build )
__________________
best regards ****************************** press LIKE if this message was helpful |
|
June 26, 2020, 09:23 |
|
#3 | |
Senior Member
André
Join Date: Mar 2016
Posts: 133
Rep Power: 10 |
I have the UDF file in the same directory, and when I interpret it get the following error:
20: TP_USER_REAL: undeclared variable The UDF is the following - would appreciate any help interpreting this. Maybe it has something to do with missing header files? Quote:
__________________
Sapere aude! |
||
June 21, 2021, 09:02 |
|
#4 |
New Member
Join Date: Jun 2020
Posts: 1
Rep Power: 0 |
DEFINE_INIT(init_charge, domain)
{ if (NULLP(user_particle_vars)) Init_User_Particle_Vars(); strcpy(user_particle_vars[0].name,"Particle Сharge"); strcpy(user_particle_vars[0].label,"Particle Сharge"); strcpy(user_particle_vars[1].name,"Cell Index"); strcpy(user_particle_vars[1].label,"Сell Index"); } |
|
June 21, 2021, 13:33 |
|
#5 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Compile, don't interpret.
__________________
"The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform" is NOT the error after compiling. It is the error after loading. To see compiler errors, look at your screen after you click "build". |
|
July 12, 2022, 10:12 |
Udf
|
#6 |
New Member
Antonio Santoyo
Join Date: Jun 2022
Posts: 2
Rep Power: 0 |
Someone have the UDF uv_dosage::libudf?
|
|
July 14, 2022, 04:49 |
|
#7 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
the person, who made case you are using has that UDF, ask him better
__________________
best regards ****************************** press LIKE if this message was helpful |
|
March 5, 2024, 14:08 |
|
#8 |
New Member
Niall
Join Date: Mar 2024
Posts: 4
Rep Power: 2 |
Dear André,
I trust this message finds you well. While perusing the forums, I noticed your post regarding a particular issue with Ansys Fluent, and I couldn't help but reach out. I am currently facing a similar challenge with the same code you discussed in your previous post. Despite my efforts to resolve the issue, I find myself at an impasse. It seems you encountered a similar situation some time ago, and I'm curious to know if you were able to find a solution. In my pursuit of answers, I reached out to the code's original creator, but their guidance was limited to suggesting an update to the UDF code, leaving me with little direction. Given your prior experience, I am hopeful that you may have discovered a more comprehensive solution. Your insights on how you resolved the issue, if indeed you did, would be immensely valuable to me. I understand that time has passed since your initial post, but any assistance you can provide would be sincerely appreciated. Thank you very much for considering my request, and I look forward to any insights or guidance you may have to offer. Warm regards, Niall |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] 3.2 Installation in Debian 8.5 | jsm | OpenFOAM Installation | 2 | June 19, 2016 11:53 |
How to make a code parallel? | Bruno Machado | Fluent UDF and Scheme Programming | 15 | May 27, 2016 10:18 |
CFX-Pre problem, pls help!!! | cth_yao | CFX | 0 | February 17, 2012 01:52 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 13:38 |
Problem Building OF on Centos cluster (no admin rights) | CKH | OpenFOAM Installation | 5 | November 13, 2011 07:32 |