CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

intel and outel in teh same boundary

Register Blogs Community New Posts Updated Threads Search

View Poll Results: name ?
L 0 0%
C 0 0%
Voters: 0. You may not vote on this poll

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2011, 12:21
Default intel and outel in teh same boundary
  #1
New Member
 
Join Date: Jun 2011
Posts: 1
Rep Power: 0
Louis C is on a distinguished road
hello,

I have a cavity with a single enter.
So this enter is inlet and outel. I want to input a function field on the pressure, like Pinlet=cos(time), Poutlet=-cos(time).
But how can set these conditions on the same boundary?

I hope that my english is not so bad, and that you can understand me

Thanks for your help.
Louis C is offline   Reply With Quote

Old   July 10, 2011, 06:37
Default
  #2
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 21
abdul099 is on a distinguished road
Either you split up the boundary (strongly recommended), or you can modify your field function (NOT recommended) to something like

$$Position[0]>=-0.1&&$$Position[0]<=0.1?-cos(time):cos(time)

You can also add some more conditions like $$Position[0] (x-direction), $$Position[1] (y-direction) etc.
When you need a circular split up, you might think about using $$Position[] in a cylindrical coordinate system. See the field function programming reference.
abdul099 is offline   Reply With Quote

Reply

Tags
inlet outel pressure


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:55.