|
[Sponsors] |
June 7, 2017, 13:11 |
simpleGrading giving error
|
#1 |
Member
Ashok
Join Date: Feb 2017
Posts: 31
Rep Power: 9 |
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 probably due to inconsistent grading." 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. |
|
June 7, 2017, 14:39 |
|
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
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)
__________________
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: 9 |
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: 744
Rep Power: 15 |
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: 9 |
Thank you. I solved the problem.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 00:21 |
Undeclared Identifier Errof UDF | SteveGoat | Fluent UDF and Scheme Programming | 7 | October 15, 2014 07:11 |
Errors in UDF | shashank312 | Fluent UDF and Scheme Programming | 6 | May 30, 2013 20:30 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 02:32 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |