CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Define an equation for the inlet velocity profile (http://www.cfd-online.com/Forums/cfx/23499-define-equation-inlet-velocity-profile.html)

Alshroof January 9, 2007 02:14

Define an equation for the inlet velocity profile
 
Dear CFX guys; I am trying to define an equation for the 2D inlet velocity profile. I am defined two equations for the vertical coordinate where I'd like to divide the vertical coordinate to two stages, since i have for each segment different equation.

I wrote the equation using the CEL function but my problem is how to tell the CFX function to use equation 1 for the 1st segment and equation 2 for the other. for instance from 0<y<1 i need it to read equation 1. and from 1<y<10 to read equation 2.

Michael B January 9, 2007 04:33

Re: Define an equation for the inlet velocity prof
 
Use step function. The step function is used as an example in the documentation to set the initial pressure in a water/air with sealevel case. Check that out.

Maryam January 9, 2007 18:59

Re: Define an equation for the inlet velocity prof
 
I have the same problem and tried to use the profile data, however till now I've not been able to set it correctly.

Osama January 9, 2007 20:34

Re: Define an equation for the inlet velocity prof
 
I solved my problem in different way, i generate two surfaces for the inlet and i defined an equation for each surface. Hope that will help.


All times are GMT -4. The time now is 21:03.