Could not find "libudf"
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. |
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 ) |
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:
|
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"); } |
Compile, don't interpret.
|
Udf
Someone have the UDF uv_dosage::libudf?
|
Quote:
|
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 |
All times are GMT -4. The time now is 10:02. |