CFD Online Discussion Forums

CFD Online Discussion Forums (
-   STAR-CCM+ (
-   -   intel and outel in teh same boundary (

Louis C June 3, 2011 12:21

intel and outel in teh same boundary

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.

abdul099 July 10, 2011 06:37

Either you split up the boundary (strongly recommended), or you can modify your field function (NOT recommended) to something like


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.

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