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

How can I connect 2 blocks with a different grading?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 15, 2009, 16:46
Default How can I connect 2 blocks with a different grading?
  #1
New Member
 
Steffen Goertz
Join Date: Jul 2009
Posts: 4
Rep Power: 8
Ghash is on a distinguished road
Hi

In my mesh, I need to connect blocks where the cell-faces don't exactly fit. Sometimes the number of cells is different, sometimes the grading. Is there a way to do this? I was trying around for some time now, but didn't find a way.

Perhaps someone can help me?

Regards
Ghash
Ghash is offline   Reply With Quote

Old   November 16, 2009, 04:21
Default Ggi
  #2
New Member
 
Johannes Kneer
Join Date: Mar 2009
Location: Germany, Karlsruhe
Posts: 13
Rep Power: 8
johannesk is on a distinguished road
Hi Gash,

have a look at the general grid interface (GGI) in OpenFOAM-1.5-dev, which provides a way to interpolate between non-matching cell-faces/patches. The 1.5-dev version also has a tutorial case: icoDyMFoam/mixerGgi

cheers,
Johannes
johannesk is offline   Reply With Quote

Old   November 18, 2009, 06:09
Default
  #3
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,761
Rep Power: 21
hjasak will become famous soon enough
A sliding interface (called mergedPatchPairs in blockMesh) should also do the job for you.

Good luck,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   June 29, 2010, 13:25
Default
  #4
New Member
 
Alan Kastengren
Join Date: Mar 2009
Posts: 3
Rep Power: 8
alank is on a distinguished road
Is there a tutorial for version 1.6 that shows this? I'm having a similar problem with a wedge geometry; I have two blocks with different grid spacing that I want to merge, but I keep getting errors. If I try face matching as described in the User Guide, I get errors that there is an inconsistent number of faces between the two blocks. If I try tface merging by defining patches on the interface between the two blocks and putting the faces in the mergePatchPairs list at the end of the blockMeshDict file, I get errors that this, followed by a large amount of additional text:

Trying to specify a boundary face 4(3 4 5 3) on the face on cell 0 which is either an internal face or already belongs to some other patch.
alank 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
O-grid for cylinder with varying diameter and several blocks lama ANSYS Meshing & Geometry 4 December 21, 2009 09:57
help needed: connecting 2 blocks Lexa OpenFOAM Native Meshers: blockMesh 4 November 20, 2009 06:47
connect failed with errno%3d113 wedsall OpenFOAM Running, Solving & CFD 2 November 3, 2008 05:17
Mesh grading problem Y FLUENT 3 March 2, 2005 06:47
common blocks of STAR-CD Mari CD-adapco 2 January 26, 2005 04:21


All times are GMT -4. The time now is 23:07.