There is now only one -listSwitches argument available to the applications; -listUnsetSwitches and -listRegisteredSwitches have been removed. -listSwitches prints everything, now also including the values. It also categorises the output based on whether the switch has a default, if it has the same value as that default, and whether or not it is registered with a re-reader. The list of debug switches in etc/controlDict has been reduced to only the switches which have non-zero values. In general the list of valid switches varies per application and per library, so it is not possible to keep a single definitive list of all switches. The -listSwitches argument provides the definitive list on a per applicaton basis. Setting of defaults for named enum optimisation switches has been added.
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