|
[Sponsors] |
[mesh manipulation] Incorrect (as I suppose) calculation of skewness by checkMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 31, 2018, 08:36 |
Incorrect (as I suppose) calculation of skewness by checkMesh
|
#1 |
New Member
Kirils Surovovs
Join Date: Jul 2013
Posts: 3
Rep Power: 13 |
Hello! Short summary of the problem: it seems that checkMesh utility calculates cell skewness incorrectly.
The more detailed description. I create a 2D mesh using the blockMeshDict from the attachment. Regular non-orthogonal mesh is created. I show an example in the attachment, but the mesh looks the same everywhere. When I run checkMesh, it says: Code:
Max skewness = 1.825084 OK. Code:
scalar dOwn = mag ( (faceCtrs[faceI] - cellCtrs[own[faceI]]) & areas[faceI] )/mag(areas[faceI]); scalar dNei = mag ( (cellCtrs[nei[faceI]] - faceCtrs[faceI]) & areas[faceI] )/mag(areas[faceI]); point faceIntersection = cellCtrs[own[faceI]] + (dOwn/(dOwn+dNei))*(cellCtrs[nei[faceI]] - cellCtrs[own[faceI]]); scalar skewness = mag(faceCtrs[faceI] - faceIntersection) /(mag(cellCtrs[nei[faceI]] - cellCtrs[own[faceI]]) + VSMALL); The same problem happens in all OpenFOAM versions. Does anyone have any idea why does it happen? I append also the whole case folder in the attachments, for easier replication. Just unzip it and run blockMesh and checkMesh. |
|
Tags |
checkmesh, skewness |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Questions on Boundary Layer Spring Method for 3D Calculation | didiean | FLUENT | 15 | December 18, 2014 22:09 |
[Netgen] Import netgen mesh to OpenFOAM | hsieh | OpenFOAM Meshing & Mesh Conversion | 32 | September 13, 2011 06:50 |
MRF and Heat transfer calculation | Susan YU | FLUENT | 0 | June 2, 2010 09:46 |
Unsteady Statistics- incorrect calculation, etc. | John | FLUENT | 0 | June 27, 2007 20:04 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |