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

Face merging, patch definition, wall function

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 24, 2010, 07:07
Default Face merging, patch definition, wall function
  #1
New Member
 
Join Date: Mar 2010
Posts: 11
Rep Power: 6
Sandu69 is on a distinguished road
Hello foamers,

I have a problem using blockMesh:

I want to attach a cylinder face to a bigger rectangular block face using the command "mergePatchPairs".
The goal is, that the cylinder face is completely merged to the block face, whereas the remaining block face should become a wall with wall functions applied.

That's my question:

How should I define the patches and boundary conditions?

I already tried it, but it did not work. That's how I defined everything:

File "blockMeshDict":

patches
(
patch cylinderface
(
(1 2 3 4)
)

wall blockface
(
(5 6 7 8)
)
);
mergePatchPairs
(
(cylinderface bottomface)
);

Boundary file 0/epsilon (i.e.):

boundaryField
{
bottomface
{
type epsilonWallFunction;
value uniform 0.000765;
}
}

I got the following error:

"Invalid wall function specification
Patch type for patch bottomface must be wall
Current patch type is patch"

What does it mean? I defined the block face as a wall!

Can anybody help me with this?
Thanks,

Stephan
Sandu69 is offline   Reply With Quote

Old   March 24, 2010, 12:17
Default
  #2
Member
 
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 52
Rep Power: 6
piprus is on a distinguished road
Quote:
Originally Posted by Sandu69 View Post
File "blockMeshDict":

patches
(
patch cylinderface
(
(1 2 3 4)
)

wall blockface
(
(5 6 7 8)
)
);
mergePatchPairs
(
(cylinderface bottomface)
);
The only one thing I can't understand here is how could you merge the bottomface to anything, without specifing it in a patch list?
piprus is offline   Reply With Quote

Old   March 24, 2010, 12:48
Default
  #3
New Member
 
Join Date: Mar 2010
Posts: 11
Rep Power: 6
Sandu69 is on a distinguished road
The patches are defined in the blockMeshDict file.
I solved the problem by deleting and recreating the boundary file.
No everything works well :-)
Sandu69 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
Cyclic Boundary Condition Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Running, Solving & CFD 36 July 2, 2012 12:23
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
Version 15 on Mac OS X gschaider OpenFOAM Installation 120 December 2, 2009 10:23
Internal walls of zero thickness anger OpenFOAM Native Meshers: blockMesh 20 April 6, 2009 01:50
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30


All times are GMT -4. The time now is 04:33.