CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

mesh grading problem with multiple blocks

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 21, 2010, 03:33
Default mesh grading problem with multiple blocks
  #1
New Member
 
Aljaz Osterman
Join Date: Dec 2010
Posts: 8
Rep Power: 6
aljaz is on a distinguished road
Hi!
When I'm trying to mesh a part of cylinder, made out of 3 blocks, I've found that when I try to have some grading in direction of symmetry axis, there's error message like:

--> FOAM FATAL ERROR:
face 451 area does not match neighbour 1051 by 11.4833% -- possible face ordering problem.
... etc.

With simple grading (1) everything is ok (blockMesh and checkMesh).
Interestingly though the mesh is generated and can be graded in all directions without a problem if central block is omitted (geometry of only 2 blocks - it's like a cylinder with a hole inside). The same holds true also if only the central block is meshed.
Any suggestions how can I make graded mesh on all 3 blocks?

Another question: what's the required precision when defining geometry (e.g. when using trigonometric functions)

With best regards!

P.S.: my blockMeshDict is pasted below, now it's not working, but if you replace '5' with '1' in simpleGrading specifications, it works.

FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1e-4;

vertices
(
(4.6194 150 -1.91342)
(138.58193 150 -57.40251)
(5 150 0)
(150 150 0)
(4.6194 150 1.91342)
(138.58193 150 57.40251)

(4.6194 200 -1.91342)
(138.58193 200 -57.40251)
(5 200 0)
(150 200 0)
(4.6194 200 1.91342)
(138.58193 200 57.40251)

(0 150 0)
(0 200 0)
);

blocks
(
hex (0 2 3 1 6 8 9 7) (10 30 15) simpleGrading (1 10 5)
hex (2 4 5 3 8 10 11 9) (10 30 15) simpleGrading (1 10 5)
hex (12 4 2 0 13 10 8 6) (10 10 15) simpleGrading (1 1 5)
);

edges
(
arc 0 2 (4.903926 150 -0.975452)
arc 2 4 (4.903926 150 0.975452)
arc 1 3 (147.117792 150 -29.263548)
arc 3 5 (147.117792 150 29.263548)
arc 6 8 (4.903926 200 -0.975452)
arc 8 10 (4.903926 200 0.975452)
arc 7 9 (147.117792 200 -29.263548)
arc 9 11 (147.117792 200 29.263548)
);

patches
(
patch inlet
(
(6 8 9 7)
(8 10 11 9)
(6 13 10 8)
)
patch outlet
(
(0 2 3 1)
(0 12 4 2)
)
wall walls-A
(
(2 4 5 3)
)
wall walls-B
(
(1 3 9 7)
(3 5 11 9)
// (0 2 8 6)
// (2 4 10 8)
)
cyclic bf
(
(4 5 11 10)
(12 4 10 13)
(0 1 7 6)
(12 0 6 13)
)
);

mergePatchPairs
(
);
aljaz is offline   Reply With Quote

Reply

Tags
blockmesh, grading

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFX Mesh Deformation problem Silmaril CFX 7 October 19, 2010 10:00
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09
Mesh Deformation Problem Virag Mishra CFX 0 October 9, 2007 00:37
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 11:09


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