CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Small error at channelFoam case mesh (https://www.cfd-online.com/Forums/openfoam-bugs/96882-small-error-channelfoam-case-mesh.html)

juanma February 3, 2012 12:54

Small error at channelFoam case mesh
 
Dear all,

I just found out a tiny error inside the blockmeshDict:
blocks
(
hex (0 1 3 2 6 7 9 8) (40 25 30) simpleGrading (1 10.7028 1)
hex (2 3 5 4 8 9 11 10) (40 25 30) simpleGrading (1 0.0984 1)
);
For the mesh to be symmetric the simpleGrading should be:
(1 0.0934 1)
... or change the first one to (1 10.1626 1). I haven't checked what values make the cells in the center of the channel perfectly square, but with such a small difference I guess is more important to have the same growth ratio.

I've checked versions 1.5 to 2.0.1. It would be nice if the value is corrected for further releases.

Thanks,
Juanma

wyldckat February 4, 2012 10:11

Greetings Juanma,

Nice catch! I haven't checked this myself either, but if you really want this fixed, then you should report on the official bug tracker: http://www.openfoam.com/mantisbt/my_view_page.php

Best regards,
Bruno

juanma February 6, 2012 11:31

Error fixed by mattijs for further releases.
Thanks

ron_OFuser January 22, 2015 03:56

Which OF version is bug free (mesh grading)? :(

wyldckat January 22, 2015 14:17

Quote:

Originally Posted by ron_OFuser (Post 528555)
Which OF version is bug free (mesh grading)? :(

Quick answer: This was fixed in OpenFOAM 2.1.x: http://www.openfoam.org/mantisbt/view.php?id=413

edit: And this fix was included in 2.1.1.


All times are GMT -4. The time now is 23:42.