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

Confused with wall boundaries in 3D

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 29, 2009, 12:37
Question Confused with wall boundaries in 3D
  #1
Member
 
Dennis Rown
Join Date: Oct 2009
Posts: 51
Rep Power: 7
shangzung is on a distinguished road
Hello!

I am modelling a cube with gas inside. Two sides of the cube have to be holes while the other four sides have to be walls. I have a patch for the holes and one for the walls.

In the blockMeshDict they're:

patch sides
(
(1 2 6 5)
(0 4 7 3)
)
wall walls
(
(0 1 5 4)
(5 6 7 4)
(3 7 6 2)
(0 3 2 1)
)

And in the 0/p they're:

boundaryField
{
sides
{
type zeroGradient;
}
walls
{
type zeroGradient;
}
}

Is this a false setting for walls to be walls and sides to be holes?
shangzung is offline   Reply With Quote

Old   October 29, 2009, 14:23
Default
  #2
bhh
Member
 
Bjorn H. Hjertager
Join Date: Mar 2009
Posts: 69
Rep Power: 8
bhh is on a distinguished road
Your wall BC seems OK. The holes are either inlets or outlets. If inlet zeroGradient is OK for pressure in addition you need a fixedValue for the normal velocity. If outlet the pressure should be a fixedValue.
rgds
Bjorn
bhh is offline   Reply With Quote

Old   October 30, 2009, 05:49
Default
  #3
Member
 
Dennis Rown
Join Date: Oct 2009
Posts: 51
Rep Power: 7
shangzung is on a distinguished road
Thanks a lot! And for T is the same? And for U? I did it this way:

T)

boundaryField
{
outlet
{
type fixedValue;
value uniform 300;
}
walls
{
type zeroGradient;
}
}



U)

outlet
{
type fixedValue;
value uniform (0 0 0);
}
walls
{
type fixedValue;
value uniform (0 0 0);
}
shangzung is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluent3DMeshToFoam simvun OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 48 May 14, 2012 05:20
Mesh Construction near wall boundaries in turbulent flows ageorg FLUENT 0 July 8, 2009 06:36
interpolation on faces and wall boundaries ca Main CFD Forum 0 September 2, 2008 12:42
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 11:24.