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

load libudf problem

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2007, 12:28
Default Re: load libudf problem
  #21
Shaik Rizwan
Guest
 
Posts: n/a
welll guys i got the solution for all the not able to find nmake etc etc stuff, il post a detailed reply soon under a separate heading.

Regards Razwan
  Reply With Quote

Old   October 13, 2010, 05:15
Default
  #22
New Member
 
asal
Join Date: Apr 2010
Posts: 11
Rep Power: 16
asaleghahreman is on a distinguished road
hi everyone.I have the same problem.when I push build botton,I recived this error:

The system cannot find the file specified.
(system "copy C:\FLUENT~1.26\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\2d\makefile")
1 file(s) copied.
(chdir "libudf")()
(chdir "ntx86\2d")()


i saw log file,It was:
NMAKE : U1073: don't know how to make '..\..\src\a.c'
Stop.

what should I do to solve this problem??

thanx
asaleghahreman is offline   Reply With Quote

Old   November 29, 2010, 07:00
Default
  #23
New Member
 
Join Date: Apr 2010
Posts: 1
Rep Power: 0
Iodel is on a distinguished road
Hi everybody. I had the exact same problem and here's how I solved it:

Situation:
- I am currently using the Fluent package contained in Ansys v12.0
- I am working on a Windows 7 (32 bit) OS
- I have installed "Microsoft Visual C++ 2008 - Express Edition" (I've also tried with the Visual C++ 2010 but it seems not to be compatible with Ansys v12.0)

Solution:
- I've modified my environment variables in this way:

1) Start -> Computer -> Properties -> Advanced Options -> Environment variables -> PATH -> Edit

2) I've then added the following adresses to the existing list:
- C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools;
- C:\Program Files\Microsoft Visual Studio 9.0\VC\bin;
- C:\Program Files\ANSYS Inc\v120\fluent\ntbin\ntx86;

- Then I've created a folder "TEST" where I put my case files AND the .c file containing my udf "udf_test.c"

- I've opened my case's workbench and double-clicked on "setup", opening FLUENT

- Define -> User-Defined -> Functions -> Compiled

- Now on Source Files I've added my source file "udf_test.c"

- On "library name" I've kept the default library name "libudf" and clicked on the "Build" button

- Now, on the working directory "TEST", FLUENT created a new folder containing the library and called "libudf"

- I've then copied the "libudf" directory and pasted it into: mycase_files -> dp0 -> FFF -> Fluent

- At last I clicked on the LOAD button in Fluent, and my udf library was successfully loaded in Fluent

Hope it will work for you as well.
Iodel is offline   Reply With Quote

Old   August 23, 2013, 03:22
Default hi
  #24
New Member
 
tran trung
Join Date: Aug 2013
Posts: 23
Rep Power: 13
tranvantrung551987 is on a distinguished road
Quote:
Originally Posted by Tania
;140033
Hi,

I had the same problem when I run Fluent in windows. But then I installed VisualC++, everything worked. It seems that you need to have a compiler installed in the computer. This is how I solved my problem.

Here are the steps, I do to run an Udf file.

1- put the udf file in my case directory.

2- Go to Define>user-defined Functions>Compiled> There you should first add the udf file.

3- Click on BUILD

4- Click on LOAD

..it should work.

Tania
can you show step by step what you do by attached flie
thanks you so much
tranvantrung551987 is offline   Reply With Quote

Old   November 1, 2013, 00:53
Default
  #25
New Member
 
Ngô Ích Sơn
Join Date: Apr 2010
Location: Anseong, Korea
Posts: 8
Rep Power: 16
manowars is on a distinguished road
In my case,
1. first install SDK 2.0
2. Open SDK 2.0 command prompt, type: Fluent
3. Then go to Define>User Defined> Function> Compiler

Remember to put the udf file in the same folder with case files
manowars 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
area does not match neighbour by ... % -- possible face ordering problem St.Pacholak OpenFOAM 11 September 4, 2024 05:28
high CPU load with no computation going on & Pressure coefficient output problem spetsnaz26 FLUENT 0 September 30, 2011 06:25
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 06:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13


All times are GMT -4. The time now is 22:35.