openfoam/etc
Mark Olesen 5bb5b3adfa BACKPORT: spack configuration patches (as per OpenFOAM-v1706)
etc/bashrc
  - improved robustness when sourcing
  - source top-level prefs.sh first (for sysadmin changes)

etc/config.*/settings
  - write job control information to the user directory
  - site/ directory under the OpenFOAM project dir, not its parent dir

etc/config.*/mpi
  - added USERMPI as place for spack mpi information

mgridgen, zoltan:
  - make location configurable

metis, scotch:
  - also check lib path (not just lib64)
2019-10-09 13:07:03 +02:00
..
caseDicts STYLE: Header updates 2016-12-23 11:15:32 +00:00
codeTemplates codedFvOption: Added cellSet support 2016-09-09 12:29:06 +01:00
config.csh BACKPORT: spack configuration patches (as per OpenFOAM-v1706) 2019-10-09 13:07:03 +02:00
config.sh BACKPORT: spack configuration patches (as per OpenFOAM-v1706) 2019-10-09 13:07:03 +02:00
templates GIT: Initial state after latest Foundation merge 2016-09-20 14:49:08 +01:00
thermoData Corrected names of compounds in thermoData to use upper/lower 2015-08-08 17:50:38 +01:00
bashrc BACKPORT: spack configuration patches (as per OpenFOAM-v1706) 2019-10-09 13:07:03 +02:00
cellModels DEFEATURE: remove samm, pro-am, prostar3 convertors (issue #204) 2016-08-05 11:05:30 +02:00
controlDict Merge branch 'feature-chunkingComms' into 'develop' 2016-12-14 15:18:42 +00:00
cshrc BACKPORT: spack configuration patches (as per OpenFOAM-v1706) 2019-10-09 13:07:03 +02:00
mergeHistory ENH: Added mergeHistory doc showing merges from Foundation line 2015-12-22 16:53:39 +00:00
README.org etc/README.org: Added mpi 2016-02-10 20:49:04 +00:00

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 settings
  • aliases: aliases for interactive shells
  • unset: sourced to clear as many OpenFOAM environment settings as possible
  • mpi: MPI communications library settings
  • ensight: application settings for EnSight
  • paraview: application settings for ParaView
  • scotch: application settings for compiling against scotch
  • metis: 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 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