CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Discontinuous functions in CEL (http://www.cfd-online.com/Forums/cfx/22657-discontinuous-functions-cel.html)

Doug June 5, 2006 13:26

Discontinuous functions in CEL
 
Hi.

I was wondering if it is possible to write discontinous functions in CFX-10.0 and if so how?

I have a function:

u=ax if x<c u=bx if x>=d

What would it look like in CEL ?

Many thanks for an help given.

Doug June 5, 2006 13:30

oops ....
 
for some reason my function got messed up... must not like greater than or less than equal signs...

Anyhoo, its a discontinuous velocity inlet profile as a function of x.


Phil June 5, 2006 15:42

Re: oops ....
 
Use the step function.


All times are GMT -4. The time now is 15:32.