CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   How does STEP function work in CEL setup in CFX5.5 (https://www.cfd-online.com/Forums/cfx/18909-how-does-step-function-work-cel-setup-cfx5-5-a.html)

joseph April 5, 2002 09:19

How does STEP function work in CEL setup in CFX5.5
 
Hi,

How does STEP function work in CEL setup in CFX5.5?

Can some one who has used this function briefly explain.

thanks joseph

Mike April 5, 2002 23:06

Re: How does STEP function work in CEL setup in CF
 
Hi Joseph,

the step function returns a value of 0 if the expression it evaluates is negative. It returns a value of 1 if the expression it evaluates is positive. A value of 0.5 is returned if the expression is 0. Note that the expression should be dimensionless, for example, step(x/1[m]) returns 0 for x<0 0.5 for x=0 1 for x>0 assuming the dimensions of x are [m].


All times are GMT -4. The time now is 06:49.