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

Error, could not find CONVERGE UDF LIBRARY, libconverge_udf.so

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 9, 2016, 17:49
Default Error, could not find CONVERGE UDF LIBRARY, libconverge_udf.so
  #1
Member
 
Krishna
Join Date: Apr 2012
Posts: 54
Rep Power: 14
kri321shna is on a distinguished road
Hi,

I am using udf.in and I selected some outputs in udfs.

I am getting below error message while executing. How to overcome it.

"Error, could not find CONVERGE UDF LIBRARY, libconverge_udf.so"

which files i need to complile using make command.

can somebody help me out.
Thanks
kri321shna is offline   Reply With Quote

Old   December 10, 2016, 12:39
Default
  #2
Senior Member
 
Tobias
Join Date: May 2016
Location: Germany
Posts: 295
Rep Power: 11
MFGT is on a distinguished road
Depends on what you want to output with your UDF.

I use the UDF for monitor points with extra variables.
MFGT is offline   Reply With Quote

Old   December 12, 2016, 03:29
Default
  #3
Senior Member
 
Tobias
Join Date: May 2016
Location: Germany
Posts: 295
Rep Power: 11
MFGT is on a distinguished road
So, for my monitor points i include these 5 objects in the makefile.win file:

Code:
OBJS =  user_dynamic_routines.obj\
        user_dt.obj\
        user_inputs.obj\
        user_points.obj\
        user_points_data.obj\
then run the make_udf.bat and copy the converge_udf.dll into C:\Program Files\CONVERGE
MFGT is offline   Reply With Quote

Old   December 12, 2016, 11:40
Default
  #4
Member
 
Krishna
Join Date: Apr 2012
Posts: 54
Rep Power: 14
kri321shna is on a distinguished road
Thank you so much MFGT for your response.

I cannot able to see these *.obj and converge udf manual in my windows or linux installation folders.

I am looking for wall htc values. Please find attached udf.in (changed file extn due to uploading error)

Please suggest me, how to go further to solve this error.

Thank you again.

Krishna
Attached Files
File Type: c udf.c (8.4 KB, 27 views)
kri321shna is offline   Reply With Quote

Old   December 12, 2016, 11:50
Default
  #5
New Member
 
jhuang's Avatar
 
Jing Huang
Join Date: Dec 2015
Location: Convergent Science, Madison WI
Posts: 23
Rep Power: 11
jhuang is on a distinguished road
Hi Krishna,

Do you use Linux or Windows? The following steps are for linux:

1. Please download the two zip files of UDF_Dev_Packages from our download site. They must be of the same version of the solver you are using.

2. Unzip the two zip files and copy all the files into a folder udf_lib.

3. Copy the udf_lib folder into your case directory (where you put all the .in and .dat files for the case)

4. Under udf_lib folder, run make command. With the default udfs, it should run successfully and generate this library file libconverge_udf.so.

5. I see that you want to use user_wall_value and user_heat_transfer, you can make modifications to those two files based on your need. Then compile the library file again.

6. Run the simulation in your case directory (which contains the udf_lib subfolder). If CONVERGE still complains it cannot find the libconverge_udf.so, add ./udf_lib to your environment variable LD_LIBRARY_PATH

Hope this helps. Thanks!
__________________
Jing Huang
Research Engineer
CONVERGECFD
jhuang is offline   Reply With Quote

Old   December 12, 2016, 11:58
Default
  #6
Senior Member
 
Tobias
Join Date: May 2016
Location: Germany
Posts: 295
Rep Power: 11
MFGT is on a distinguished road
If its with Linux, i am out.
We are on Windows here
MFGT is offline   Reply With Quote

Old   December 12, 2016, 12:18
Default
  #7
New Member
 
jhuang's Avatar
 
Jing Huang
Join Date: Dec 2015
Location: Convergent Science, Madison WI
Posts: 23
Rep Power: 11
jhuang is on a distinguished road
Hi MFGT, thanks for your answers on Windows system!
__________________
Jing Huang
Research Engineer
CONVERGECFD
jhuang is offline   Reply With Quote

Old   December 12, 2016, 12:26
Default
  #8
Member
 
Krishna
Join Date: Apr 2012
Posts: 54
Rep Power: 14
kri321shna is on a distinguished road
hi I got all these files.

Based on my attached udf.in ,

please tell me the exact procedure in linux.

Thank you so much.

Krishna
kri321shna is offline   Reply With Quote

Old   December 12, 2016, 12:41
Default
  #9
New Member
 
jhuang's Avatar
 
Jing Huang
Join Date: Dec 2015
Location: Convergent Science, Madison WI
Posts: 23
Rep Power: 11
jhuang is on a distinguished road
Hi Krishna,

As first step, you don't need to do any modification to the files you downloaded. Just do the compiling, make sure you got the libconverge_udf.so generated correctly.

Run the simulation with the udf.in you uploaded and udf_flag in inputs.in set to 1. If the simulation runs fine, then go to the next step. What's happening here is, the two udf files user_heat_transfer.c and user_wallvalue.c are called and taking control of calculating wall heat transfer flux and wall values. In user_heat_transfer.c, you can see that heat_model 0 is used, therefore no matter what you set in your turbulence.in, model 0 will be used.

Now you can modify the two files user_heat_transfer.c and user_wallvalue.c based on your need. Please refer to UDF manual for explanations of variables, data structures. If you have any questions, ask here or send a request to support@convergecfd.com. Thanks!
__________________
Jing Huang
Research Engineer
CONVERGECFD
jhuang is offline   Reply With Quote

Old   December 12, 2016, 13:03
Default
  #10
Member
 
Krishna
Join Date: Apr 2012
Posts: 54
Rep Power: 14
kri321shna is on a distinguished road
hi Jhuang,

after step 4 (when i am executing make command), i am getting this below error

make: *** No targets specified and no makefile found. Stop.

how can i overcome this
kri321shna is offline   Reply With Quote

Old   December 12, 2016, 13:32
Default
  #11
Member
 
Krishna
Join Date: Apr 2012
Posts: 54
Rep Power: 14
kri321shna is on a distinguished road
one more doubt

if i develop a .so file in linux, will it work in windows execution??

Thank you
kri321shna is offline   Reply With Quote

Old   December 12, 2016, 16:27
Default
  #12
Member
 
Krishna
Join Date: Apr 2012
Posts: 54
Rep Power: 14
kri321shna is on a distinguished road
I got the solution.

Thank you
kri321shna 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
The UDF library you are trying to load (libudf) is not compiled for 3D on the current mohibanwar Fluent UDF and Scheme Programming 14 December 8, 2020 18:33
UDF library is not compiled for 2d on the current platform(win64). SNeCu Fluent UDF and Scheme Programming 5 March 21, 2016 23:36
Help! where to find full UDF Macros and functions kim FLUENT 6 March 5, 2014 10:01
How can I find a free Fortran77 numerical library? Alberto Main CFD Forum 3 January 21, 2008 01:56
find the best inlet with udf Tuckbros FLUENT 0 May 20, 2004 13:56


All times are GMT -4. The time now is 18:07.