The 'featureAngle' control defines the included angle between faces above which layer extrusion is prevented. Its use within snappyHexMesh was incorrect in that the cosine was not being taken before being compared to dot products of face normals. This has now been corrected. Existing 'featureAngle' settings may need changing to recover equivalent behaviour. Any angle previously set to 58 degrees or above previously resulted in no reduction of layer coverage. A large angle between 90 and 180 degrees is likely to be an appropriate replacement for cases such as this. Angles previously set to 57 degrees and below can be equivalently replaced by a value of (180/pi)*arccos(<angle>*(pi/180)). Note that changing the feature angle also affects the slip feature angle. The slip feature angle is taken to be half the feature angle if a 'slipFeatureAngle' is not specified.
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.