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

[snappyHexMesh] Meshing multiple blocks

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 16
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, 41 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: 16
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, 68 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: 16
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: 15
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


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 bego OpenFOAM Meshing & Mesh Conversion 31 August 16, 2023 10:04
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
[ICEM] multiple processor meshing in batch mode Jonathan ANSYS Meshing & Geometry 6 August 14, 2013 15:40
[blockMesh] How to use multiple blocks marico OpenFOAM Meshing & Mesh Conversion 0 March 23, 2009 06:03
Meshing support parallel multiple computers! Kevin Siemens 1 July 26, 2007 20:27


All times are GMT -4. The time now is 17:48.