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

[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 Search this Thread 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: 17
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: 17
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,907
Rep Power: 33
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, 14:25
Default
  #4
New Member
 
Alan Kastengren
Join Date: Mar 2009
Posts: 3
Rep Power: 17
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

Old   September 14, 2016, 11:27
Default
  #5
New Member
 
gned
Join Date: Oct 2012
Posts: 18
Rep Power: 14
gned is on a distinguished road
Alan,
probably your error was about that :

When defining a face of a patch, the vertices of the neighbor blocks or patches must not have the same vertices number, you have to create double vertices, meaning same points but other vertices number.
gned 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
[Commercial meshers] COnvert FLuent MEsh to openfoam with interface manuc OpenFOAM Meshing & Mesh Conversion 1 July 25, 2017 04:13
[Commercial meshers] converting Fluent mesh to openfoam standard mesh deepesh OpenFOAM Meshing & Mesh Conversion 31 March 29, 2017 06:59
dsmcInitialise - dsmcFoam archymedes OpenFOAM Pre-Processing 94 July 15, 2016 17:14
[Other] How to create an MRF zone ? aminem OpenFOAM Meshing & Mesh Conversion 2 December 8, 2014 11:45
[blockMesh] mesh grading problem with multiple blocks aljaz OpenFOAM Meshing & Mesh Conversion 0 December 21, 2010 03:33


All times are GMT -4. The time now is 14:00.