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

[blockMesh] apparently the mesh doesn't want to be created in one direction

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2012, 07:36
Default apparently the mesh doesn't want to be created in one direction
  #1
New Member
 
Maxime Thomas
Join Date: Jul 2012
Posts: 4
Rep Power: 13
Maxime Thomas is on a distinguished road
Hi everybody

I've been trying to generate a mesh for hours, I'm about to succeed in doing it but apparently the mesh doesn't want to be created in one direction (the two other directions work quite well).
You'll find attached a diagram of my geometry, with the different blocks that I set in my blockmesh. Here is my problem:
Everything goes well if I set all the grading to (10 1 10) simpleGrading (1 1 1) but as soon as I change the y component to 10 for all the blocks I have this error message in the terminal:

Check topology

Basic statistics
Number of internal faces : 267
Number of boundary faces : 150
Number of defined boundary faces : 150
Number of undefined boundary faces : 0
Checking patch -> block consistency

Creating block offsets
Creating merge list

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

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

FOAM exiting

Apparently, the mesh don't want to be created between two blocks in the y direction for the y component of the mesh. I tried to set all the blocks in a way that all the x y and z components of the mesh are similar but still, it doesn't work...
I also checked for one group of 5 blocks (for example blocks 0 to 4) and everything goes fairly well, the mesh can be created with (10 10 10) grading. As soon as I take another block in the y direction it doesn't work anymore.

Any idea?

Here is my blockMesh:

