UDF: using if
dear to all,
i'm trying to use the "if" command in an UDF.
when i interpreted the UDF by Fluent, it wrote:
"invalid expression type for if: double."
the line of the error is the first of this group:
Kr,qrnet,Tg were declared as real.
can someone help me?
best regards to all
I think you is the if-question! you assign 0 to Tg, but I think the boolean expression is supposed to be:
if (tg == 0.0)
oh!... it's right!!!... i can't say with words how much i am grateful...
thanks a lot!!!
|All times are GMT -4. The time now is 14:51.|