|
[Sponsors] |
January 16, 2002, 11:47 |
User-Defined Functions
|
#1 |
Guest
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. |
|
January 16, 2002, 12:55 |
Re: User-Defined Functions
|
#2 |
Guest
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 |
|
January 18, 2002, 23:09 |
Re: User-Defined Functions
|
#3 |
Guest
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. Greg |
|
|
|
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 12:31 |
User Defined Scalars - Returning Values | Carlos V. | FLUENT | 0 | April 19, 2006 19:18 |
Source term for user defined scalars | Mech.eng. | Siemens | 0 | March 16, 2006 07:15 |
User defined functions | Tuomas Koiranen | FLUENT | 2 | December 29, 1999 08:41 |