CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] StitchMesh creates non-orthogonal cells

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

LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2017, 06:08
Default StitchMesh creates non-orthogonal cells
New Member
Join Date: Mar 2017
Posts: 3
Rep Power: 9
Coenstra is on a distinguished road
Dear users,

I am trying to stitch 2 parts of a mesh together. Both parts are created with hyperbolic extrusion and then converted to foam from a P3D -file. For the stitching i created a faceSet with topoSet and then a patch with createPatch. Until here, everything is well.
However when i use stitchmesh on the patches it gives a non-orthogonality of 87. When one looks at the mesh itself you see that the cells perfectly align. (see attached) Another part of the patches is stitched together correctly. Can anyone help me why this happens, or if there are other tools that can do this? I have tried to mess around with a toleranceDict but this does not seem to work.

Kind regards, Roger
Attached Images
File Type: png Patches.PNG (12.2 KB, 34 views)
File Type: png boundary-zoom.PNG (8.6 KB, 32 views)
File Type: png non-ortho-set.PNG (1.7 KB, 27 views)
Coenstra is offline   Reply With Quote

Old   October 4, 2017, 12:15
New Member
Thomas Evans
Join Date: Dec 2015
Posts: 21
Rep Power: 10
windscion is on a distinguished road
Orthogonality (in OpenFOAM, specifically checkMesh) is strictly a relation between cells. Specifically, it is the angle between the face vector and the cell center to cell center vector. Cells, therefore, have no orthogonality measure in themselves.

ignore >> At the inside corner, your cell center to cell center vector is nearly vertical, but the face vectors nearly horizontal. Hence the bad orthogonality result. << ignore

Okay, I didn't look closely enough. Thought I was looking at a 2d mesh, not part of a 3d mesh. Can't tell where/how stitched, but that should be where the cells don't line up well.

Also, the cells which connect may not be the obvious ones. If the cells are ever-so-slightly offset, there may be new faces created between cells that do not look connected.

Last edited by windscion; October 4, 2017 at 13:39.
windscion is offline   Reply With Quote


non orthogonal, stitchmesh

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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 07:56
[ICEM] error analysis despaired student ANSYS Meshing & Geometry 7 June 27, 2012 11:57
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 05:50
Proam creates negative extrusion cells if away from origin cfdengineer STAR-CD 1 January 27, 2011 05:02
physical boundary error!! kris Siemens 2 August 3, 2005 00:32

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