CFD Online Logo CFD Online URL
Home > Forums > FLUENT

User-Defined Functions

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

LinkBack Thread Tools Display Modes
Old   January 16, 2002, 11:47
Default User-Defined Functions
Posts: n/a
I want to compile two User-Defined functions in order to use them in the Boundary Conditions panel. So I have created my two functions. Then I have compiled sucessfully the two functions, one after the other. But when I open the boundary conditions panel (pressure inlet), there is only one function available. The first function compiled has been replaced by the second one. How it is possible to obtain several functions in the boundary conditions panel? I tried to create a library with two functions, but I didn't find anough information in the Help to perform it.

Thanks for your help.
  Reply With Quote

Old   January 16, 2002, 12:55
Default Re: User-Defined Functions
Posts: n/a
Hi Boisson

It's a good idea to write both DEFINE-functions in a single c-source file, give them different names and compile the single source file.

yours Markus
  Reply With Quote

Old   January 18, 2002, 23:09
Default Re: User-Defined Functions
Greg Perkins
Posts: n/a
there's no need to have the udfs in a single file.

if you have multiple files, you need to list them in your makefile.

If you have two or more functions, they must be compiled simulataneously, either in a single source file or in mutliple files. You can't compile one after the other into a single library using the fluent make files as supplied.

  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
USER DEFINED SCALARS yann Phoenics 6 November 14, 2013 09:46
Wall Treatment of User defined Turbulence Model Yang Chung FLUENT 0 August 23, 2008 11:31
User Defined Scalars - Returning Values Carlos V. FLUENT 0 April 19, 2006 18:18
Source term for user defined scalars Mech.eng. CD-adapco 0 March 16, 2006 07:15
User defined functions Tuomas Koiranen FLUENT 2 December 29, 1999 08:41

All times are GMT -4. The time now is 13:01.