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

Face merging, patch definition, wall function

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 16
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: 67
Rep Power: 17
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: 16
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 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
[blockMesh] Internal walls of zero thickness anger OpenFOAM Meshing & Mesh Conversion 23 February 6, 2020 19:25
Cyclic Boundary Condition Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Running, Solving & CFD 36 July 2, 2012 13:23
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30


All times are GMT -4. The time now is 09:36.