View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001486||OpenFOAM||[All Projects] Bug||public||2015-01-12 16:22||2015-01-22 23:19|
|Status||resolved||Resolution||no change required|
|Fixed in Version|
|Summary||0001486: renumberMesh mixes up wedge patches|
|Description||After running renumberMesh on a mesh of wedge with blockMesh, warning messages similar to this appear for every cell.|
--> FOAM Warning :
From function wedgePolyPatch::calcGeometry(PstreamBuffers&)
in file meshes/polyMesh/polyPatches/constraint/wedge/wedgePolyPatch.C at line 72
Wedge patch 'symPlanePosX' is not planar.
At local face at (0.00010079841 0.00018913757 -0.000748503) the normal (0.99905004 0.043577725 0) differs from the average normal (0.99905003 0.043577952 6.0446643e-21) by 5.1497575e-14
However, the checkMesh -constant returns that everything is OK.
Running just blockMesh, without subsequent renumberMesh, the error messages to not appear and checkMesh -constant still returns that everything is OK.
|Steps To Reproduce||* Create a mesh of a wedge geometry with blockMesh|
* Run renumberMesh -constant
* Run any application such as checkMesh -constant (the error appear when reading in the mesh, therefore even a solver could be run)
|Tags||No tags attached.|
|The renumbering is ok, it is just that the planarity check is quite strict. Are you running with binary writing?|
I am running on ASCII writing. Should I be running binary in order to avoid this issue?
The issue was not there in 2.3 and only came after updating to 2.3.1
|In general you want to run in binary if you're doing any kind of mesh manipulation. Or increase the writePrecision.|
Running in binary or increasing the writePrecision from 8 to 10 solves the problem.
||Note Added: 0003532|
||Note Added: 0003539|
||Note Added: 0003540|
||Note Added: 0003541|
|2015-01-14 19:02||henry||Status||new => closed|
|2015-01-14 19:02||henry||Assigned To||=> henry|
|2015-01-14 19:02||henry||Resolution||open => no change required|
|2015-01-22 23:19||henry||Status||closed => resolved|