Outer boundaries deformed during layer addition in snappyHexMesh
Summary
The outer boundaries of a mesh are deformed when adding layers with snappyHexMesh. The issue occurs only when all the outer boundaries/patches belong to a single patch. If the outer block is composed by separated patches, i.e. inlet, outlet, front, etc., then the outer boundary is not deformed during the layer addition step.
Steps to reproduce
Run the tutorial airfoilWithLayers and check the outer patches.
Example case
Attached you can find a modified version of the tutorial mentioned above to reproduced the two cases, one with single outer patch and one with separated patches from blockMesh. airfoilWithLayers_outerBoundary.tgz
What is the current bug behaviour?
During the layer addition phase in snappyHexMesh the outer boundary is deformed together with the internal mesh; see attached figure. This occurs only when the outer boundary is a single patch.
What is the expected correct behavior?
The outer boundary should not be deformed; see the right picture in the figure attached.
Relevant logs and/or images
Environment information
- OpenFOAM version : v2012
- Operating system : ubuntu
- Hardware info :
- Compiler :