|
[Sponsors] |
[blockMesh] Error in BlockMesh: inconsistent number of faces |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 19, 2010, 03:48 |
Error in BlockMesh: inconsistent number of faces
|
#1 |
New Member
Join Date: Aug 2010
Posts: 4
Rep Power: 15 |
Hi there,
I'm trying to develop a trapezoidal-shaped channel in BlockMesh, consisting of 2 three-sided prism and in between a normal cuboid. In the attached PDF-file you can find a sketch of the geometry. Below the blockMesh is posted. My problem is that when I'm trying to define different number of cells in x and in y direction like for example: blocks ( hex (3 2 2 3 7 6 5 4) (1300 50 10) simpleGrading (1 1 1) hex (3 9 8 2 7 11 10 6) (1300 50 10) simpleGrading (1 1 1) hex (8 9 9 8 10 11 15 14) (1300 50 10) simpleGrading (1 1 1)) ); I get the following error: [...] Inconsistent number of faces between block pair 0 and 1 From function blockMesh::createMergeList() in file createMergeList.C at line 196. FOAM exiting If I define the mesh as follows: blocks ( hex (3 2 2 3 7 6 5 4) (100 100 10) simpleGrading (1 1 1) hex (3 9 8 2 7 11 10 6) (100 100 10) simpleGrading (1 1 1) hex (8 9 9 8 10 11 15 14) (100 100 10) simpleGrading (1 1 1)) ); everything works fine. Can anyone tell me how to solve this problem? I don't know what I have to change to get this working. I'm thankful for any advice. Regards, pc1 my BLOCKMESH: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1.; vertices ( (0 0 0) // 0 (0 40 0) // 1 (0.48 40 0) // 2 (0.48 0 0) // 3 (0 0 0.16) // 4 (0 40 0.16) // 5 (0.48 40 0.16) // 6 (0.48 0 0.16) // 7 (1.72 40 0) // 8 (1.72 0 0) // 9 (1.72 40 0.16) // 10 (1.72 0 0.16) // 11 (2.2 40 0) // 12 (2.2 0 0) // 13 (2.2 40 0.16) // 14 (2.2 0 0.16) // 15 ); blocks ( hex (3 2 2 3 7 6 5 4) (1 1 1) simpleGrading (1 1 1) // p hex (3 9 8 2 7 11 10 6) (1 1 1) simpleGrading (1 1 1) //q hex (8 9 9 8 10 11 15 14) (1 1 1) simpleGrading (1 1 1) // r ); edges ( ); patches ( //left: Prism p wall xminp ( (4 5 2 3) ) patch yminp ( (3 7 4 3) ) patch ymaxp ( (2 5 6 2) ) patch zminp ( (3 2 2 3) ) patch zmaxp ( (4 7 6 5) ) // middle: cuboid q patch yminq ( (7 11 9 3) ) patch ymaxq ( (6 2 8 10) ) wall zminq ( (2 3 9 8) ) patch zmaxq ( (11 7 6 10) ) // right: Prism r wall xmaxr ( (15 9 8 14) ) patch yminr ( (15 11 9 15) ) patch ymaxr ( (14 8 10 14) ) patch zmaxr ( (15 14 10 11) ) patch zminr ( (8 9 9 8) ) ); mergePatchPairs ( ); // ************************************************** *********************** // |
|
Tags |
blockmesh, number of faces |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Layers not growing at all | zonda | OpenFOAM Meshing & Mesh Conversion | 12 | June 6, 2020 11:28 |
[snappyHexMesh] SHM is not extruding/adding Layers everywhere | matthiasd | OpenFOAM Meshing & Mesh Conversion | 2 | October 16, 2016 16:45 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 18:57 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 09:38 |
AMI interDyMFoam for mixer | danny123 | OpenFOAM Running, Solving & CFD | 4 | June 19, 2013 04:49 |