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

Compiling UDF in Ansys Fluent12

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 3, 2011, 11:24
Default Compiling UDF in Ansys Fluent12
  #1
New Member
 
Vishu
Join Date: Oct 2011
Posts: 1
Rep Power: 0
Vishu is on a distinguished road
I have problem in compiling UDF in ANSYS FLUENT.

I have installed Visual studio in
C:\Program Files\Microsoft Visual Studio 9.0
My ansys fluent is intalled inside C:\Program Files.

The error it is showing while loading is :
open_udf_library: The file is not specified

Please anyone help me how to get out of this problem.I am using 32-bit system with Windows XP.

the problem might be setting of environment variables.If so kindly let me know how to set them.What path I need to give.
Vishu is offline   Reply With Quote

Old   October 5, 2011, 02:36
Default
  #2
New Member
 
Jack cosby
Join Date: Jul 2011
Posts: 15
Rep Power: 15
3DmaniacSLDWRKS is on a distinguished road
Do you start fluent from the visual studio command prompt?type in fluent.exe 2ddp(put in 3d or 3ddp .... depending on your case).
to set the env. variables start>fluent>set enviromental variables. this adds fluent to system path, then http://www.cfd-online.com/Forums/blo...fluent-vc.html
remember to run fluent from v.s command prompt
3DmaniacSLDWRKS is offline   Reply With Quote

Old   October 5, 2011, 10:09
Default
  #3
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
Amir is on a distinguished road
Quote:
Originally Posted by 3DmaniacSLDWRKS View Post
Do you start fluent from the visual studio command prompt?type in fluent.exe 2ddp(put in 3d or 3ddp .... depending on your case).
to set the env. variables start>fluent>set enviromental variables. this adds fluent to system path, then http://www.cfd-online.com/Forums/blo...fluent-vc.html
remember to run fluent from v.s command prompt
Dear Jack,

I want to clear these 2 different methods for linking (for both, you need to add FLUENT to path):
1) If you want to launch FLUENT from VC++ command prompt, you won't need to set other parameters which I told in my blog; this method is not permanent and consequently, you need to launch FLUENT by VC++ when ever you need UDF compilation.
2) If you've added VC++ variables to your path, you don't need to launch FLUENT from command prompt, when you start FLUENT normally, you can compile your UDF.

Bests,
__________________
Amir
Amir 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
Problem with Compiling UDFs in Ansys Fluent 13 (lnx64) Ali.beh Fluent UDF and Scheme Programming 3 August 27, 2018 05:22
my problem wuth UDF compiling m.beh FLUENT 3 November 22, 2011 01:47
Problem with UDF compiling for kTkLW model Wantami FLUENT 0 July 18, 2011 06:11
compiling linked udf (C/fortran mixed) bawfuls Fluent UDF and Scheme Programming 0 July 13, 2010 17:53
udf compiling problem akr FLUENT 3 August 22, 2007 08:14


All times are GMT -4. The time now is 09:19.