|
[Sponsors] |
######### Error when Interpreted UDF ############ |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 13, 2006, 07:04 |
######### Error when Interpreted UDF ############
|
#1 |
Guest
Posts: n/a
|
When I interpreting my UDF, one error message comes out. "function returning void returning float". What can I do for this?
The main error of my UDF code as follow: DEFINE_PROFILE(inlet_x_velocity, thread, index) { real eof_ux; real eps = 78.0; real vis = 0.911; real zeta = -0.055; real Ek = 5000.0; eof_ux = -(eps*epsilon0*zeta*Ek/vis); return eof_ux; } |
|
June 13, 2006, 19:56 |
Re: ######### Error when Interpreted UDF #########
|
#2 |
Guest
Posts: n/a
|
Hi guy,
Your UDF is wrong ("return eof_ux;"... is not allowed). You can check several examples in the UDF manual about the macro DEFINE_PROFILE (section 12 "sample problems", 12.1 "boundary conditions"). It's not difficult. Regards, Fabrice. |
|
June 13, 2006, 20:09 |
Thanks
|
#3 |
Guest
Posts: n/a
|
Thanks for your information. I think that my code make a big mistake.
Regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Interpreted UDF | Bikash | FLUENT | 10 | December 3, 2019 01:52 |
A Problem of Fluent Interpreted UDF: parse error | knight | Fluent UDF and Scheme Programming | 25 | August 16, 2018 11:26 |
Interpreted UDF in parallel | David Chabot | Fluent UDF and Scheme Programming | 8 | May 30, 2012 04:18 |
errors in interpreted udf for two macro | Asghari | FLUENT | 0 | August 7, 2006 03:29 |
error of Interpreted udf | Zhang Junmei | FLUENT | 6 | December 12, 2001 09:03 |