View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002228 | OpenFOAM | Bug | public | 2016-09-01 22:32 | 2016-09-02 22:10 |
Reporter | rlferreira | Assigned To | wyldckat | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 14.04 |
Summary | 0002228: Mesh quality decrease with renumberMesh functionality | ||||
Description | The checkMesh after running "renumberMesh -overwrite" points bigger Non-Orthogonality on the mesh. In my case, maximum non-orthogonality increases of 66 to 89° after execute renumberMesh. I did a test with pitzDaily case. Before running renumberMesh: Non-Orthogonality max=5.94745 average=1.41505 Max skewness=0.260443 Max Aspect Ratio=7.74923 After running renumberMesh: Non-Orthogonality max=5.97551 average=1.41506 Max skewness=0.260406 It is clear that pitzDaily case have a very good mesh quality. So, the effect is really small. However, if the mesh have high Non-orthogonality, as it is my case, I think that bad mesh quality becomes. Max Aspect Ratio=7.74998 | ||||
Steps To Reproduce | Execute: 1)blockMesh 2)checkMesh 3)renumberMesh -overwrite 4)checkMesh | ||||
Additional Information | I expected the numbers of mesh quality remaining the same after execute renumberMesh. | ||||
Tags | No tags attached. | ||||
|
|
|
You're seeing the effect of limited precision in writing meshes. Use binary writing or a higher writePrecision. |
|
Confirmed Mattijs' assessment, many thanks! To add a few more details: blockMesh will write with precision of at least 10 digits, as shown here: https://github.com/OpenFOAM/OpenFOAM-4.x/blob/master/applications/utilities/mesh/generation/blockMesh/blockMesh.C#L329 A few additional deductions/conclusions: - Having renumberMesh do the same can be construed as counter-intuitive, given that this kind of control is left to the user. - blockMesh only does this change of precision out of convenience. - writing in ASCII format should only be used as a debugging measure. Writing and reading in binary format is much more efficient (much faster to load/save to/from files, as well as save disk space in many cases) and does not loose precision. I'm therefore closing this report as "no change required". |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-09-01 22:32 | rlferreira | New Issue | |
2016-09-01 22:32 | rlferreira | File Added: fixedReed.tar.gz | |
2016-09-02 11:01 | MattijsJ | Note Added: 0006799 | |
2016-09-02 22:08 | wyldckat | Note Added: 0006802 | |
2016-09-02 22:10 | wyldckat | Status | new => closed |
2016-09-02 22:10 | wyldckat | Assigned To | => wyldckat |
2016-09-02 22:10 | wyldckat | Resolution | open => no change required |