CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   sub function CEL definition (https://www.cfd-online.com/Forums/cfx/27147-sub-function-cel-definition.html)

harry March 14, 2009 23:13

sub function CEL definition
 
Hi all,

I'm trying to define a rotational domain motion with an unfixed angular velocity, which is a kind of sub function of time. Like, for 0s~10s, W=100t (rad/s), for 10s~20s, W=2000 (rad/s), for 20s~30s, W=2000-200(t-20) (rad/s)

How should I define this angular velocity in terms of CEL?

Thanks for your help in advance.

Regards

Harry

ghorrocks March 15, 2009 21:08

hi Harry,

You can do this as either a CEL expression using the step function or a 1-d interpolation function.

Glenn Horrocks


All times are GMT -4. The time now is 19:07.