CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   How to define a dynamic Boundary Condition? (New) (http://www.cfd-online.com/Forums/cfx/27108-how-define-dynamic-boundary-condition-new.html)

abrahamgx March 9, 2009 08:44

How to define a dynamic Boundary Condition? (New)
 
Recently I am dealing with a 2 stages compressor. I want to vary the outlet static pressure (writeen as Ps) according to the timesteps (writeen as t). And I am going to use a function such as:

Ps=P1&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp(t<<O>t1);

Ps=0.01*t&nbsp&nbsp(t1<<O>t<<O>t2);

Ps=P2&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp(t><O>t2);

The P1,P2,t1 and t2 are specified. So, could someone tell me that how to define the boundary condition in such a problem, should I use Fortran?

Adam Stuchlik March 9, 2009 09:35

Re: How to define a dynamic Boundary Condition? (N
 
You can create a function in CFX-Pre which can be timestep dependend, like pressure(ctstep). Then donīt describe your boundary with a pressure value but with this function as an expression.

abrahamgx March 9, 2009 09:43

Re: How to define a dynamic Boundary Condition? (N
 
Thank you Adam!


All times are GMT -4. The time now is 05:49.