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

UDF COMPILE OR INTERPRETATE

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2004, 07:31
Default UDF COMPILE OR INTERPRETATE
  #1
JAVIER
Guest
 
Posts: n/a
Hello, I have two udf files to define my boundary conditions of my domain. But when i try to interprete my two funtions, fluent doesnt allowed me to interprete both, when i try with the second, the fist is deleted.

Thats why i decided to compile my two files, but fluent says me when i load: Opening library "libudf"... Error: open_udf_library: El sistema no puede hallar el archivo especificado. (the sistem couldnt find the select file) Error Object: ()

Im using the header file udfconfig.h is this correct? fluent then buid the shared folder and when i try to load it the error appear.

Thanks if anyone can help me.!
  Reply With Quote

Old   July 14, 2004, 11:05
Default Re: UDF COMPILE OR INTERPRETATE
  #2
Ajay
Guest
 
Posts: n/a
you could try to have both your UDF's in a single file and interpret that file. To work with compild UDF follow the following steps.

You need to follow the following steps 1) set up the environmental variable This is done by going to the start menu > Programs>Fluent> Set_environment clicking this would set the path and variable. 2) set up a directory structure as follows create a dir libudf in that create "src" and "ntx86". In ntx86 create "3d".( am asuming that ur simulation is 3d) 3) copy the udf (.C file) and the required header( u can get the header files frm c:\FLUENT.INC\fluent6.*.*\ntx86\src) files into the "src" folder. 4) go to c:\FLUENT.INC\fluent6.*.*\ntx86\3d copy the contents into the 3d folder which you created. 5) go to c:\FLUENT.INC\fluent6.*.*\ntx86\src copy makefile_nt.udf and user_nt.udf to your 3d folder 6) rename makefile_nt.edf to makefile and open user_nt.udf and read the instructions and do accordingly. 7) close FLUENT . Open command prompt ( start > accessories > command prompt ) type the following C:\ CD program Files \ microsoft visual studio .net\vc7\bin 8) type :- vcvars32 9)go to the libudf\ntx86\3d which u have created 10) type nmake 11) This will compile ur code and build a lib if u dont have any errors , if errors are present it will say so u need to debug it then. 12) once this is done u can open fluent again and load the lib u have just created , in this case it would be libudf.
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 40 March 18, 2018 07:05
Error compile file udf czfluent Fluent UDF and Scheme Programming 24 September 26, 2009 14:24
udf compile in parallel system tahereh FLUENT 1 December 9, 2008 10:48
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 22:51
compile the UDF Li Jingping FLUENT 2 April 14, 2003 22:18


All times are GMT -4. The time now is 07:37.