|
[Sponsors] |
February 13, 2014, 09:50 |
UDF: check variable for error
|
#1 |
New Member
Join Date: Oct 2012
Posts: 8
Rep Power: 14 |
Hi,
one quick question regarding (compiled)UDF-programming: Is there any way to check if a variable has a real value or if there's an error (divide by Zero etc)? I'd like to check it like this: if (variable == ERROR) {Message ("variable: error %g\n", variable);} What would I need to write instead of ERROR? Thanks for your help! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent UDF urgent! Variable reaction rate | natantyt | Fluent UDF and Scheme Programming | 8 | October 17, 2021 04:35 |
Can you check if my attached UDF is correct?? | gandesk | FLUENT | 8 | March 6, 2017 14:57 |
Please check out my parallelized udf code | aleisia | Fluent UDF and Scheme Programming | 0 | June 10, 2011 17:16 |
Please check this UDF. | Josh | FLUENT | 0 | February 8, 2006 12:27 |
Check UDF | stephen e | FLUENT | 1 | April 15, 2004 10:51 |