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

[blockMesh] Non orthogonal faces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2016, 01:18
Default Non orthogonal faces
  #1
New Member
 
Gautham Krishnan
Join Date: Feb 2016
Posts: 4
Rep Power: 10
GauthamKrishnan is on a distinguished road
I've ran blockMesh on the following blockMeshDict file and it worked out without any warnings, but upon running checkMesh it says there are 240 non-orthogonal faces. I've gone through the blockMeshDict file subsequently and have been unable to locate the error. Could someone please help me out in this regard?

blockMeshDict:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.0001;

vertices
(
(0 0 0)
(300 0 0)
(0 2.5 0)
(300 2.5 0)
(0 4 0)
(300 4 0)
(0 30 0)
(300 30 0)
(0 0 0.1)
(300 0 0.1)
(0 2.5 0.1)
(300 2.5 0.1)
(0 4 0.1)
(300 4 0.1)
(0 30 0.1)
(300 30 0.1)
);

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

edges
(
);

boundary
(

bottomwall
{
type wall;
faces
(
(1 9 8 0)
);
}
topwall
{
type wall;
faces
(
(6 14 15 7)
);
}
leftwall
{
type cyclic;
neighbourPatch rightwall;
faces
(
(0 8 10 2)
(2 10 12 4)
(4 12 14 6)
);

}
rightwall
{
type cyclic;
neighbourPatch leftwall;
faces
(
(9 1 3 11)
(11 3 5 13)
(13 5 7 15)
);

}
frontAndBack
{
type empty;
faces
(
(1 0 2 3)
(3 2 4 5)
(5 4 6 7)
(8 9 11 10)
(10 11 13 12)
(12 13 15 14)
);
}
);

mergePatchPairs
(
);

// ************************************************** *********************** //
GauthamKrishnan is offline   Reply With Quote

Old   February 14, 2016, 13:48
Default
  #2
New Member
 
Gautham Krishnan
Join Date: Feb 2016
Posts: 4
Rep Power: 10
GauthamKrishnan is on a distinguished road
I think the non-orthogonality error might be due to cyclic boundary conditions on leftwall and rightwall. Can someone help me out with this?
GauthamKrishnan is offline   Reply With Quote

Old   February 14, 2016, 14:57
Default
  #3
Senior Member
 
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 12
Flowkersma is on a distinguished road
Hi,

OpenFOAM 2.4.x and 3.0.0 did not give any errors with your blockMeshDict file. If you want to see which faces cause the error, run
Code:
foamToVTK -faceSet nonOrthogonalFaces
and open the corresponding file inside VTK directory.

Best regards,
Mikko
Flowkersma is offline   Reply With Quote

Old   February 14, 2016, 21:14
Default
  #4
New Member
 
Gautham Krishnan
Join Date: Feb 2016
Posts: 4
Rep Power: 10
GauthamKrishnan is on a distinguished road
Hi,
I've been using openFOAM 2.2.0 and checkmesh gives me this error. I've checked which faces are in non-orthogonal sets file, it's the right wall and the left wall,the ones with the cyclic boundary conditions. Is there a way to fix this?
GauthamKrishnan is offline   Reply With Quote

Reply


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
Decomposing meshes Tobi OpenFOAM Pre-Processing 22 February 24, 2023 09:23
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
GenerateVolumeMesh Error - Surface Wrapper Self Interacting (?) AndreP STAR-CCM+ 10 August 2, 2018 07:48
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38
snappyhexmesh remove blockmesh geometry philipp1 OpenFOAM Running, Solving & CFD 2 December 12, 2014 10:58


All times are GMT -4. The time now is 14:32.