The cell-owns-face information is determined by comparing edges of adjacent faces, starting from a given seed face for which ownership is known. This calculation walks now the cell in order to be sure that all faces have had their ownership determined. Previously the algorithm just iterated over the faces and face-edges. This spans the entire cell most of the time, but for large polyhedra a single pass may not propagate the necessary information across the entire cell. This could be fixed by doing multiple passes until all faces have been visited, but a walk is likely to be cheaper as it is not wasting effort iterating over the same faces multiple times. This change fixes some failures associated with the isoSurface algorithm. Occasionally, a cut plane or similar could be seen to be missing one or two faces. These faces were associated with complex polyhedra on which the cell-owns-face information had been miscalculated. Surfaces should now be complete and contiguous.
README for OpenFOAM-dev
- About OpenFOAM
- Copyright
- Download and installation instructions
- Documentation
- Source code documentation
- OpenFOAM C++ Style Guide
- Reporting bugs in OpenFOAM
- Contacting the OpenFOAM Foundation
#
About OpenFOAM
OpenFOAM is a free, open source computational fluid dynamics (CFD) software package released by the OpenFOAM Foundation. It has a large user base across most areas of engineering and science, from both commercial and academic organisations. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to solid dynamics and electromagnetics.
Copyright
OpenFOAM is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version. See the file COPYING in this directory or
http://www.gnu.org/licenses/, for a description of the GNU General Public
License terms under which you can copy the files.