CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   Discontinuous functions in CEL (

Doug June 5, 2006 13:26

Discontinuous functions in CEL

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:45.