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

[Other] error: faces are incorrectly oriented

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2016, 11:32
Default error: faces are incorrectly oriented
  #1
New Member
 
Sergio
Join Date: Jul 2016
Location: Venezuela
Posts: 13
Rep Power: 9
sergiopb91 is on a distinguished road
Hi all.

I made a Venturi tube jointed with a small cylinder but when ran checkMesh got the following error:

Overall domain bounding box (0 -0.016 -0.016) (0.182 0.016 0.016)
Mesh has 3 geometric (non-empty/wedge) directions (1 1 1)
Mesh has 3 solution (non-empty) directions (1 1 1)
Boundary openness (7.20866e-20 -2.52969e-15 -6.29467e-15) OK.
Max cell openness = 3.75848e-16 OK.
Max aspect ratio = 189.126 OK.
Minimum face area = 4.86213e-12. Maximum face area = 1.39607e-06. Face area magnitudes OK.
Min volume = 1.55748e-14. Max volume = 7.9738e-10. Total volume = 0.000108002. Cell volumes OK.
Mesh non-orthogonality Max: 88.6327 average: 22.3043
*Number of severely non-orthogonal (> 70 degrees) faces: 19911.
Non-orthogonality check OK.
<<Writing 19911 non-orthogonal faces to set nonOrthoFaces
***Error in face pyramids: 10 faces are incorrectly oriented.
<<Writing 10 faces with incorrect orientation to set wrongOrientedFaces
***Max skewness = 4.47115, 2 highly skew faces detected which may impair the quality of the results
<<Writing 2 skew faces to set skewFaces
Coupled point location match (average 0) OK.

Failed 2 mesh checks.




I read that this error occurs due to an incorrect order in points or blocks so I changed the order and didn't work. This is my mesh:

vertices
(
(0 0 16) // 0
(0 16 0) // 1
(0 0 -16) // 2
(0 -16 0) // 3
(40 0 16) // 4
(40 16 0) // 5
(40 0 -16) // 6
(40 -16 0) // 7
(60.840712 0 8) // 8
(60.840712 8 0) // 9
(60.840712 0 -8) // 10
(60.840712 -8 0) // 11
(76.840712 0 8) // 12
(76.840712 8 0) // 13
(76.840712 0 -8) // 14
(76.840712 -8 0) // 15
(141.995484 0 16) // 16
(141.995484 16 0) // 17
(141.995484 0 -16) // 18
(141.995484 -16 0) // 19
(182 0 16) // 20
(182 16 0) // 21
(182 0 -16) // 22
(182 -16 0) // 23
(65.840712 8 0) // 24
(68.840712 7.416198487 3) // 25
(71.840712 8 0) // 26
(68.840712 7.416198487 -3) // 27
(65.840712 12 0) // 28
(68.840712 12 3) // 29
(71.840712 12 0) // 30
(68.840712 12 -3) // 31



);

blocks
(
hex (0 3 2 1 4 7 6 5) (60 40 40) simpleGrading (1 1 1)
hex (4 7 6 5 8 11 10 9) (60 40 40) simpleGrading (1 1 1)
hex (8 11 10 9 12 15 14 13) (60 40 40) simpleGrading (1 1 1)
hex (12 15 14 13 16 19 18 17) (60 40 40) simpleGrading (1 1 1)
hex (16 19 18 17 20 23 22 21) (60 40 40) simpleGrading (1 1 1)
hex (28 31 30 29 24 27 26 25) (60 40 40) simpleGrading (1 1 1)

);

