CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

Meshing multiple blocks

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 15, 2010, 11:57
Default Meshing multiple blocks
  #1
New Member
 
Hannes
Join Date: Dec 2010
Location: Oldenburg, Germany
Posts: 17
Rep Power: 6
Hanno is on a distinguished road
Hello Foamers!

I needed to create a wall bonded Cube with an outlet that covers the hole backward face and an inlet which is only a small rectangular opening at the middle of the front face. The rest of the front face is defined as wall. In order to do this, i needed to create multiple blocks with BlockMesh (at least i dont know any other way). Ive made a very raw front view sketch of the block structure i created. The red face is the inlet.

The problem that occurs now, is that SnappyHexMesh is meshing only the BlockMesh defined block which contains the LocationInMesh point. Strangely it meshes all of the middle blocks if the LocationInMesh point is inside the red block. But not the side blocks. I wonder if its one of those paraFoam displaying bugs, but it seems not to be. I figure it is because im using distance wise meshing of the STL, which overlaps all of the three middle blocks but not the side blocks.

So my question is, is there a way to mesh multiple blocks with blockmesh? Thanks for your help.
Hannes.

Edit: I tried to work it out by defining a refinment box big enough to overlap all blocks, but it didnt work.
Attached Images
File Type: png cube.png (1.3 KB, 26 views)

Last edited by Hanno; December 15, 2010 at 12:18.
Hanno is offline   Reply With Quote

Old   December 15, 2010, 12:27
Default
  #2
New Member
 
Hannes
Join Date: Dec 2010
Location: Oldenburg, Germany
Posts: 17
Rep Power: 6
Hanno is on a distinguished road
Sorry for repost, but unfortunately i could not edit attachments by the edit button.
The screenshot shows that it might be a BlockMesh problem, because ParaFoam shows me some boundary-like faces at the side blocks, but not at the middle blocks. But face matching should be done automaticly, so i dont have a glue of what BlockMesh is doing here.
CheckMesh sais:
"*Number of regions: 3
The mesh has multiple regions which are not connected by any face."
So why arent they connected?
Attached Images
File Type: jpg cube2.jpg (96.5 KB, 51 views)

Last edited by Hanno; December 15, 2010 at 13:04.
Hanno is offline   Reply With Quote

Old   December 16, 2010, 06:52
Default
  #3
New Member
 
Hannes
Join Date: Dec 2010
Location: Oldenburg, Germany
Posts: 17
Rep Power: 6
Hanno is on a distinguished road
Hello,
I solved it by splitting up the two side blocks. But is there a way to mesh multiple blocks with snappyHexMesh?
Hanno is offline   Reply With Quote

Old   February 17, 2011, 13:14
Default Same problem
  #4
New Member
 
Jerry
Join Date: Feb 2011
Posts: 3
Rep Power: 6
J.Randall is on a distinguished road
Hi,

I'm having the same problem, did anyone clever out there manage to solve it?

Cheers!
J.Randall 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
dsmcInitialise - dsmcFoam archymedes OpenFOAM Pre-Processing 93 February 11, 2014 02:22
fluent3DMeshToFoam bego OpenFOAM 27 May 29, 2013 13:08
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
Multi meshing blocks Davahue FLOW-3D 9 November 1, 2010 00:50
Meshing Multiple Domains at Once ! rvallejo ANSYS Meshing & Geometry 1 June 19, 2010 21:49


All times are GMT -4. The time now is 10:42.