CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Problem concerning the use of UDF's

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

LinkBack Thread Tools Display Modes
Old   May 10, 2004, 16:13
Default Problem concerning the use of UDF's
Posts: n/a
Hello ,

I have the case and data files for a particular problem involving the use of UDF. This is the first time I am using UDF's in Fluent. I would be glad if someone could guide me through the procedure I would have to follow to read these files. I would like to know if I could compile the subroutine in fluent after opening the case file. Thank you.
  Reply With Quote

Old   May 11, 2004, 04:01
Default Re: Problem concerning the use of UDF's
Posts: n/a
You can open the case and (eventually) the data file in FLUENT. If the case has been already linked to the UDF, probably FLUENT will tell you it can't find the UDF. Don't worry. You can compile the UDF after reading the case.

To compile the UDF, you need a C compiler installed on your system (Visual C++ on Microsoft Windows, gcc on linux, ...).

Save the C source file of the UDF in the same directory where the case file is located.

Use the menu Define->User defined->Function->Compiled. Add the source file. Click on Build and, if there are no error messages, on Load. The compilation process is done.

Now, if the case is already set to call the udf, just load it again. Fluent will read the UDF you compiled.


  Reply With Quote

Old   May 12, 2004, 11:41
Default Re: Problem concerning the use of UDF's
Posts: n/a
Hi ap,

Thanks for your elaborate response. I will follow the steps u have provided and let u know how it worked.

Thanks once again.

Regards, Mukund
  Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I solve this problem by Fluent? Kai_kc FLUENT 1 October 27, 2010 05:29
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
problem in UDF's sangamnath FLUENT 3 December 7, 2005 09:17
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52

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