CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   how to give sectional velocity profile at inlet? (https://www.cfd-online.com/Forums/cfx/25109-how-give-sectional-velocity-profile-inlet.html)

 fkonias January 28, 2008 07:28

how to give sectional velocity profile at inlet?

I'm trying to use the one seventh power law for velocity profile between two parallel plates in cfx. The problem is that the expression covers only half of the flow, from the center of the flow to the wall. I know it is mirror image from the center to the other wall and I have two deferent expressions for the complete profile but how can I give this profile from wall to wall to cfx when it takes only one expression?

thanks!

 jakjak January 28, 2008 09:33

Re: how to give sectional velocity profile at inle

If the equation for your power law originates from an origin of zero, it is probably that the equation only works for anything > zero. I am guessing the zero origin is at center of your channel, that's why you were only getting half of the profile. You can perhaps try offsetting the origin to make your expression work.

However, if you have two different expressions for the upper and lower half of the channel, you might want to try looking at specifying your velocity profile through user routine (See User Fortran section in Modelling Guide)

Good luck!

 fkonias January 28, 2008 16:31

Re: how to give sectional velocity profile at inle

thank you for your response!

 Phil January 29, 2008 10:28

Re: how to give sectional velocity profile at inle

If you have two different expressions (unlikely), the step function can also be used to activate one for y>0 and the other for y<0, without resorting to User Fortran.

 All times are GMT -4. The time now is 09:34.