CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

problem with loading udf in fluent 6.3

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 23, 2007, 07:31
Default problem with loading udf in fluent 6.3
  #1
James
Guest
 
Posts: n/a
Hi,

I used a udf on fluent 6.2.16 and it worked fine and now we are switching to fluent 6.3.26 and i am having trouble with loading my udf after the compilation. This is what I am getting:

opening library "libudf"

Library "libudf/lnamd643d_host/libudf.so" opened.

Primitive Error at Node O: Open_udf_library:library version 6.2.16 incompatible with solver version 6.3.26"

Any idea what is wrong here?

Any help will be appreciated.

James

  Reply With Quote

Old   March 23, 2007, 08:40
Default Re: problem with loading udf in fluent 6.3
  #2
Bak_Flow
Guest
 
Posts: n/a
Hi,

try deleting your old libraries /libudf then recompile or rename it.../libudf-63

Then reload and see if that works.

Sometimes there are permissions problems that do not allow you to write the new libraries.

Regards,

Bak_Flow
  Reply With Quote

Old   March 23, 2007, 10:15
Default Re: problem with loading udf in fluent 6.3
  #3
James Willie
Guest
 
Posts: n/a
Hi,

U got it right. I had deleted the old library and re-compiled and it worked. Thanks for responding to my post.
  Reply With Quote

Old   March 24, 2007, 13:19
Default Re: problem with loading udf in fluent 6.3
  #4
Rizwan
Guest
 
Posts: n/a
A detailed reply was posted by me, a couple of days ago. I just wanted to add one more point that, if u have changed ur computer too, it might be possible that a compiled udf will not work on the new machine even if u r using a Fluent 6.3.

Regards Rizwan
  Reply With Quote

Old   March 28, 2007, 19:49
Default Re: problem with loading udf in fluent 6.3
  #5
Achim Casties
Guest
 
Posts: n/a
Hello,

I assume you used a makefile to built the libudf.so containing your udf. There are two variables in the makefile that must be changed due to the new version of fluent, eg.:

FLUENT_INC= /usr/local/fluent/6.3.26/Fluent.Inc

and

RELEASE= 6.3.26

Your udf may be set like

SOURCES= your_udf.c

Then the new udf will be compiled within the new version's environment.

Hope this helps,

Achim
  Reply With Quote

Old   March 17, 2012, 09:32
Default
  #6
New Member
 
peyman
Join Date: Mar 2012
Posts: 9
Rep Power: 5
pzahedi is on a distinguished road
Hello,

I assume you used a makefile to built the libudf.so containing your udf. There are two variables in the makefile that must be changed due to the new version of fluent, eg.:

FLUENT_INC= /usr/local/fluent/6.3.26/Fluent.Inc

and

RELEASE= 6.3.26

Your udf may be set like

SOURCES= your_udf.c

Then the new udf will be compiled within the new version's environment.

Hope this helps,

Achim



hello,
how can i open a makefile and doing these changes?makefile is unknown in my widows
pzahedi is offline   Reply With Quote

Old   January 22, 2015, 06:51
Default compiling problem with fluent
  #7
New Member
 
faouzi
Join Date: Dec 2013
Location: ALGERIA
Posts: 3
Rep Power: 3
lemmi is on a distinguished road
Send a message via Skype™ to lemmi
I like adress to bak_flow if his method of deleting the librarie is even worked with the installation of standard C++ with fluent 6.3.26, because i have even the problem of compilation, file not found....
lemmi is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 32 May 8, 2015 06:05
"printf" udf on fluent 6.3 salzferkel Fluent UDF and Scheme Programming 3 May 24, 2012 14:28
Problem with loading udf on multiple nodes JurijG Fluent UDF and Scheme Programming 0 July 22, 2011 05:42
problem loading UDF library in parallel cluster Veera Gutti FLUENT 7 July 3, 2011 09:15
Fluent reaction- udf problem? help owen FLUENT 4 November 18, 2008 12:42


All times are GMT -4. The time now is 16:59.