CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   Inlet velocity as a function of time. Transient analysis. (

Elgaard December 11, 2012 08:58

Inlet velocity as a function of time. Transient analysis.

Does anybody know if it is possible to setup an inlet boundary with userdefined velocity as a function of time.

What i would like to do is set the velocity to 0m/s for 0->1s and then 10m/s for 1->10s.

Is it possible to set up a table, or in any other way define the velocity in a more advanced way?


Lance December 11, 2012 09:01

Your example can easily be solved using an expression with step functions. For more advanced profiles see (or search this forum...)

Elgaard December 11, 2012 10:03

Thank you. I am quite new to CFX, but this helped a lot. Found a manual for the CEL language, and got it to work.


Expression: step(t*1[s^-1]-1)*10[m s^-1]


Lance December 12, 2012 03:36

The manuals come with the installation, usually located at:
C:\Program Files\ANSYS Inc\v140\commonfiles\help\en-us\pdf
or by pressing F1 inside CFX.

All times are GMT -4. The time now is 02:46.