openfoam/etc
Mark Olesen 09cf9d9963 CONFIG: adjust settings for solaris and darwin
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)
2019-04-12 11:06:45 +02:00
..
caseDicts Merge remote-tracking branch 'origin/master' into develop 2019-04-08 12:05:24 +02:00
codeTemplates BOT: Cleaned up header files 2019-02-06 12:28:23 +00:00
config.csh CONFIG: adjust settings for solaris and darwin 2019-04-12 11:06:45 +02:00
config.sh CONFIG: adjust settings for solaris and darwin 2019-04-12 11:06:45 +02:00
templates ENH: add directory support for foamCleanTutorials 2019-02-23 19:59:04 +01:00
thermoData thermophysicalModels: Changed specie thermodynamics from mole to mass basis 2017-02-17 11:22:14 +00:00
bashrc COMP: add wmake rules for Pgi compiler (#1234) 2019-03-11 15:56:40 +01:00
cellModels STYLE: Updating version to v1812 2018-12-19 18:07:52 +00:00
controlDict ENH: allow space char in fileName is now configurable (#1008) 2019-04-01 16:40:22 +02:00
cshrc COMP: add wmake rules for Pgi compiler (#1234) 2019-03-11 15:56:40 +01:00
README.md CONFIG: drop config support for deprecated ensight reader library 2019-01-17 10:53:44 +01:00

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 settings
  • aliases : aliases for interactive shells
  • unset : sourced to clear as many OpenFOAM environment settings as possible
  • mpi : MPI communications library settings
  • paraview : application settings for ParaView
  • scotch : application settings for compiling against scotch
  • metis : 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 settings
  • openmpi : an example of fine tuning openmpi settings for OpenFOAM
  • paraview : an example of chaining to the standard config/paraview with a different ParaView_VERSION
  • prefs: an example of supplying alternative site-defined settings