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

[blockMesh] Multi-grading: Inconsistent point locations between blocks

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2015, 13:21
Default Multi-grading: Inconsistent point locations between blocks
  #1
Senior Member
 
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 13
Flowkersma is on a distinguished road
Hi everyone,

I have been testing the new multi-grading feature and found out some strange behaviour in it. BlockMesh fails sometimes if the multi-grading is specified on an edge which has opposite directions between the two blocks. I attached two examples: first one runs without problems but the second one gives an error "Inconsistent point locations between block pair 0 and 1." Only the amount of cells in k-direction is changed (i.e. 20,23 and 24 are OK and 21,22 are not). What is going on?

This one runs without problems:

Code:
vertices
(
    (-0.5 0.5 0.0)
    (0.5 -0.5 0.0)
    (0.5 0.5 0.0)
    (1.0 1.0 0.0)
    (1.0 -1.0 0.0)
    (-1.0 1.0 0.0)
    (-0.5 0.5 2.0)
    (0.5 0.5 2.0)
    (0.5 -0.5 2.0)
    (-1.0 1.0 2.0)
    (1.0 -1.0 2.0)
    (1.0 1.0 2.0)
    (-0.5 -0.5 0.0)
    (-0.5 -0.5 2.0)
);

blocks
(
    hex (5 3 11 9 0 2 7 6)  (40 40 20) edgeGrading (
1 1
(
 (0.3 0.4 4) (0.5 0.3 1) (0.2 0.3 0.25)
)
)
    hex (1 2 7 8 4 3 11 10)  (20 40 20) edgeGrading (
1 1
(
 (0.2 0.3 4) (0.50 0.3 1)  (0.30 0.4 0.25)
)
)
);
This one gives an error:

Code:
vertices
(
    (-0.5 0.5 0.0)
    (0.5 -0.5 0.0)
    (0.5 0.5 0.0)
    (1.0 1.0 0.0)
    (1.0 -1.0 0.0)
    (-1.0 1.0 0.0)
    (-0.5 0.5 2.0)
    (0.5 0.5 2.0)
    (0.5 -0.5 2.0)
    (-1.0 1.0 2.0)
    (1.0 -1.0 2.0)
    (1.0 1.0 2.0)
    (-0.5 -0.5 0.0)
    (-0.5 -0.5 2.0)
);

blocks
(
    hex (5 3 11 9 0 2 7 6)  (40 40 21) edgeGrading (
1 1
(
 (0.3 0.4 4) (0.5 0.3 1) (0.2 0.3 0.25)
)
)
    hex (1 2 7 8 4 3 11 10)  (20 40 21) edgeGrading (
1 1
(
 (0.2 0.3 4) (0.50 0.3 1)  (0.30 0.4 0.25)
)
)
);
Flowkersma is offline   Reply With Quote

Old   August 1, 2015, 19:49
Default
  #2
Senior Member
 
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 13
ssss is on a distinguished road
I think that you should report this bug in the mantis openfoam tracker. They will surely take a look at it
ssss is offline   Reply With Quote

Old   August 2, 2015, 15:34
Default
  #3
Senior Member
 
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 13
Flowkersma is on a distinguished road
Thanks, I did a bug report. http://www.openfoam.org/mantisbt/view.php?id=1809
Flowkersma is offline   Reply With Quote

Reply


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
Problem with UDF compiling for kTkLW model Wantami FLUENT 0 July 18, 2011 06:11
[snappyHexMesh] Meshing multiple blocks Hanno OpenFOAM Meshing & Mesh Conversion 3 February 17, 2011 13:14
Floating point errors on a multi processor sim. Murat FLUENT 0 March 6, 2009 20:02
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 03:27
CFX4.3 -build analysis form Chie Min CFX 5 July 13, 2001 00:19


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