CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

patch with different bc

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 25, 2011, 05:04
Default patch with different bc
  #1
New Member
 
conny
Join Date: May 2011
Posts: 3
Rep Power: 14
madeye is on a distinguished road
Dear All,

first of all i hope this is posted in the right spot, i am new to all of this, so please fogive me 'stupid' questions.

My question is, if there is a way to put two different boundary conditons in one patch.
I'm using interFoam (1.5) to simulate a multi-phase channel flow, but the outflow in the end of the channel is not completely open, but has a triangular shape. I can't quite explain, so I made a drawing.



The issue is that I have to set gamma, pd and U in different BCs, whereas for the outlet:
U: pressureInletOutletVelocity
pd: totalPressure
gamma: inletOutlet

and for wall:
U: fixedValue
pd: zeroGradient
gamma: zeroGradient

Is there any way to do it like nonuniform BC like here http://www.cfd-online.com/Forums/ope...condition.html since i can't make patches out of 3 vertices?

I'm happy for any help!
Thanks a lot in advance
Conny
madeye is offline   Reply With Quote

Old   July 4, 2011, 08:08
Default
  #2
Senior Member
 
Bernhard Linseisen
Join Date: May 2010
Location: Heilbronn
Posts: 183
Blog Entries: 1
Rep Power: 15
Linse is on a distinguished road
Hi Conny,

to my knowledge (which can be wrong!!) it is not possible to set something like a split boundary condition.
But what you could do: Make four blocks with a triangular shape instead of two rectangular blocks. Usually you should be able to define that by putting two side-lines of the building block onto each other.

For example if usually you have
block (0 1 2 3 4 5 6 7) for the rectangular one, you could use
block (0 1 6 7 4 5 6 7) for the first block and
block (0 1 2 3 0 1 6 7) for the second block.

I do not know if that is a nice solution. But some time ago it worked at least for building the basis structure of something...
Linse is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 04:04
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 04:38
CheckMeshbs errors ivanyao OpenFOAM Running, Solving & CFD 2 March 11, 2009 02:34
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


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