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.
OpenFOAM Configuration
The main OpenFOAM settings are located in the parent etc/ directory. The bash and csh shells are supported and to configure OpenFOAM source etc/bashrc or etc/cshrc respectively which source the following files in the config.sh or config.csh respectively:
settings: core settingsaliases: aliases for interactive shellsunset: sourced to clear as many OpenFOAM environment settings as possiblempi: MPI communications library settingsensight: application settings for EnSightparaview: application settings for ParaViewscotch: application settings for compiling against scotchmetis: application settings for compiling against metis 5
The config.*/example directories contains various example configuration files for the corresponding shell:
compiler: an example of fine tuning ThirdParty compiler settingsopenmpi: an example of fine tuning openmpi settings for OpenFOAMparaview: an example of chaining to the standard config/paraview with a different ParaView_VERSIONprefs: an example of supplying alternative site-defined settings