edges
(

arc 0 1 (0 11.3137085 11.3137085)
arc 1 2 (0 11.3137085 -11.3137085)
arc 2 3 (0 -11.3137085 -11.3137085)
arc 3 0 (0 -11.3137085 11.3137085)
arc 4 5 (40 11.3137085 11.3137085)
arc 5 6 (40 11.3137085 -11.3137085)
arc 6 7 (40 -11.3137085 -11.3137085)
arc 7 4 (40 -11.3137085 11.3137085)
arc 8 9 (60.840712 5.656854 5.656854)
arc 9 10 (60.840712 5.656854 -5.656854)
arc 10 11 (60.840712 -5.656854 -5.656854)
arc 11 8 (60.840712 -5.656854 5.656854)
arc 12 13 (76.840712 5.656854 5.656854)
arc 13 14 (76.840712 5.656854 -5.656854)
arc 14 15 (76.840712 -5.656854 -5.656854)
arc 15 12 (76.840712 -5.656854 5.656854)
arc 16 17 (141.995484 11.3137085 11.3137085)
arc 17 18 (141.995484 11.3137085 -11.3137085)
arc 18 19 (141.995484 -11.3137085 -11.3137085)
arc 19 16 (141.995484 -11.3137085 11.3137085)
arc 20 21 (182 11.3137085 11.3137085)
arc 21 22 (182 11.3137085 -11.3137085)
arc 22 23 (182 -11.3137085 -11.3137085)
arc 23 20 (182 -11.3137085 11.3137085)
arc 24 25 (66.719392 8 2.121320)
arc 25 26 (70.962032 8 2.121320)
arc 26 27 (70.962032 8 -2.121320)
arc 27 24 (66.719392 8 -2.121320)
arc 28 29 (66.719392 12 2.121320)
arc 29 30 (70.962032 12 2.121320)
arc 30 31 (70.962032 12 -2.121320)
arc 31 28 (66.719392 12 -2.121320)
);

boundary
(
inlet
{
type patch;
faces
(
(0 3 2 1)


);
}
outlet
{
type patch;
faces
(
(20 23 22 21)


);
}
rightup
{
type wall;
faces
(
(0 1 5 4) (4 5 9 8) (12 13 17 16) (16 17 21 20)

);
}
leftup
{
type wall;
faces
(
(1 2 6 5) (5 6 10 9) (13 14 18 17) (17 18 22 21)

);
}
rightdown
{
type wall;
faces
(
(0 3 7 4) (4 7 11 8) (8 11 15 12) (12 15 19 16) (16 19 23 20)
);
}
leftdown
{
type wall;
faces
(
(2 3 7 6) (6 7 11 10) (10 11 15 14) (14 15 19 18) (18 19 23 22)

);
}

atmosfera
{
type patch;
faces
(
(28 31 30 29)

);
}
smallcylinder
{
type wall;
faces
(
(24 25 29 28) (25 26 30 29) (26 27 31 30) (27 24 28 31)
);
}

masterPatch
{
type patch;
faces
(
(24 27 26 25)
);
}

slavePatch
{
type wall;
faces
(
(8 9 13 12) (9 10 14 13)
);
}
);
mergePatchPairs
(
(masterPatch slavePatch)
);


Can someone tell me where is the error?
Thanks in advantage.
sergiopb91 is offline   Reply With Quote

Old   September 9, 2016, 11:36
Default
  #2
New Member
 
Sergio
Join Date: Jul 2016
Location: Venezuela
Posts: 13
Rep Power: 9
sergiopb91 is on a distinguished road
Hi all.

I could run my case, changed the way of doing the cylinders and run correctly.

Thanks.
sergiopb91 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Commercial meshers] non-orthogonality errors, incorrectly oriented faces cfdmarkus OpenFOAM Meshing & Mesh Conversion 13 September 20, 2019 06:05
Faces incorrectly oriented DURING the simulation Giuseppe23 OpenFOAM 0 March 9, 2015 14:14
[blockMesh] Problem with "faces are incorrectly oriented" The_Architect OpenFOAM Meshing & Mesh Conversion 2 January 31, 2013 06:50
How to avoid the generations of incorrectly oriented faces when morphing mesh fumiya OpenFOAM 0 October 22, 2012 00:16
Wrong oriented faces due to opposite face bends? Arnoldinho OpenFOAM 5 August 16, 2012 06:00


All times are GMT -4. The time now is 10:47.