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

Compile udf and load libudf library

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2015, 12:11
Exclamation Compile udf and load libudf library
  #1
New Member
 
Francesca Guardavaccaro
Join Date: Feb 2015
Posts: 9
Rep Power: 11
starlight is on a distinguished road
Hello everyone,
this is the first time I write/ask something here and I hope my question won't seem too boring and/or "stupid"!

I am a student and I have to solve a flux in a conduct with a Poiseuille velocity inlet profile: I can do that through an udf and when I try to compile it and then load the library Fluent 6.3 tells me this:

'nmake' is not recognized as an internal or external command,
operable program or batch file.


Warning: An error or interrupt occurred while reading the journal file.
Some commands may not have been completed.

Error: open_udf_library: The system cannot find the file specified.

I've found people who ask for help for my same problem and I tried all day long to do the things that someone said to them to fix this but I did not have success at all!!!

Could someone help me, please?
(I have a 32 bit notebook and I work with Fluent only, not with the whole ANSYS package).
starlight is offline   Reply With Quote

Old   February 18, 2015, 05:55
Default
  #2
Member
 
Join Date: Feb 2015
Posts: 32
Rep Power: 11
fanch33 is on a distinguished road
Hi,

I had the same problem. I think it's because you don't have any C compiler on your computer.

Use the function interpreted, it should work and for simple UDF it's as fast an function compiled.

Good luck

Fanch
fanch33 is offline   Reply With Quote

Old   February 18, 2015, 07:45
Default
  #3
New Member
 
Francesca Guardavaccaro
Join Date: Feb 2015
Posts: 9
Rep Power: 11
starlight is on a distinguished road
Thank you for the answer! Unfortunately I have already tried the function interpreted but the problem still exists!
starlight is offline   Reply With Quote

Old   February 18, 2015, 07:49
Default
  #4
Member
 
Join Date: Feb 2015
Posts: 32
Rep Power: 11
fanch33 is on a distinguished road
It's strange.

Is the error the same with the interpreted function ?
fanch33 is offline   Reply With Quote

Old   February 18, 2015, 09:19
Default
  #5
New Member
 
Francesca Guardavaccaro
Join Date: Feb 2015
Posts: 9
Rep Power: 11
starlight is on a distinguished road
Yes! It's the same error!
starlight is offline   Reply With Quote

Old   February 19, 2015, 09:49
Default
  #6
New Member
 
...
Join Date: Jun 2013
Posts: 19
Rep Power: 12
manalis is on a distinguished road
Check your installation path of Fluent to see if you have "cpp.exe" file. It should be located in "C:\Program Files\fluent\ntbin\..." or something like that.
manalis 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
Error: The UDF library you are trying to load (libudf) is not compiled for 2d on the gxu2 Fluent UDF and Scheme Programming 13 August 10, 2018 17:38
UDF Compilation Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 00:53
Error: The UDF library you are trying to load is not compiled for 3ddp on the current Whitemast Fluent UDF and Scheme Programming 0 November 21, 2013 06:45
cannot load UDF library jayilosa Fluent UDF and Scheme Programming 3 November 16, 2011 12:44
help on UDF compile and load Sherry FLUENT 5 October 29, 2005 11:37


All times are GMT -4. The time now is 23:02.