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

June 7, 2017, 13:11
#1
Member

Ashok
Join Date: Feb 2017
Posts: 31
Rep Power: 3
Hello everyone,

I have created a cylinder using blockMesh and it seems OK when simpleGrading is (1 1 1). Actually I need refinement at the edges, so i applied simpleGrading of (0.5 1 0.5) which results in an error
"--> FOAM FATAL ERROR:
Inconsistent point locations between block pair 0 and 1

The complete blockMesh dict is as below,

convertToMeters 1.0;

vertices
(
(0.033 0 0.033)//0
(0.093 0 0.033)//1
(0.093 0 0.093)//2
(0.033 0 0.093)//3
(0.01845 0 0.01845)//4
(0.10755 0 0.01845)//5
(0.10755 0 0.10755)//6
(0.01845 0 0.10755)//7
(0.033 0.5 0.033)//8
(0.093 0.5 0.033)//9
(0.093 0.5 0.093)//10
(0.033 0.5 0.093)//11
(0.01845 0.5 0.01845)//12
(0.10755 0.5 0.01845)//13
(0.10755 0.5 0.10755)//14
(0.01845 0.5 0.10755)//15

);

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

edges
(
arc 4 5 (0.063 0 0)
arc 5 6 (0.126 0 0.063)
arc 6 7 (0.063 0 0.126)
arc 7 4 (0 0 0.063)
arc 12 13 (0.063 0.5 0)
arc 13 14 (0.126 0.5 0.063)
arc 14 15 (0.063 0.5 0.126)
arc 15 12 (0 0.5 0.063)

);

boundary
(
movingWall
{
type wall;
faces
(
(5 6 14 13)
(6 7 15 14)
(7 4 12 15)
(4 5 13 12)

);
}

atmosphere
{
type wall;
faces
(
(12 13 9 8)
(13 14 10 9)
(14 15 11 10)
(15 12 8 11)
(8 9 10 11)

);
}
bottomWall
{
type wall;
faces
(
(0 3 2 1)
(4 0 1 5)
(4 7 3 0)
(7 6 2 3)
(6 5 1 2)

);
}
);

mergePatchPairs
(
);

Can anyone help me to successfully apply simpleGrading to my Cylinderical domain ?
Thank you.
Attached Images
 cylinder.jpg (37.6 KB, 7 views)

 June 7, 2017, 14:39 #2 Senior Member     Uwe Pilz Join Date: Feb 2017 Location: Leipzig, Germany Posts: 521 Rep Power: 6 You have to set the grading for neighboring blocks in an equal way: Code: ```hex (12 15 7 4 8 11 **3 0**) (15 60 15) simpleGrading (1 1 0.5) hex (8 11 **3 0** 9 10 2 1) (15 60 15) simpleGrading (1 1 1)``` The first 3-0 section has a grading, the second not. The internal nodes do not fit. That may be not the only mistake, it is the one I saw at the first glance. __________________ Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)

 June 7, 2017, 15:03 #3 Member   Ashok Join Date: Feb 2017 Posts: 31 Rep Power: 3 Hello Pilz, Firstly Thanks for your Answer. After your suggestion I have tried grading as below, blocks ( hex (12 15 7 4 8 11 3 0) (15 60 15) simpleGrading (0.5 1 0.5) hex (8 11 3 0 9 10 2 1) (15 60 15) simpleGrading (0.5 1 0.5) hex (9 10 2 1 13 14 6 5) (15 60 15) simpleGrading (0.5 1 0.5) hex (11 15 7 3 10 14 6 2) (15 60 15) simpleGrading (0.5 1 0.5) hex (12 8 0 4 13 9 1 5) (15 60 15) simpleGrading (0.5 1 0.5) ); But still the same error follows. Can you please check if orientation of blocks is in correct order or not ? Thank you.

 June 7, 2017, 23:59 #4 Senior Member     Uwe Pilz Join Date: Feb 2017 Location: Leipzig, Germany Posts: 521 Rep Power: 6 I recommend making a sketch of your block. You'll what fits and what not. __________________ Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)

 June 8, 2017, 06:59 #5 Member   Ashok Join Date: Feb 2017 Posts: 31 Rep Power: 3 Thank you. I solved the problem.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 07:11 NickG OpenFOAM Installation 2 August 30, 2013 07:42 shashank312 Fluent UDF and Scheme Programming 6 May 30, 2013 20:30 ttdtud OpenFOAM Installation 46 May 5, 2009 02:32 ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50

All times are GMT -4. The time now is 05:28.