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

open_udf_library

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2008, 06:36
Default open_udf_library
  #1
Dennis
Guest
 
Posts: n/a
Hi everyone,

I am using an UDF for creating a user-defined viscosity. It all worked fine till today. Due to hard-disc space I moved my working-folder to another partition. If I want to load the .cas file now, I always get the error: Openening library "libudf"... Primitive Error at Node 1: open_udf_library: No such file or directory

But the directory libudf was copied, too.

The strangest thing is now, when I now try to create the .cas-file from the .msh-file again, it's not possible to load the udf. Compiling the udf works, but when i try to load it I get the same error as before.

Does anyone have an idea how to fix this problem?

I am working on Linux with FLUENT 6.3

with kind regards Dennis
  Reply With Quote

Old   May 19, 2008, 06:52
Default Re: open_udf_library
  #2
Padian
Guest
 
Posts: n/a
You could try the following method:

Define->User Define->Function->Mange

Select original udf files and select remove

and then copy the .cas and yourudf.c to new location

compile again.

  Reply With Quote

Old   May 19, 2008, 07:06
Default Re: open_udf_library
  #3
Dennis
Guest
 
Posts: n/a
Tahnks for your response. Well the problem is I used "cut/copy" method to move the files to the other partition. So I don't have a Backup with the working file. And if I try to open the .cas-file in the new directory the open_udf_library error accurs and FLUENT freezes so that I can't remove the udf file

Greetings Dennis

  Reply With Quote

Old   May 19, 2008, 07:16
Default Re: open_udf_library
  #4
Padian
Guest
 
Posts: n/a
Maybe you could use "cut/copy" to move the files back to orinigial location.
  Reply With Quote

Old   May 19, 2008, 07:57
Default Re: open_udf_library
  #5
Dennis
Guest
 
Posts: n/a
I moved the files back to their original location, but even there the same error occurs.
  Reply With Quote

Old   May 19, 2008, 08:45
Default Re: open_udf_library
  #6
Padian
Guest
 
Posts: n/a
What about resetting where using udf files?

Maybe I'm a little confused about your problem

  Reply With Quote

Old   May 19, 2008, 08:59
Default Re: open_udf_library
  #7
Dennis
Guest
 
Posts: n/a
Well I am confused, too.

What do you mean with "resetting"?

I tried to build up the file again from the existing .msh-file. When I compile the UDF, I don't get an error. But when I try to load the UDF I get the "open_udf_library" error. So at the moment it is not possible to load the UDF to file in the new directory. So I don't understand why FLUENT has such a problem with this new directory
  Reply With Quote

Old   May 19, 2008, 09:04
Default Re: open_udf_library
  #8
Padian
Guest
 
Posts: n/a
firstly you should sure that the .cas file and your udf file are in the same folder

Secondly maybe you should set the enviornment variables
  Reply With Quote

Old   May 19, 2008, 09:11
Default Problem solved
  #9
Dennis
Guest
 
Posts: n/a
OK, I reassigned the working-directory from FLUENT and now its running.

  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
Error: open_udf_library: dhananjay Fluent UDF and Scheme Programming 32 May 30, 2013 09:54
error:open_udf_library venkatesh4386@gmail.com FLUENT 0 January 9, 2009 04:56
open_udf_library error pUl| FLUENT 0 July 12, 2005 16:31
open_udf_library: The system cannot find the file john CFX 1 February 13, 2005 01:21
Error: open_udf_library Karl FLUENT 1 February 2, 2005 09:51


All times are GMT -4. The time now is 20:08.