CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   time dependent pressure BC on outlet (https://www.cfd-online.com/Forums/cfx/26555-time-dependent-pressure-bc-outlet.html)

sometimes1900 October 22, 2008 08:05

time dependent pressure BC on outlet
 
Hi CFX user, i would like to set up a time dependent pressure boundary condition on the outlet, e.g. from 0-5s, pressure=0bar; from 5-10s, pressure=1bar; from 10-15s, pressure=0bar and so on. How can this Expression (CEL) be wroten? thank you for your reply in advance.

Rogerio Fernandes Brito October 22, 2008 10:13

Re: time dependent pressure BC on outlet
 
create (or define) an user function to input your time [s] and pression [N m^-2]. Make an 1D interpolation.

Arguments Units: [s]

Results Units: [N m^-2]

Interpolation Data -> Option -> One Dimensional

Create a name.txt file and build your data (time and pression using dot as your decimal separator).

After that, choose your pression as name(t) as your boundary condition, where t is the time in [s].

sometimes1900 October 22, 2008 11:16

Re: time dependent pressure BC on outlet
 
Hi Rogerio, thanx for your reply. As you describled, i have defined an user function (name: function 1) in PRE. But in the outlet window i can not find the user function. How can i put the user function to outlet BC? Best regards

Rogerio Fernandes Brito October 22, 2008 13:29

Re: time dependent pressure BC on outlet
 
put "function 1(t)" in the box for the outlet. Just it. Donīt use space, in the name of the function. Use: "function1(t)"

Adam October 24, 2008 11:14

Re: time dependent pressure BC on outlet
 
An easier way would be just to create a CEL expression and input that into the outlet


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