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

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 1, 2015, 12: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: 12
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

 


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 05:11
[snappyHexMesh] Meshing multiple blocks Hanno OpenFOAM Meshing & Mesh Conversion 3 February 17, 2011 12:14
Floating point errors on a multi processor sim. Murat FLUENT 0 March 6, 2009 19:02
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 02:27
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 11:44.