CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Step function (http://www.cfd-online.com/Forums/cfx/88664-step-function.html)

ragazzaccio79 May 23, 2011 09:23

Step function
 
Dear all,

a very simple question about step function in CFX... sorry but i don't remember how to use it.

I am running a transient simulation and I need to impose a variable temperature at a wall domain as a function of time.

I need to set up an expression for temperature such that:

Temperature= 25 from 0sec up to 10sec included
Temperature= 40 from 11sec up to 20sec included
Temperature= 60 from 21sec up to 35sec included
Temperature= 100 from 36sec up to 60sec (60sec is the end of transient simulation)

Many thanks for your help.

Kind regards

ghorrocks May 23, 2011 19:01

You can generate this using step or if functions in CEL but it is easier to set up a function like this as a 1D interpolation function. Make it a function of time and use the function to set the temperature.


All times are GMT -4. The time now is 20:36.