CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Boolean (https://www.cfd-online.com/Forums/fluent/46803-boolean.html)

manu December 12, 2007 06:59

Boolean
 
Does anybody know how to define a boolean variable (true-false) in a UDF?

al_c December 13, 2007 05:05

Re: Boolean
 
I think, there is no special boolean type, like in C language. Any number variable can be used for this goal. Nonzero value is True, and zero value is False.


All times are GMT -4. The time now is 08:10.