solaris: - rename WM_ARCH from SunOS to solaris64 for consistency with wmake/rules - drop non-64 solaris from wmake/rules - remove automatic selection of FJMPI. This should be done in the bashrc or prefs.sh file instead. - remove old (likely inaccurate) exported flags, rely on wmake -show-xyz or user config instead darwin: - remove '-Ddarwin' from the exported WM_CFLAGS, WM_CXXFLAGS. Not used elsewhere (ThirdParty) |
||
---|---|---|
.. | ||
caseDicts | ||
codeTemplates | ||
config.csh | ||
config.sh | ||
templates | ||
thermoData | ||
bashrc | ||
cellModels | ||
controlDict | ||
cshrc | ||
README.md |
OpenFOAM Configuration
The main OpenFOAM settings are located in the parent etc/
directory.
Both POSIX (bash, dash,...) and csh shells are supported.
To configure OpenFOAM, source either the etc/bashrc
or the
etc/cshrc
file, as appropriate for your shell.
These source the following files in the config.sh/
or
config.csh/
directories:
setup
: finalize setup of OpenFOAM environment (called by bashrc,cshrc)settings
: core settingsaliases
: aliases for interactive shellsunset
: sourced to clear as many OpenFOAM environment settings as possiblempi
: MPI communications library settingsparaview
: application settings for ParaViewscotch
: application settings for compiling against scotchmetis
: application settings for compiling against metis
The config.*/example
directories contain additional 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