|
[Sponsors] |
February 7, 2007, 15:10 |
subroutines in UDF
|
#1 |
Guest
Posts: n/a
|
Can any one tell me is it OK to include other subroutines (Calculate some values and return the values into the UDF main) in the UDF? I tried once, but it seems it couldn't be complied. BTW, I am using the EXPRESS VC++ .
|
|
February 8, 2007, 02:36 |
Re: subroutines in UDF
|
#2 |
Guest
Posts: n/a
|
yes is ok, I have a main file a header file and a functions file and it works fine.
|
|
February 8, 2007, 15:20 |
Re: subroutines in UDF
|
#3 |
Guest
Posts: n/a
|
what does this message mean?: "udf limitation: Intensity: prototypes must appear outside the function body."
'Intensity' is a subrountin in my UDF. |
|
February 9, 2007, 02:38 |
Re: subroutines in UDF
|
#4 |
Guest
Posts: n/a
|
in your header file you should declare the prototype of your function (what parameters take, if return a value), or if you don't have a header file after the #include statements put your function prototype.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |