|
[Sponsors] |
[blockMesh] Face Matching, how to to match to blocks with different mesh definitions? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 22, 2016, 11:49 |
Face Matching, how to to match to blocks with different mesh definitions?
|
#1 |
Member
Pedro
Join Date: Nov 2014
Posts: 50
Rep Power: 11 |
Hello Foamers!
I'm facing a meshing problem, for which I created a simplified demonstration: I would like to have 2 blocks next to each other with a face interface that looks like this: I know that OpenFoam can handle multiple cells merging to a single cell from the meshes generated from snappy, From snappy Manual example: However the resulting mesh from MergePatchPairs looks like this: Is there a way to merge the two patches (as in, them being an internal face) without destroying the harmony of the geometry? Thank you for your help Demo blockHexMeshdict Code:
vertices ( (0 0 0) (1 0 0) (1 1 0) (0 1 0) (0 0 1) (1 0 1) (1 1 1) (0 1 1) (1 0 0) (2 0 0) (2 1 0) (1 1 0) (1 0 1) (2 0 1) (2 1 1) (1 1 1) ); blocks ( hex (0 1 2 3 4 5 6 7) (10 10 10) simpleGrading (1 1 1) hex (8 9 10 11 12 13 14 15) (20 20 20) simpleGrading (1 1 1) ); edges(); boundary ( interfaceA { type patch; faces (( 1 2 6 5)); } interfaceB { type patch; faces (( 8 12 15 11)); } ); mergePatchPairs ( // ( interfaceA interfaceB ) ); EDIT2: Yet i found no solution..... Last edited by pupo; May 23, 2016 at 03:49. |
|
May 24, 2016, 01:37 |
|
#2 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
There is nothing wrong with your mesh, it is just Paraview who renders it ugly. Click to enable polyhedra and you will see what you want!
K |
|
May 24, 2016, 07:06 |
|
#3 | |
Member
Pedro
Join Date: Nov 2014
Posts: 50
Rep Power: 11 |
Quote:
Thank you very much! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
area does not match neighbour by ... % -- possible face ordering problem | St.Pacholak | OpenFOAM | 10 | February 7, 2024 21:50 |
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface | Kryo | OpenFOAM Meshing & Mesh Conversion | 13 | February 17, 2022 07:34 |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 06:09 |
[blockMesh] Internal walls of zero thickness | anger | OpenFOAM Meshing & Mesh Conversion | 23 | February 6, 2020 18:25 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 14:00 |