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

Confused with wall boundaries in 3D

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 17
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: 72
Rep Power: 17
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: 17
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


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] Fluent3DMeshToFoam simvun OpenFOAM Meshing & Mesh Conversion 50 January 19, 2020 16:33
Mesh Construction near wall boundaries in turbulent flows ageorg FLUENT 0 July 8, 2009 07:36
interpolation on faces and wall boundaries ca Main CFD Forum 0 September 2, 2008 13: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 06:12


All times are GMT -4. The time now is 20:28.