convertToMeters 1;
vertices
(
( 0 -0.531736155 0 )
( -0.075 -0.531736155 0.227312075 )
( 0.075 -0.531736155 0.227312075 )
( 0.239365368 -0.531736155 0 )
( 0 -0.531736155 -0.239365368 )
( 0.282842712 -0.531736155 -0.522208081 )
( 0.522208081 -0.531736155 -0.282842712 )
( 0 0.531736155 0 )
( -0.075 0.531736155 0.227312075 )
( 0.075 0.531736155 0.227312075 )
( 0.239365368 0.531736155 0 )
( 0 0.531736155 -0.239365368 )
( 0.282842712 0.531736155 -0.522208081 )
( 0.522208081 0.531736155 -0.282842712 )
( 0 -6 0 )
( -0.075 -6 0.227312075 )
( 0.075 -6 0.227312075 )
( 0.239365368 -6 0 )
( 0 -6 -0.239365368 )
( -0.075 -6 0.327312075 )
( 0.075 -6 0.327312075 )
( 0 -5.65 0 )
( -0.075 -5.65 0.227312075 )
( 0.075 -5.65 0.227312075 )
( 0.239365368 -5.65 0 )
( 0 -5.65 -0.239365368 )
( -0.075 -5.65 0.327312075 )
( 0.075 -5.65 0.327312075 )
( 0 -5.15 0 )
( -0.075 -5.15 0.227312075 )
( 0.075 -5.15 0.227312075 )
( 0.239365368 -5.15 0 )
( 0 -5.15 -0.239365368 )
( -0.075 -5.15 0.327312075 )
( 0.075 -5.15 0.327312075 )

... (the list is very long!)

( 0 6 0 )
( -0.075 6 0.227312075 )
( 0.075 6 0.227312075 )
( 0.239365368 6 0 )
( 0 6 -0.239365368 )
( -0.075 6 0.327312075 )
( 0.075 6 0.327312075 )
( -0.075 -0.531736155 0.327312075 )
( 0.075 -0.531736155 0.327312075 )
);
blocks
(
hex ( 0 1 2 0 7 8 9 7 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 0 2 3 0 7 9 10 7 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 0 3 4 0 7 10 11 7 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 0 4 1 0 7 11 8 7 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 3 6 5 4 10 13 12 11 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 14 15 16 14 21 22 23 21 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 14 16 17 14 21 23 24 21 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 14 17 18 14 21 24 25 21 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 14 18 15 14 21 25 22 21 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 15 19 20 16 22 26 27 23 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 21 22 23 21 28 29 30 28 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 21 23 24 21 28 30 31 28 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 21 24 25 21 28 31 32 28 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 21 25 22 21 28 32 29 28 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 22 26 27 23 29 33 34 30 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 28 29 30 28 35 36 37 35 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 28 30 31 28 35 37 38 35 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 28 31 32 28 35 38 39 35 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 28 32 29 28 35 39 36 35 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 29 33 34 30 36 40 41 37 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 35 36 37 35 42 43 44 42 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 35 37 38 35 42 44 45 42 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 35 38 39 35 42 45 46 42 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 35 39 36 35 42 46 43 42 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 36 40 41 37 43 47 48 44 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 42 43 44 42 49 50 51 49 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 42 44 45 42 49 51 52 49 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 42 45 46 42 49 52 53 49 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 42 46 43 42 49 53 50 49 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 43 47 48 44 50 54 55 51 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 49 50 51 49 56 57 58 56 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 49 51 52 49 56 58 59 56 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 49 52 53 49 56 59 60 56 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 49 53 50 49 56 60 57 56 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 50 54 55 51 57 61 62 58 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 56 57 58 56 63 64 65 63 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 56 58 59 56 63 65 66 63 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 56 59 60 56 63 66 67 63 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 56 60 57 56 63 67 64 63 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 57 61 62 58 64 68 69 65 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 63 64 65 63 70 71 72 70 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 63 65 66 63 70 72 73 70 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 63 66 67 63 70 73 74 70 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 63 67 64 63 70 74 71 70 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 64 68 69 65 71 75 76 72 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 70 71 72 70 77 78 79 77 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 70 72 73 70 77 79 80 77 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 70 73 74 70 77 80 81 77 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 70 74 71 70 77 81 78 77 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 71 75 76 72 78 82 83 79 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 77 78 79 77 84 85 86 84 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 77 79 80 77 84 86 87 84 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 77 80 81 77 84 87 88 84 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 77 81 78 77 84 88 85 84 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 78 82 83 79 85 89 90 86 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 84 85 86 84 0 1 2 0 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 84 86 87 84 0 2 3 0 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 84 87 88 84 0 3 4 0 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 84 88 85 84 0 4 1 0 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 85 89 90 86 1 168 169 2 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 91 92 93 91 98 99 100 98 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 91 93 94 91 98 100 101 98 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 91 94 95 91 98 101 102 98 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 91 95 92 91 98 102 99 98 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 92 96 97 93 99 103 104 100 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
...
hex ( 147 148 149 147 154 155 156 154 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 147 149 150 147 154 156 157 154 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 147 150 151 147 154 157 158 154 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 147 151 148 147 154 158 155 154 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 148 152 153 149 155 159 160 156 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 154 155 156 154 161 162 163 161 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 154 156 157 154 161 163 164 161 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 154 157 158 154 161 164 165 161 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 154 158 155 154 161 165 162 161 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 155 159 160 156 162 166 167 163 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 7 8 9 7 91 92 93 91 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 7 9 10 7 91 93 94 91 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 7 10 11 7 91 94 95 91 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
hex ( 7 11 8 7 91 95 92 91 ) ( 10 10 10 ) simpleGrading ( 1 1 1 )
);
edges
(
arc 1 2 ( 0 -0.531736155 0.239365368 )
arc 2 3 ( 0.169256875 -0.531736155 0.169256875 )
arc 3 4 ( 0.169256875 -0.531736155 -0.169256875 )
arc 1 4 ( -0.239365368 -0.531736155 0 )
arc 8 9 ( 0 0.531736155 0.239365368 )
arc 9 10 ( 0.169256875 0.531736155 0.169256875 )
arc 10 11 ( 0.169256875 0.531736155 -0.169256875 )
arc 8 11 ( -0.239365368 0.531736155 0 )
arc 15 16 ( 0 -6 0.239365368 )
arc 16 17 ( 0.169256875 -6 0.169256875 )
arc 17 18 ( 0.169256875 -6 -0.169256875 )
arc 18 15 ( -0.239365368 -6 0 )
arc 22 23 ( 0 -5.65 0.239365368 )
arc 23 24 ( 0.169256875 -5.65 0.169256875 )
arc 24 25 ( 0.169256875 -5.65 -0.169256875 )
arc 25 22 ( -0.239365368 -5.65 0 )
arc 29 30 ( 0 -5.15 0.239365368 )
arc 30 31 ( 0.169256875 -5.15 0.169256875 )
arc 31 32 ( 0.169256875 -5.15 -0.169256875 )
arc 32 29 ( -0.239365368 -5.15 0 )
arc 36 37 ( 0 -4.4 0.239365368 )
arc 37 38 ( 0.169256875 -4.4 0.169256875 )
arc 38 39 ( 0.169256875 -4.4 -0.169256875 )
arc 39 36 ( -0.239365368 -4.4 0 )
arc 43 44 ( 0 -4 0.239365368 )
arc 44 45 ( 0.169256875 -4 0.169256875 )
arc 45 46 ( 0.169256875 -4 -0.169256875 )
arc 46 43 ( -0.239365368 -4 0 )
arc 50 51 ( 0 -3.15 0.239365368 )
arc 51 52 ( 0.169256875 -3.15 0.169256875 )
arc 52 53 ( 0.169256875 -3.15 -0.169256875 )
arc 53 50 ( -0.239365368 -3.15 0 )
arc 57 58 ( 0 -2.85 0.239365368 )
arc 58 59 ( 0.169256875 -2.85 0.169256875 )
arc 59 60 ( 0.169256875 -2.85 -0.169256875 )
arc 60 57 ( -0.239365368 -2.85 0 )
arc 64 65 ( 0 -1.9 0.239365368 )
arc 65 66 ( 0.169256875 -1.9 0.169256875 )
arc 66 67 ( 0.169256875 -1.9 -0.169256875 )
arc 67 64 ( -0.239365368 -1.9 0 )
arc 71 72 ( 0 -1.7 0.239365368 )
arc 72 73 ( 0.169256875 -1.7 0.169256875 )
arc 73 74 ( 0.169256875 -1.7 -0.169256875 )
arc 74 71 ( -0.239365368 -1.7 0 )
arc 78 79 ( 0 -0.65 0.239365368 )
arc 79 80 ( 0.169256875 -0.65 0.169256875 )
arc 80 81 ( 0.169256875 -0.65 -0.169256875 )
arc 81 78 ( -0.239365368 -0.65 0 )
arc 85 86 ( 0 -0.55 0.239365368 )
arc 86 87 ( 0.169256875 -0.55 0.169256875 )
arc 87 88 ( 0.169256875 -0.55 -0.169256875 )
arc 88 85 ( -0.239365368 -0.55 0 )
arc 92 93 ( 0 0.55 0.239365368 )
arc 93 94 ( 0.169256875 0.55 0.169256875 )
arc 94 95 ( 0.169256875 0.55 -0.169256875 )
arc 95 92 ( -0.239365368 0.55 0 )
arc 99 100 ( 0 0.65 0.239365368 )
arc 100 101 ( 0.169256875 0.65 0.169256875 )
arc 101 102 ( 0.169256875 0.65 -0.169256875 )
arc 102 99 ( -0.239365368 0.65 0 )
arc 106 107 ( 0 1.7 0.239365368 )
arc 107 108 ( 0.169256875 1.7 0.169256875 )
arc 108 109 ( 0.169256875 1.7 -0.169256875 )
arc 109 106 ( -0.239365368 1.7 0 )
arc 113 114 ( 0 1.9 0.239365368 )
arc 114 115 ( 0.169256875 1.9 0.169256875 )
arc 115 116 ( 0.169256875 1.9 -0.169256875 )
arc 116 113 ( -0.239365368 1.9 0 )
arc 120 121 ( 0 2.85 0.239365368 )
arc 121 122 ( 0.169256875 2.85 0.169256875 )
arc 122 123 ( 0.169256875 2.85 -0.169256875 )
arc 123 120 ( -0.239365368 2.85 0 )
(...)
);
patches
(
patch inlet
(
( 27 26 33 34 )
( 41 40 47 48 )
( 55 54 61 62 )
( 69 68 75 76 )
( 83 82 89 90 )
( 97 96 103 104 )
( 111 110 117 118 )
( 125 124 131 132 )
( 139 138 145 146 )
( 153 152 159 160 )
)
patch outlet
(
( 12 13 6 5 )
)
);
mergePatchPairs
(
);

Hopefully somebody will be able to help me, for now I'm out of any idea to figure it out!

Thank you.
Attached Images
File Type: jpg Schéma.jpg (20.3 KB, 32 views)
Attached Files
File Type: txt blockMeshDict.txt (17.1 KB, 3 views)
Maxime Thomas is offline   Reply With Quote

Old   August 18, 2012, 07:05
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Maxime,

I don't know if you've finally manage to fix this, but I haven't checked what's wrong with it neither.

What I can offer are the following suggestions:
Good luck!
Bruno
__________________

Last edited by wyldckat; August 18, 2012 at 07:07. Reason: see "edit:"
wyldckat 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
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 18:16
[ICEM] Merge created block resulting in not connected mesh imamwfgf ANSYS Meshing & Geometry 2 October 20, 2013 07:22
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 10:03
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 05:26
CFX4.3 -build analysis form Chie Min CFX 5 July 13, 2001 00:19


All times are GMT -4. The time now is 08:45.