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

[blockMesh] Error while creating blockMesh: Inconsistent point locations between block pair

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2015, 11:25
Default Error while creating blockMesh: Inconsistent point locations between block pair
  #1
New Member
 
Ashwin
Join Date: Apr 2015
Posts: 6
Rep Power: 11
lpashwin is on a distinguished road
Ok sorry for the post, I figured out what my mistake is and corrected it.
I am a novice OpenFoam user and I ran into this problem which running blockMesh. Can someone explain to me why I am getting this error?

Creating block offsets
Creating merge list

--> FOAM FATAL ERROR:
Inconsistent point locations between block pair 0 and 2
probably due to inconsistent grading.

From function blockMesh::calcMergeInfo()
in file blockMesh/blockMeshMerge.C at line 294.

FOAM exiting


My blockMeshDict is as shown below
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

vertices
(
( -1000.0 -500.0 -200.0) //0
( 0.0 -500.0 -200.0) //1
(1000.0 -500.0 -200.0) //2
( -1000.0 0.0 -200.0) //3
( 0.0 0.0 -200.0) //4
(1000.0 0.0 -200.0) //5
( -1000.0 500.0 -200.0) //6
( 0.0 500.0 -200.0) //7
(1000.0 500.0 -200.0) //8
( -1000.0 -500.0 200.0) //9
( 0.0 -500.0 200.0) //10
(1000.0 -500.0 200.0) //11
(-1000.0 0.0 200.0) //12
( 0.0 0.0 200.0) //13
(1000.0 0.0 200.0) //14
( -1000.0 500.0 200.0) //15
( 0.0 500.0 200.0) //16
(1000.0 500.0 200.0) //17


);

blocks
(
hex (0 1 4 3 9 10 13 12) (200 100 40) simpleGrading (0.1 1 0.1)
hex (1 2 5 4 10 11 14 13) (200 100 40) simpleGrading (0.1 1 0.1)
hex (3 4 7 6 12 13 16 15) (200 100 40) simpleGrading (10. 1 0.1)
hex (4 5 8 7 13 14 17 16) (200 100 40) simpleGrading (10. 1 0.1)

);

edges
(
);

boundary
(
atmosphere
{
type patch;
faces
(
(9 10 13 12)
(10 11 14 13)
(13 14 17 16)
(12 13 16 15)
);
}
inlet
{
type patch;
faces
(
(0 1 10 9)
(1 2 11 10)

);
}
outlet
{
type patch;
faces
(
(16 17 8 7)
(15 16 7 6)
);
}
bottom
{
type wall;
faces
(
(0 3 4 1)
(3 6 7 4)
(4 7 8 5)
(1 4 5 2)
);
}
lsides
{
type wall;
faces
(
(5 14 11 2)
(8 17 14 5)
);
}
rsides
{
type wall;
faces
(
(9 12 3 0)
(12 15 6 3)
);
}
);

mergePatchPairs
(
);

// ************************************************** *********************** //
lpashwin is offline   Reply With Quote

Old   May 30, 2015, 18:34
Default
  #2
Member
 
Alexander Bartel
Join Date: Feb 2015
Location: Germany
Posts: 97
Rep Power: 11
alexB is on a distinguished road
Hi Ashwin,

the mesh grading between block 0 and 2, and between 1 and 3 doesn't fit.
The first block has a 0.1 grading in x-direction and the second has 10 in x-direction while they are connected in the x-z-plane.

Just choose the same value for the grading and it should work.

regards
Alex
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
alexB is offline   Reply With Quote

Old   June 1, 2015, 12:31
Default
  #3
New Member
 
Ashwin
Join Date: Apr 2015
Posts: 6
Rep Power: 11
lpashwin is on a distinguished road
Thank you Alex! It works now!
lpashwin is offline   Reply With Quote

Reply

Tags
blockmeshdict block mesh


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
[blockMesh] External flow around cube with blockMesh Woody8 OpenFOAM Meshing & Mesh Conversion 0 March 31, 2015 14:54
[blockMesh] Mixer mesh - negative volume problem jadtwo OpenFOAM Meshing & Mesh Conversion 2 November 6, 2014 16:37
blockMesh: block with 6 vertexes dani OpenFOAM 3 June 25, 2009 13:13
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 02:27


All times are GMT -4. The time now is 02:18.